PendleYieldToken

Verified contract

Active on Ethereum with 1,464 txns
Deployed by via 0xb28d581e at 19516908
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
--
0xa6aaf7165e46477323a8e0fde7a9be6d71477423990a59be728a35b0c2ace4ee
0xe656ee970f366af22ef3f725a6a4d18a75d3058b02146359920fea3a2bd39bc3
0x11fa724fe06b9a363d9b4ff0eae96a2ad8d3606683259766a5431eae5d63b57f
0xb93cd2c375db15098f00a47e7d4e11f46f16801cae4096a24f31f309041c06fa
0x67ca07c80b30ab64b8defedd8a570e3b2f9d3605ddc88e0e18fd803c6c9b5b82
0x1d5bb3c0bdc1c3e916792b850182e96134dd92b03a9ccaea9457253ea72227c6
0x823f9aa30fe1abe60e98b096af76be44eb2bcfb99d4f27ecb0babdbafdbe61de
0x7fa482034fabf88a73141616b12ddf74fbd2983483349e3639868692b650afd0
0xd5c71f19d3a47370932a06c3af1f975c78fb0597fb1e084485ec83490dc1128e
0x34066db4647c203a87b8f5b0301f2359e14eacccfca1c47b1424c6dbc05bc136

Functions
Getter at block 21200587
DOMAIN_SEPARATOR(view returns (bytes32)
0x7c1213796fdb61a4014432c1cbc9a81c880eb0154ba8bcec67056b251834ad1b
PT(view returns (address)
0x094be6bd31d7b860f7d2c1f280fd09f0463d7e67
SY(view returns (address)
0x34349c5569e7b846c3558961552d2202760a9789
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 rsETH 27JUN2024, version=1, chainId=1, verifyingContract=0x029aad400f6092dc735a65be95102efcc2fe64bf, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1719446400
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1014647535937076997, totalSyInterestForTreasury=85696597712585792, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Zircuit Staking rsETH 27JUN2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1014647535937076997, totalSyInterestForTreasury=85696597712585792)
pyIndexLastUpdatedBlock(view returns (uint128)
21188111
pyIndexStored(view returns (uint256)
1029160629209837149
syReserve(view returns (uint256)
63807493839952230986
symbol(view returns (string)
YT-zs-rsETH-27JUN2024
totalSupply(view returns (uint256)
24884153558566898632096
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