YT Mellow Steakhouse steakLRT 26SEP2024

Verified contract

Active on Ethereum with 185 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
--
0x066b252c7da29b87b2ba3f300ce81b4d004272129047c795e6590216322e9460
0x7918000629cd2ae2afc3a44c76d26f934d90d785ee63d876d869b9ec0368ed1a
0xb66f837fa61c1cb850aacd4fa5fb8ab01839f22aa1df894b2f87af1459480dfa
0x6daa06233dd53166d2cd9e707a02b3cac95c914582e93c1db128b2f57beebb4c
0x9c1f08994c96fe95c60be713c391f944e7110983b8b81ad0a1272a8db5d3cd8f
0x2214b627d57c2573a73aaca26e7731d07dee7e05c07a274efe18e9e76d910873
0xf9b01a0e19323f2c5b50c6ce5061fc757f15985a339a8a59bdc8cb3e8d645b7e
0xc799cfe61f96872b2c251b8ecd716c5f2fb2e8a2e00e6322f016199204f9921a
0x038415ce2d6d8bcbfb50992be5f543f35f014a57b57bc6264e285e8f4d87cd18
0x9780165ce688f58245f9e2958cf11a6f773615b89e566a762576b811d73705e9

Functions
Getter at block 21201803
PT(view returns (address)
0x16e0ea59836581745ab6a3e369f19d7d40006f94
SY(view returns (address)
0x998a1d40f097fd36bff15ca78fc0673bd2a8280c
decimals(view returns (uint8)
18
doCacheIndexSameBlock(view returns (bool)
true
expiry(view returns (uint256)
1727308800
factory(view returns (address)
0x273b4bfa3bb30fe8f32c467b5f0046834557f072
getPostExpiryData(view returns (uint256 firstPYIndexuint256 totalSyInterestForTreasuryuint256[] firstRewardIndexesuint256[] userRewardOwed)
(firstPYIndex=1000000000000000000, totalSyInterestForTreasury=0, firstRewardIndexes=[], userRewardOwed=[])
getRewardTokens(view returns (address[])
[]
isExpired(view returns (bool)
true
name(view returns (string)
YT Mellow Steakhouse steakLRT 26SEP2024
postExpiry(view returns (uint128 firstPYIndexuint128 totalSyInterestForTreasury)
(firstPYIndex=1000000000000000000, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock(view returns (uint128)
21109921
pyIndexStored(view returns (uint256)
1000000000000000000
syReserve(view returns (uint256)
17655573653152363676
symbol(view returns (string)
YT-steakLRT-26SEP2024
totalSupply(view returns (uint256)
2370665715642309764492
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