YT Corn SolvBTC Babylon 26DEC2024
Verified contract
Active on
Ethereum with 696 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SY-corn-SolvBTC.BBN | ERC-20 | 1.096252K | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21213835 | 14 hours ago | | | 0 | 0.00052787926 | |
| 21212604 | 18 hours ago | | | 0 | 0.00048298159 | |
| 21207406 | a day ago | | | 0 | 0.00059217953 | |
| 21206976 | 2 days ago | | | 0 | 0.00036360587 | |
| 21205905 | 2 days ago | | | 0 | 0.00042334579 | |
| 21205788 | 2 days ago | | | 0 | 0.00026665978 | |
| 21205610 | 2 days ago | | | 0 | 0.00042486858 | |
| 21205574 | 2 days ago | | | 0 | 0.00098132460 | |
| 21205572 | 2 days ago | | | 0 | 0.0010573785 | |
| 21205569 | 2 days ago | | | 0 | 0.0010257809 |
ABI
ABI objects
Getter at block 21217976 getPostExpiryData() view returns (uint256 firstPYIndex, uint256 totalSyInterestForTreasury, uint256[] firstRewardIndexes, uint256[] userRewardOwed)
PT() view returns (address)
0x23e479ddcda990e8523494895759bd98cd2fdbf6
SY() view returns (address)
0xec30e55b51d9518cfcf5e870bcf89c73f5708f72
decimals() view returns (uint8)
8
doCacheIndexSameBlock() view returns (bool)
true
expiry() view returns (uint256)
1735171200
factory() view returns (address)
0x35a338522a435d46f77be32c70e215b813d0e3ac
getRewardTokens() view returns (address[])
[]
isExpired() view returns (bool)
false
name() view returns (string)
YT Corn SolvBTC Babylon 26DEC2024
postExpiry() view returns (uint128 firstPYIndex, uint128 totalSyInterestForTreasury)
(firstPYIndex=0, totalSyInterestForTreasury=0)
pyIndexLastUpdatedBlock() view returns (uint128)
21213837
pyIndexStored() view returns (uint256)
100000000
syReserve() view returns (uint256)
1096252208663808915502
symbol() view returns (string)
YT-corn-SolvBTC.BBN-26DEC2024
totalSupply() view returns (uint256)
109625219924
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
userInterest(address) view returns (uint128 index, uint128 accrued)
userReward(address, address) view returns (uint128 index, uint128 accrued)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
mintPY(address receiverPT, address receiverYT) returns (uint256 amountPYOut)
mintPYMulti(address[] receiverPTs, address[] receiverYTs, uint256[] amountSyToMints) returns (uint256[] amountPYOuts)
pyIndexCurrent() returns (uint256 currentIndex)
redeemDueInterestAndRewards(address user, bool redeemInterest, bool redeemRewards) returns (uint256 interestOut, uint256[] rewardsOut)
redeemInterestAndRewardsPostExpiryForTreasury() returns (uint256 interestOut, uint256[] rewardsOut)
redeemPY(address receiver) returns (uint256 amountSyOut)
redeemPYMulti(address[] receivers, uint256[] amountPYToRedeems) returns (uint256[] amountSyOuts)
rewardIndexesCurrent() returns (uint256[])
setPostExpiryData()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed caller, address indexed receiver, uint256 amountPYToRedeem, uint256 amountSyOut)
CollectInterestFee(uint256 amountInterestFee)
CollectRewardFee(address indexed rewardToken, uint256 amountRewardFee)
Mint(address indexed caller, address indexed receiverPT, address indexed receiverYT, uint256 amountSyToMint, uint256 amountPYOut)
NewInterestIndex(uint256 indexed newIndex)
RedeemInterest(address indexed user, uint256 interestOut)
RedeemRewards(address indexed user, uint256[] amountRewardsOut)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(address _SY, address _PT, string _name, string _symbol, uint8 __decimals, uint256 _expiry, bool _doCacheIndexSameBlock)
This contract contains no fallback and receive objects.
ArrayEmpty()
ArrayLengthMismatch()
YCExpired()
YCNoFloatingSy()
YCNotExpired()
YCNothingToRedeem()
YCPostExpiryDataNotSet()
YieldContractInsufficientSy(uint256 actualSy, uint256 requiredSy)