Principal Token: sw-USUALUSDC+-1731480491

Unverified contract

Proxy

Active on Ethereum with 22 txns
Deployed by via 0xb91c22c9 at 20725682
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x0dbfda2a6d64b7f69ff7ea3f593c8b45982eed597dc78d6e5410119e0b649c5f
0x1db15eb84c19db6e36b2a83c18a24f0b9f8263e69928af806329b7c2d4a87185
0x20fe7ac6bb0056cd902608604906b36bc2944a5eef6bed0dda385014c830c7ff
0x09694d959e0b1683b53145bdd71fe7df0d40f58eea351e172bdc64cf54fecf87
0x4d5354b7f8f5ea289e0a4dbacacd492b881b488756ed99132931cb3ce19f363e
0x0b1284b22dc849807698e046c75034f4a1f373508bb0ddc28e7944c8bcda40ec
0xd18076d2ee366d2d179aee32348ae017bf166f0359d540821a47f7637928ace2
0xb4541067109c553cb120bdbd4b3248fbeaad0c23411412ff7ee38b2b66915c3d
0xfd8f4f20fa20832e7173ad8f25a2e3b6bae8bce6b9098597fda49c817d4cdcd2
0xf19fb2c9cdfef4ed9206e31e05761401d11f999d3eb868cbda1a64219620cffa

Functions
Getter at block 21226147
DOMAIN_SEPARATOR(view returns (bytes32)
0x724e543d21385b9d9e312b5212f059cb281f7cb156821cf1b3f95cfd6864f13c
authority(view returns (address)
0x7ea3097e2af59ea705398544e0f58eddb7bd1852
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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
 
totalAssets(view returns (uint256)
totalSupply(view returns (uint256)
103038429208744085084343
underlying(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToPrincipal(uint256 underlyingAmountview returns (uint256)
convertToUnderlying(uint256 principalAmountview returns (uint256)
flashFee(address _tokenuint256 _amountview returns (uint256)
getCurrentYieldOfUserInIBT(address _userview returns (uint256 _yieldOfUserInIBT)
maxDeposit(addressview returns (uint256)
maxFlashLoan(address _tokenview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
maxWithdrawIBT(address ownerview returns (uint256)
nonces(address ownerview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewDepositIBT(uint256 ibtsview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewRedeemForIBT(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
previewWithdrawIBT(uint256 ibtsview returns (uint256)
State-modifying
approve(address spenderuint256 valuereturns (bool)
beforeYtTransfer(address _fromaddress _to
claimFees(uint256 _minAssetsreturns (uint256 assets)
claimRewards(bytes _data
claimYield(address _receiveruint256 _minAssetsreturns (uint256 yieldInAsset)
claimYieldInIBT(address _receiveruint256 _minIBTreturns (uint256 yieldInIBT)
deposit(uint256 assetsaddress ptReceiveraddress ytReceiverreturns (uint256 shares)
deposit(uint256 assetsaddress ptReceiveraddress ytReceiveruint256 minSharesreturns (uint256 shares)
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
depositIBT(uint256 ibtsaddress ptReceiveraddress ytReceiverreturns (uint256 shares)
depositIBT(uint256 ibtsaddress ptReceiveraddress ytReceiveruint256 minSharesreturns (uint256 shares)
depositIBT(uint256 ibtsaddress receiverreturns (uint256 shares)
flashLoan(address _receiveraddress _tokenuint256 _amountbytes _datareturns (bool)
initialize(address _ibtuint256 _durationaddress _initialAuthority
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
redeem(uint256 sharesaddress receiveraddress owneruint256 minAssetsreturns (uint256 assets)
redeemForIBT(uint256 sharesaddress receiveraddress ownerreturns (uint256 ibts)
redeemForIBT(uint256 sharesaddress receiveraddress owneruint256 minIbtsreturns (uint256 ibts)
setAuthority(address newAuthority
setRewardsProxy(address _rewardsProxy
storeRatesAtExpiry(
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unPause(
updateYield(address _userreturns (uint256 updatedUserYieldInIBT)
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256 shares)
withdraw(uint256 assetsaddress receiveraddress owneruint256 maxSharesreturns (uint256 shares)
withdrawIBT(uint256 ibtsaddress receiveraddress ownerreturns (uint256 shares)
withdrawIBT(uint256 ibtsaddress receiveraddress owneruint256 maxSharesreturns (uint256 shares)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AuthorityUpdated(address authority
EIP712DomainChanged(
FeeClaimed(address indexed useruint256 indexed redeemedIbtsuint256 indexed receivedAssets
Initialized(uint64 version
Mint(address indexed fromaddress indexed touint256 amount
Paused(address account
RatesStoredAtExpiry(uint256 indexed ibtRateuint256 indexed ptRate
Redeem(address indexed fromaddress indexed touint256 amount
RewardsProxyChange(address indexed oldRewardsProxyaddress indexed newRewardsProxy
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
YTDeployed(address indexed yt
YieldClaimed(address indexed owneraddress indexed receiveruint256 indexed yieldInIBT
YieldUpdated(address indexed useruint256 indexed yieldInIBT
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessManagedInvalidAuthority(address authority
AccessManagedRequiredDelay(address calleruint32 delay
AccessManagedUnauthorized(address caller
AddressEmptyCode(address target
AddressError(
AddressInsufficientBalance(address account
BeaconNotSet(
ClaimRewardsFailed(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
ERC5143SlippageProtectionFailed(
EnforcedPause(
ExpectedPause(
FailedInnerCall(
FlashLoanCallbackFailed(
FlashLoanExceedsMaxAmount(
InsufficientBalance(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidDecimals(
InvalidInitialization(
MathOverflowedMulDiv(
NoRewardsProxy(
NotInitializing(
PTExpired(
PTNotExpired(
RateError(
RatesAtExpiryAlreadyStored(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
UnauthorizedCaller(