StakeInfo
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "StakeInfo"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakeInfo"
ABI
ABI objects
Getter at block 23061533
This contract contains no getter function objects.
Read-only
decodeRarityBits(uint256 rarityBits) pure returns (bool isPrime, bool isFib, bool blockIsPrime, bool blockIsFib)
decodeStakeInfo(uint256 info) pure returns (uint256 term, uint256 maturityTs, uint256 amount, uint256 apy, uint256 rarityScore, uint256 rarityBits)
encodeRarityBits(bool isPrime, bool isFib, bool blockIsPrime, bool blockIsFib) pure returns (uint256 rarityBits)
encodeStakeInfo(uint256 term, uint256 maturityTs, uint256 amount, uint256 apy, uint256 rarityScore, uint256 rarityBits) pure returns (uint256 info)
getAPY(uint256 info) pure returns (uint256 apy)
getAmount(uint256 info) pure returns (uint256 amount)
getMaturityTs(uint256 info) pure returns (uint256 maturityTs)
getRarityBits(uint256 info) pure returns (uint256 rarityBits)
getRarityBitsDecoded(uint256 info) pure returns (bool isPrime, bool isFib, bool blockIsPrime, bool blockIsFib)
getRarityScore(uint256 info) pure returns (uint256 rarityScore)
getTerm(uint256 info) pure returns (uint256 term)
State-modifying
Events This contract contains no state-modifying function objects.
This contract contains no event objects.
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.