PendleYieldToken

Verified contract

Active on Ethereum with 20,139 txns
Deployed by via 0x78f9f351 at 18969532
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
--
0x5e6e2bb3690f5e4813c85c4f1c6971718f239f3d03688f91c7e9d62872ff6e75
0x20f19f3d76ef63ab6b41781f3fbbef159e94a214e493747c9966a4dc28eb4a65
0x7d68e00977cdb88be8a411480fd020b5a9c074d8f0c837a4d753c2a78321fd89
0x7d7784826487b5d7af09debf4f8cea3558b56af95df59e68f006a8c834e410e9
0x8b618c4ebd99e5a3ecb088ea90bf89b7f753c51b6d999830386979f83030e752
0xfbf41a02c5bff439e6a6125991a51384ae6ab127c697dc1cfdb37497461a1c6d
0xbe4dc75b2ff3ef1e9b54a688d177b8ab56b456f01c6116e5c64e5fd1d618a176
0xf72ad976cc4c53891b72337f527a51b26931c298ff181ea9c3b03cb943070240
0x4b36ed56d012fd8e6e3fa06f5729c990ea34b5f1fa7ed8c84ece8cc04d633f02
0xd20ed3e7f7446789b8be104f0ccce7bf8deb112bea3097759bc7ef2771fe3822

Functions
Getter at block 21159756
DOMAIN_SEPARATOR(view returns (bytes32)
0x8ca0e73082782a9326e39d97a2993d870deb5cd2316b2caeb0a15be6ce2fb278
PT(view returns (address)
0xc69ad9bab1dee23f4605a82b3354f8e40d1e5966
SY(view returns (address)
0xac0047886a985071476a1186be89222659970d65
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 ether.fi weETH 27JUN2024, version=1, chainId=1, verifyingContract=0xfb35fd0095dd1096b1ca49ad44d8c5812a201677, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1719446400
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1041547085334874407, totalSyInterestForTreasury=7093798025168638406, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT ether.fi weETH 27JUN2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1041547085334874407, totalSyInterestForTreasury=7093798025168638406)
pyIndexLastUpdatedBlock(view returns (uint128)
21159571
pyIndexStored(view returns (uint256)
1052438786108346552
syReserve(view returns (uint256)
2366080504941072712199
symbol(view returns (string)
YT-weETH-27JUN2024
totalSupply(view returns (uint256)
413640320096489026814449
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