PendleYieldToken

Verified contract

Active on Ethereum with 10,081 txns
Deployed by via 0xf10eb7ed at 19417135
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
--
0x202c1f6be10416a4c33b6a3af477a0c8645745cb7eec4fe389ee090045ed3952
0x7d8b9b2f3d0cbcc026bdd4fcc01d015e582504eaf60a12f56e6faa3932c10029
0x13eba7e1c18ef357aa6c6aec09a3a92c2e6c35c24ea4942107e3f55ab9e0243a
0xeaf30bd954b3678d03804230fb8f55d50cdd0509840652ba7e47ac709bf88f3e
0x3845237c927436a3c59d5032002237c83e5ec44b6dd31dad75602322251dd219
0x38fce38f9629c55f91330d04464920fec8fd90001c4232e388ca37f4c5909fac
0x6de288c382f38a2fcc61a71a3feae93a2adfbf6ed444d7dc238389a7d0a541da
0x40a25d26283b264d26eaa4f1a8d008ff9aa06ebf493c8dee9e1a2c323c36bd26
0x424d4f31a1543b2e7861650fe35a504d0056276c3c8c4542e94da4ac56068d15
0x967dde0fed2c09761d9e66dbd0451001b9b6087e7ff77fb9a62cf530ba4fa7f4

Functions
Getter at block 21161449
DOMAIN_SEPARATOR(view returns (bytes32)
0x48ab3b48b7d96b6d354b711612705c4db7d2f53681e2654b230436d46bb8b787
PT(view returns (address)
0xddfd5e912c1949b4bdb12579002c44b7a83f9e88
SY(view returns (address)
0x7a493be5c2ce014cd049bf178a1ac0db1b434744
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 Zircuit Staking ezETH 27JUN2024, version=1, chainId=1, verifyingContract=0x98601e27d41ccff643da9d981dc708cf9ef1f150, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1719446400
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1012634346421646931, totalSyInterestForTreasury=321319076163024813, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Zircuit Staking ezETH 27JUN2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1012634346421646931, totalSyInterestForTreasury=321319076163024813)
pyIndexLastUpdatedBlock(view returns (uint128)
21158070
pyIndexStored(view returns (uint256)
1026667898221524136
syReserve(view returns (uint256)
308864876713960185364
symbol(view returns (string)
YT-zs-ezETH-27JUN2024
totalSupply(view returns (uint256)
133918524634350220217075
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