YT Kelp Gain 26DEC2024

Verified contract

Active on Ethereum with 560 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
--
0xbd253be1927e8b0ed6d6507f7a5ed82222a2bd78c1c9e9d4f4ade0cedac0be2f
0xff78f3901f314df5d2d8a5ef62b6690f51777578e842c30144530b00d6fcc76a
0x34a8113924396cd572d46f9bcf11a1ba557c6f7308707b6c301e26064c65bba4
0x4a1ce3a32bb339168acf1c2accbbbc013cdff2148d9cb97c7f088a8409f7a715
0x547002c3c7b6a9816b7dcef5e760069b29be7de4061a9533113e979551b859b9
0x183c85ba94095501adf2472aa0714a5a53ee879b95fded2ebe8d98a0f94e8822
0x33968ebc23d0321db4076c5827f680d5067cfd233ed5b25b710096c1fade4782
From
0x77b1745dffeb678ab231171dda721445a60e05f26699908de606644888da419f
0x6c2d83d3c405be2c7ad2875864d555581db8778b908eb9aed9a8dce00fb89977
0x7e82a00f53f981c5b4752321d2d4a3ae1f1264fe6c3568442d40cd8e0ad3c48e

Functions
Getter at block 21225359
PT(view returns (address)
0x7aa68e84bcd8d1b4c9e10b1e565db993f68a3e09
SY(view returns (address)
0xb1b9150f2085f6a553b547099977181ca802752a
decimals(view returns (uint8)
18
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 Kelp Gain 26DEC2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=0, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock(view returns (uint128)
21223207
pyIndexStored(view returns (uint256)
1025536091445441278
syReserve(view returns (uint256)
11371113166743579166141
symbol(view returns (string)
YT-agETH-26DEC2024
totalSupply(view returns (uint256)
11635987274097396494953
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