YT ether.fi eBTC 26DEC2024

Verified contract

Active on Ethereum with 8,299 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
--
0xa6d698ea5e64c842fd9772cb70d0a68a54facb6db40f5411e47040cfc139dcbb
0x92cb3f41d99661b32899aced6d7bcda7b8367b71edfb5ad2d4b1410ba4e31450
0x2b0038b3066c8be5d138d9114f2c31e190ea0119f957be571a923c2aaf0bc99e
0x649f52becf255a0cdf287fc19614ca074a31960aa7fce1c6874da6df45dccff5
0xd6aa5ed241dbf553f0568a263178addd2337a8f5c869c042ecc97563c39d9d7e
0x4e2e46c2bf7f950cdc7d231fbbeace9e2ba524ae8441fe3155527f05e4d995ab
0x58c95687f11a06f5aa5160810e2607175481e0550b84ea212ef107c140ff4aef
0xc7ddc160d61a708a7c961028e20bf954723a1f145f3269d05dbd2b6d8d745a59
0xb5e153ebabbdaed5df84afa2aeb9bc997b9b1de675e7ece61a36ca2140d866f3
0xc4be86f3376a78cf4caf7a13e4f745aa6d79643ef68517cfc8892c1dab29004d

Functions
Getter at block 21224449
PT(view returns (address)
0xb997b3418935a1df0f914ee901ec83927c1509a0
SY(view returns (address)
0x7acdf2012aac69d70b86677fe91eb66e08961880
decimals(view returns (uint8)
8
doCacheIndexSameBlock(view returns (bool)
true
expiry(view returns (uint256)
1735171200
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 ether.fi eBTC 26DEC2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=0, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock(view returns (uint128)
21224295
pyIndexStored(view returns (uint256)
1000000000000000000
syReserve(view returns (uint256)
146018834191
symbol(view returns (string)
YT-EBTC-26DEC2024
totalSupply(view returns (uint256)
146018834191
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