PendleYieldToken

Verified contract

Active on Ethereum with 1,378 txns
Deployed by via 0x3048d26d at 19910457
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
--
0xb0fece84cf862b38d36d0d7bbb6f2db2d879047e79da3935c57cd9b0507f0224
0x4076a4576a97e43f95d8a0e48bfb9355c9163f04e0afe55ce2bc0aacc5518f31
0x9407f29b7935489264b00ce135880a6d583e4aed6ba68e3131777dd78afeee07
0xc703993906faae6bad4e73e09e72bf5cfaff9af4bb5bc5994b5044f0899206f6
0x30e97441ddd689a7da766aafcb9a48c3b9a47f7249d2cfaeb47ba52fae6cea51
0x7a932d9ccf7cb5caed0a452ddaaff5657634da9311e771b01161000680b38952
0xd3dad029aa9d3f7e52b9877984e54254c1f6baf6da2e66d588fe1683d360254d
0xbd2abef47e8e81eaa9830ac5504ba8b02198a4b4bd5e47713b7fabf4ac95fbad
0x46e60e21536448394023e5d7748a5d7a1b3e6ba925a7b2559de59ee7c3684b28
0x90424b6bb8e2044ff39ffc7d234387c77529c6b06f6d193cdf02f733d5f7f920

Functions
Getter at block 21318996
DOMAIN_SEPARATOR(view returns (bytes32)
0xa57cc8eaca3975d558076009587a0792ca1d902668f823ae55a6aafb70a65122
PT(view returns (address)
0xd4e75971eaf78a8d93d96df530f1fff5f9f53288
SY(view returns (address)
0x253008ba4ae2f3e6488dc998a5321d4eb1a0c905
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 Puffer ETH 26SEP2024, version=1, chainId=1, verifyingContract=0x1a65eb80a2ac3ea6e41d456ddd6e9cc5728bef7c, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1727308800
factory(view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1020796314577142830, totalSyInterestForTreasury=745327992352742779, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Puffer ETH 26SEP2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1020796314577142830, totalSyInterestForTreasury=745327992352742779)
pyIndexLastUpdatedBlock(view returns (uint128)
21310262
pyIndexStored(view returns (uint256)
1030650691254979859
syReserve(view returns (uint256)
278453846628824639522
symbol(view returns (string)
YT-pufETH-26SEP2024
totalSupply(view returns (uint256)
70016133441667041155813
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