YT Ethena sUSDE 26DEC2024

Verified contract

Active on Ethereum with 735 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
--
ERC-20
--
0x5254b7615b69e13698732758085d4f6eadcb301bed791e8a773225c4fefc5bb6
0x800195737b5ff0af3f4a95bf5f5d70619568f09f54f70549a94f9ea97b0a771d
0x620b8ab9620d531a420cebe416bbc2bb7adf87aba7aa11d779a8ba4ed186ba2b
0xaa7b0e312c343444ae9cfddd132aca364cecc26ea7e488764042f17cacd27163
0x29ff4bfc8ef13be68b30565f81b5304dcd1e2657fea2a77179ca22cf6325056c
0x1941f781729c0e7199b9a86d790b9b3a66c411fa4e96b4a86acbcdfd088b8375
0xcb07a32cae71432841e28c72f76af7e50538f3f98cdeec53d336cea688193864
0x836d9b04e4bb68f5284c8949d0bc03621e47c6aa3cae549a4422aab43571da10
0x0b67f737f1f23306c7bbaac9070f926e249390108a5838f556129b1b6fec51ac
0xd7202ee042157fe52a3051b09a1f29250a70329614a8682b54832c75534f8a01

Functions
Getter at block 21200276
PT(view returns (address)
0xee9085fc268f6727d5d4293dbabccf901ffdcc29
SY(view returns (address)
0xd288755556c235afffb6316702719c32bd8706e8
decimals(view returns (uint8)
18
doCacheIndexSameBlock(view returns (bool)
true
expiry(view returns (uint256)
1735171200
factory(view returns (address)
0x273b4bfa3bb30fe8f32c467b5f0046834557f072
 
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
false
name(view returns (string)
YT Ethena sUSDE 26DEC2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=0, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock(view returns (uint128)
21200242
pyIndexStored(view returns (uint256)
1118607714267862608
syReserve(view returns (uint256)
451734036495275592453988748
symbol(view returns (string)
YT-sUSDE-26DEC2024
totalSupply(view returns (uint256)
504173645723309977494401223
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