StakingUpgrade2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "StakingUpgrade2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakingUpgrade2"
ABI
ABI objects
Getter at block 21272971
PRECISION() view returns (uint256)
1000000000000000000
QUARTER_LENGTH() view returns (uint256)
7862400
bbsToken() view returns (address)
0xfe459828c90c0ba4bc8b42f5c5d44f316700b430
currentQuarter() view returns (uint16)
0
nextQuarterStart() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
rtbToken() view returns (address)
0x055999b83f9cade9e3988a0f34ef72817566800d
Read-only
getNumOfStakes(address staker) view returns (uint256 numOfStakes)
getTotalShares(address staker, uint16 quarterIdx) view returns (uint256 numOfShares)
getVotingPower(address voter) view returns (uint256 votingPower)
quarters(uint16) view returns (uint256 shares, uint256 reward)
shares(address, uint256, uint16) view returns (uint256)
stakes(address, uint256) view returns (uint256 amount, uint256 lockTime, uint16 lockQuarter, uint16 unlockQuarter, uint16 earliestUnclaimedQuarter)
State-modifying
Events claim(uint16 stakeIdx)
declareReward(uint16 quarterIdx, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
extend(uint16 stakeIdx, uint16 unlockQuarter)
initialize()
lock(uint256 amount, uint16 unlockQuarter)
lock(uint256 amount, uint16 unlockQuarter, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
lockRewards(uint16 stakeIdx)
migrate(uint256 amount)
migrate(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
promoteQuarter()
renounceOwnership()
transferOwnership(address newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
QuarterPromoted(uint16 quarterIdx)
RewardDeclared(uint16 quarterIdx, uint256 amount, uint256 totalAmount)
RewardsClaimed(address indexed staker, uint16 stakeIdx, uint256 amount, uint256 stakeAmount)
StakeLocked(address indexed staker, uint16 stakeIdx, uint256 amount, uint16 unlockQuarter, uint256 originalAmount, uint16 originalUnlockQuarter)
TokensMigrated(address indexed holder, uint256 amount)
constructor(address _bbsToken, address _rtbToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.