YT USD0++ 27MAR2025

Verified contract

Active on Ethereum with 897 txns
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
--
0x2cbd6938808b6d3cebaae9c4e77d6c271294bebbae8c754a694acc17c3ba00dc
From
0xb7daba10bf114b3bb3a7d86a7334bc73e28448acaa728b4bc97c78025dc0938c
0x95c8c2eec8a00ee59acea74946b5f74ae3d48b0660ea8eb13cff8f049ff5cc86
0x1c0d58279f44e89ae037811548f1a174abd6bac4ee5d0fe3551d2981e307e1c9
0xaef83f2d592601bb05f9108295121f162ef1aa93035cb8e7e5748f39e946d842
0x88284e4f6b04cb9a7ebb8fc1935b2a01deda83f5a1a0d12385d13ac5493cdee8
0xf01e7b73d9b8c88b50ff55e66fd0fce5dccb174391f492ec17fb9e67532cde46
0xbe0c2cf6cd3bd15cd38b348d85030f29e426de85b8aada01d033a09068aae810
From
0xc735eaf3433d3c57ad182ba88360a1093a5e09122535e7dad3e1850e3ca7c7cd
0xd651785e038ca6ac28a26057c224f504ba0f96d3f73db86e0933e0c1539457fa

Functions
Getter at block 21322017
PT(view returns (address)
0x5bae9a5d67d1ca5b09b14c91935f635cfbf3b685
SY(view returns (address)
0x52453825c287ddef62d647ce51c0979d27c461f7
decimals(view returns (uint8)
18
doCacheIndexSameBlock(view returns (bool)
true
expiry(view returns (uint256)
1743033600
factory(view returns (address)
0x35a338522a435d46f77be32c70e215b813d0e3ac
 
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
false
name(view returns (string)
YT USD0++ 27MAR2025
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=0, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock(view returns (uint128)
21321985
pyIndexStored(view returns (uint256)
1000000000000000000
syReserve(view returns (uint256)
136030782074232091151137299
symbol(view returns (string)
YT-USD0++-27MAR2025
totalSupply(view returns (uint256)
136030782074232091151137299
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview 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)
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
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(
YCExpired(
YCNoFloatingSy(
YCNotExpired(
YCNothingToRedeem(
YCPostExpiryDataNotSet(
YieldContractInsufficientSy(uint256 actualSyuint256 requiredSy