PendleYieldToken

Verified contract

Active on Ethereum with 1,625 txns
Deployed by via 0x467c0165 at 19909022
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
ERC-20
--
ERC-20
--
ERC-20
--
0x7f24ea7ccc63c3b214495b4d5bcd72c922a192eb83834b3f333f348c8f37d1e1
0x2d2effcc01d0b8f8dc9d6f3c173d6b8a1be33c5e5bb49c2674788484387597a0
0x62ec81621b9d297d0cd0acad3941b45d9f08621672648b43f128aa1d89f77f1b
0xab5c703749ba975332d013671f2259e213b9b47d4b62ba75432edec8d3928928
0xd1944e808c39ff4f70f043e72dfc68d6621373fc74006df99bcfbca18e05306f
0x4cb3a13fc855e252499d6f5ee3f33a5cfc47d13c89f3be899c92d283b596c119
0x75622e3f526a2bc09f94df6700330f095128a6e813df5522e506cb33fd96dc57
0xe059f88bed700de9121edb65d9e31005858a0977b609d2793706bce667074ba0
0xe35ae3153a730b74027845821a3632344dc562bd2c6324ec62bb797d82e54fc1
0x205cadd3007e3841b6396bf0925382d11282941f1dd08c997f3fbf63f94c1662

Functions
Getter at block 21200743
DOMAIN_SEPARATOR(view returns (bytes32)
0xff56777bcea01a234b148aafaaf1927e528a1ad9ef6e5e242dacdb84cce72d07
PT(view returns (address)
0x6c9f097e044506712b58eac670c9a5fd4bccef13
SY(view returns (address)
0x4139cdc6345affbac0692b43bed4d059df3e6d65
decimals(view returns (uint8)
18
doCacheIndexSameBlock(view returns (bool)
true
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=YT Ethena sUSDE 26SEP2024, version=1, chainId=1, verifyingContract=0xdc02b77a3986da62c7a78fed73949c9767850809, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1727308800
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1102489967962218278, totalSyInterestForTreasury=69178518854005725791977, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Ethena sUSDE 26SEP2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1102489967962218278, totalSyInterestForTreasury=69178518854005725791977)
pyIndexLastUpdatedBlock(view returns (uint128)
21197922
pyIndexStored(view returns (uint256)
1118390061038006978
syReserve(view returns (uint256)
1217135218466200469200019
symbol(view returns (string)
YT-sUSDE-26SEP2024
totalSupply(view returns (uint256)
455790177915984992857305828
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
nonces(address ownerview returns (uint256)
userInterest(addressview returns (uint128 indexuint128 accrued)
userReward(addressaddressview returns (uint128 indexuint128 accrued)
State-modifying
approve(address spenderuint256 amountreturns (bool)
mintPY(address receiverPTaddress receiverYTreturns (uint256 amountPYOut)
mintPYMulti(address[] receiverPTsaddress[] receiverYTsuint256[] amountSyToMintsreturns (uint256[] amountPYOuts)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
pyIndexCurrent(returns (uint256 currentIndex)
redeemDueInterestAndRewards(address userbool redeemInterestbool redeemRewardsreturns (uint256 interestOutuint256[] rewardsOut)
redeemInterestAndRewardsPostExpiryForTreasury(returns (uint256 interestOutuint256[] rewardsOut)
redeemPY(address receiverreturns (uint256 amountSyOut)
redeemPYMulti(address[] receiversuint256[] amountPYToRedeemsreturns (uint256[] amountSyOuts)
rewardIndexesCurrent(returns (uint256[])
setPostExpiryData(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed calleraddress indexed receiveruint256 amountPYToRedeemuint256 amountSyOut
CollectInterestFee(uint256 amountInterestFee
CollectRewardFee(address indexed rewardTokenuint256 amountRewardFee
EIP712DomainChanged(
Mint(address indexed calleraddress indexed receiverPTaddress indexed receiverYTuint256 amountSyToMintuint256 amountPYOut
NewInterestIndex(uint256 indexed newIndex
RedeemInterest(address indexed useruint256 interestOut
RedeemRewards(address indexed useruint256[] amountRewardsOut
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address _SYaddress _PTstring _namestring _symboluint8 __decimalsuint256 _expirybool _doCacheIndexSameBlock
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ArrayEmpty(
ArrayLengthMismatch(
InvalidShortString(
StringTooLong(string str
YCExpired(
YCNoFloatingSy(
YCNotExpired(
YCNothingToRedeem(
YCPostExpiryDataNotSet(
YieldContractInsufficientSy(uint256 actualSyuint256 requiredSy