PendleYieldToken

Verified contract

Active on Ethereum with 3,796 txns
Deployed by via 0xf4f3c369 at 19516872
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
--
0x03c48c4d9ca860e805261c8b0850a49a1b1b0f69ba651531981909a8c5cd7e4f
0xe5a90dbd664a31976301edacd666400e926e0b183a67fbf0bd57e593c70c4338
0xb154930beaa271206e8ffc92b43f3a5ed797e98d1a85325c545a1eb631cafa6c
0xcc92a65854960a0273483d31ddfcab42cd35fc6c4348adbb8616b67e882554a4
0xea06ad64e25dbfb47680471d74f19eb210d317a5c079976be22a8da7fd06838c
0x7038f63c38e82cae6dbe2c52703f022e3d0e649a534876d670be9933bfa1cb70
0xf9bc307c6631153c7ad77c80334c188e16e875bd2d969ec14cdc440e790d12a8
0x78e8a8330e747d5a893881cc5914fba3b3c58c14507612c6fe49e823639f33b8
0x99e57e551851d15145da2b48dc6143a6a42d2c9bbdb9cc13acce266846f6141a
0xf50a40543d6e260e91c62af8d1da1925b95a59dea6a752ee1576a45d8cd0e99f

Functions
Getter at block 21169847
DOMAIN_SEPARATOR(view returns (bytes32)
0xc363758db0e3d3af2478f81e6d3451285d3eeea041553e5825fec06ad9d2c37b
PT(view returns (address)
0x4ae5411f3863cdb640309e84cedf4b08b8b33fff
SY(view returns (address)
0xd7df7e085214743530aff339afc420c7c720bfa7
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 Ether.fi weETH 27JUN2024, version=1, chainId=1, verifyingContract=0x7c2d26182adeef96976035986cf56474fec03bda, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1719446400
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1041547085334874407, totalSyInterestForTreasury=437551010516277914, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Zircuit Ether.fi weETH 27JUN2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1041547085334874407, totalSyInterestForTreasury=437551010516277914)
pyIndexLastUpdatedBlock(view returns (uint128)
21156109
pyIndexStored(view returns (uint256)
1052404713906591740
syReserve(view returns (uint256)
96688205047911892709
symbol(view returns (string)
YT-zs-weETH-27JUN2024
totalSupply(view returns (uint256)
95438992195367579196937
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