Principal Token: sw-USUALUSDC+-1731480491
Unverified contract
Proxy
Active on
Ethereum with 22 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
sw-USUALUSDC+ | ERC-20 | 102.060065K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21222856 | 11 hours ago | | | 0 | 0.0018759787 | |
| 21206873 | 3 days ago | | | 0 | 0.0010889546 | |
| 21206381 | 3 days ago | | | 0 | 0.0090654617 | |
| 21205511 | 3 days ago | | | 0 | 0.00097565063 | |
| 21205505 | 3 days ago | | | 0 | 0.00094539179 | |
| 21200000 | 4 days ago | | | 0 | 0.0016945607 | |
| 21195324 | 4 days ago | | | 0 | 0.0025073975 | |
| 21192599 | 5 days ago | | | 0 | 0.0012846603 | |
| 21192327 | 5 days ago | | | 0 | 0.0017081114 | |
| 21186184 | 6 days ago | | | 0 | 0.0036934081 |
ABI
ABI objects
Getter at block 21226147 totalAssets() view returns (uint256)
DOMAIN_SEPARATOR() view returns (bytes32)
0x724e543d21385b9d9e312b5212f059cb281f7cb156821cf1b3f95cfd6864f13c
authority() view returns (address)
0x7ea3097e2af59ea705398544e0f58eddb7bd1852
decimals() view returns (uint8)
18
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=Principal Token: sw-USUALUSDC+-1731480491, version=1, chainId=1, verifyingContract=0x4ee81b93cf490f7157144c82ff07557cffd2b86b, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getDuration() view returns (uint256)
5443200
getIBT() view returns (address)
0x1b56e30b6efd7cfde46ee3e29b851b9094d5810b
getIBTRate() view returns (uint256)
1027299000000000000000000000
getIBTUnit() view returns (uint256)
1000000000000000000
getPTRate() view returns (uint256)
1000000000000000000000000000
getTokenizationFee() view returns (uint256)
0
getTotalFeesInIBT() view returns (uint256)
66684541528573105148
getUnclaimedFeesInIBT() view returns (uint256)
66684541528573105148
getYT() view returns (address)
0x3b53a1a02f54c77aef429e8750b1722ef8ce9fd6
isConsumingScheduledOp() view returns (bytes4)
0x00000000
maturity() view returns (uint256)
1731480491
name() view returns (string)
Principal Token: sw-USUALUSDC+-1731480491
paused() view returns (bool)
false
symbol() view returns (string)
PT-sw-USUALUSDC+-1731480491
totalSupply() view returns (uint256)
103038429208744085084343
underlying() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertToPrincipal(uint256 underlyingAmount) view returns (uint256)
convertToUnderlying(uint256 principalAmount) view returns (uint256)
flashFee(address _token, uint256 _amount) view returns (uint256)
getCurrentYieldOfUserInIBT(address _user) view returns (uint256 _yieldOfUserInIBT)
maxDeposit(address) view returns (uint256)
maxFlashLoan(address _token) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
maxWithdrawIBT(address owner) view returns (uint256)
nonces(address owner) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewDepositIBT(uint256 ibts) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256)
previewRedeemForIBT(uint256 shares) view returns (uint256)
previewWithdraw(uint256 assets) view returns (uint256)
previewWithdrawIBT(uint256 ibts) view returns (uint256)
State-modifying
Events approve(address spender, uint256 value) returns (bool)
beforeYtTransfer(address _from, address _to)
claimFees(uint256 _minAssets) returns (uint256 assets)
claimRewards(bytes _data)
claimYield(address _receiver, uint256 _minAssets) returns (uint256 yieldInAsset)
claimYieldInIBT(address _receiver, uint256 _minIBT) returns (uint256 yieldInIBT)
deposit(uint256 assets, address ptReceiver, address ytReceiver) returns (uint256 shares)
deposit(uint256 assets, address ptReceiver, address ytReceiver, uint256 minShares) returns (uint256 shares)
deposit(uint256 assets, address receiver) returns (uint256 shares)
depositIBT(uint256 ibts, address ptReceiver, address ytReceiver) returns (uint256 shares)
depositIBT(uint256 ibts, address ptReceiver, address ytReceiver, uint256 minShares) returns (uint256 shares)
depositIBT(uint256 ibts, address receiver) returns (uint256 shares)
flashLoan(address _receiver, address _token, uint256 _amount, bytes _data) returns (bool)
initialize(address _ibt, uint256 _duration, address _initialAuthority)
pause()
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)
redeem(uint256 shares, address receiver, address owner, uint256 minAssets) returns (uint256 assets)
redeemForIBT(uint256 shares, address receiver, address owner) returns (uint256 ibts)
redeemForIBT(uint256 shares, address receiver, address owner, uint256 minIbts) returns (uint256 ibts)
setAuthority(address newAuthority)
setRewardsProxy(address _rewardsProxy)
storeRatesAtExpiry()
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
unPause()
updateYield(address _user) returns (uint256 updatedUserYieldInIBT)
withdraw(uint256 assets, address receiver, address owner) returns (uint256 shares)
withdraw(uint256 assets, address receiver, address owner, uint256 maxShares) returns (uint256 shares)
withdrawIBT(uint256 ibts, address receiver, address owner) returns (uint256 shares)
withdrawIBT(uint256 ibts, address receiver, address owner, uint256 maxShares) returns (uint256 shares)
Approval(address indexed owner, address indexed spender, uint256 value)
AuthorityUpdated(address authority)
EIP712DomainChanged()
FeeClaimed(address indexed user, uint256 indexed redeemedIbts, uint256 indexed receivedAssets)
Initialized(uint64 version)
Mint(address indexed from, address indexed to, uint256 amount)
Paused(address account)
RatesStoredAtExpiry(uint256 indexed ibtRate, uint256 indexed ptRate)
Redeem(address indexed from, address indexed to, uint256 amount)
RewardsProxyChange(address indexed oldRewardsProxy, address indexed newRewardsProxy)
Transfer(address indexed from, address indexed to, uint256 value)
Unpaused(address account)
YTDeployed(address indexed yt)
YieldClaimed(address indexed owner, address indexed receiver, uint256 indexed yieldInIBT)
YieldUpdated(address indexed user, uint256 indexed yieldInIBT)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessManagedInvalidAuthority(address authority)
AccessManagedRequiredDelay(address caller, uint32 delay)
AccessManagedUnauthorized(address caller)
AddressEmptyCode(address target)
AddressError()
AddressInsufficientBalance(address account)
BeaconNotSet()
ClaimRewardsFailed()
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
ERC2612ExpiredSignature(uint256 deadline)
ERC2612InvalidSigner(address signer, address owner)
ERC5143SlippageProtectionFailed()
EnforcedPause()
ExpectedPause()
FailedInnerCall()
FlashLoanCallbackFailed()
FlashLoanExceedsMaxAmount()
InsufficientBalance()
InvalidAccountNonce(address account, uint256 currentNonce)
InvalidDecimals()
InvalidInitialization()
MathOverflowedMulDiv()
NoRewardsProxy()
NotInitializing()
PTExpired()
PTNotExpired()
RateError()
RatesAtExpiryAlreadyStored()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)
UnauthorizedCaller()