PendleYieldToken
Verified contract
Active on
Ethereum with 207 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SY-amphrETH | ERC-20 | 139.044924 | -- | -- | |
ERC-20 | 21.496385 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20966694 | a month ago | | | 0 | 0.00033535035 | |
| 20852092 | 2 months ago | | | 0 | 0.00014345270 | |
| 20773891 | 2 months ago | | | 0 | 0.00012735827 | |
| 20773653 | 2 months ago | | | 0 | 0.00025587622 | |
| 20773648 | 2 months ago | | | 0 | 0.00024844175 | |
| 20699124 | 2 months ago | | | 0 | 0.00011143076 | |
| 20625554 | 3 months ago | | | 0 | 0.000076979437 | |
| 20625277 | 3 months ago | | | 0 | 0.000039253600 | |
| 20625273 | 3 months ago | | | 0 | 0.000036797600 | |
| 20582901 | 3 months ago | | | 0 | 0.000025488733 |
ABI
ABI objects
Getter at block 21225653
DOMAIN_SEPARATOR() view returns (bytes32)
0xb162df6a63473293a813449963dfb733dd513e6938e44f9e41c20243d0f88bcf
PT() view returns (address)
0x4ca48e7dd3970f96ee74d6a573ca5678ea1eb31b
SY() view returns (address)
0x198139f26d42f2028c10427a161e2d0e8bb00346
decimals() view returns (uint8)
18
doCacheIndexSameBlock() view returns (bool)
true
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=YT Mellow amphrETH 25JUL2024, version=1, chainId=1, verifyingContract=0x4da430a0b5b22705acfcc1bd5ee15603861ed98b, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry() view returns (uint256)
1721865600
factory() view returns (address)
0xdf3601014686674e53d1fa52f7602525483f9122
getPostExpiryData() view returns (uint256 firstPYIndex, uint256 totalSyInterestForTreasury, uint256[] firstRewardIndexes, uint256[] userRewardOwed)
(firstPYIndex=1000000000000000000, totalSyInterestForTreasury=0, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens() view returns (address[])
[]
isExpired() view returns (bool)
true
name() view returns (string)
YT Mellow amphrETH 25JUL2024
postExpiry() view returns (uint128 firstPYIndex, uint128 totalSyInterestForTreasury)
(firstPYIndex=1000000000000000000, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock() view returns (uint128)
21192973
pyIndexStored() view returns (uint256)
1000000000000000000
syReserve() view returns (uint256)
139044923865522477090
symbol() view returns (string)
YT-amphrETH-25JUL2024
totalSupply() view returns (uint256)
7611432981642870125603
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
nonces(address owner) view returns (uint256)
userInterest(address) view returns (uint128 index, uint128 accrued)
userReward(address, address) view returns (uint128 index, uint128 accrued)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
mintPY(address receiverPT, address receiverYT) returns (uint256 amountPYOut)
mintPYMulti(address[] receiverPTs, address[] receiverYTs, uint256[] amountSyToMints) returns (uint256[] amountPYOuts)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
pyIndexCurrent() returns (uint256 currentIndex)
redeemDueInterestAndRewards(address user, bool redeemInterest, bool redeemRewards) returns (uint256 interestOut, uint256[] rewardsOut)
redeemInterestAndRewardsPostExpiryForTreasury() returns (uint256 interestOut, uint256[] rewardsOut)
redeemPY(address receiver) returns (uint256 amountSyOut)
redeemPYMulti(address[] receivers, uint256[] amountPYToRedeems) returns (uint256[] amountSyOuts)
rewardIndexesCurrent() returns (uint256[])
setPostExpiryData()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed caller, address indexed receiver, uint256 amountPYToRedeem, uint256 amountSyOut)
CollectInterestFee(uint256 amountInterestFee)
CollectRewardFee(address indexed rewardToken, uint256 amountRewardFee)
EIP712DomainChanged()
Mint(address indexed caller, address indexed receiverPT, address indexed receiverYT, uint256 amountSyToMint, uint256 amountPYOut)
NewInterestIndex(uint256 indexed newIndex)
RedeemInterest(address indexed user, uint256 interestOut)
RedeemRewards(address indexed user, uint256[] amountRewardsOut)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(address _SY, address _PT, string _name, string _symbol, uint8 __decimals, uint256 _expiry, bool _doCacheIndexSameBlock)
This contract contains no fallback and receive objects.
ArrayEmpty()
ArrayLengthMismatch()
InvalidShortString()
StringTooLong(string str)
YCExpired()
YCNoFloatingSy()
YCNotExpired()
YCNothingToRedeem()
YCPostExpiryDataNotSet()
YieldContractInsufficientSy(uint256 actualSy, uint256 requiredSy)