StakingUpgrade2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xec215bb8 at 19925656
Slot
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

No balances found for "StakingUpgrade2"

No transactions found for "StakingUpgrade2"


Functions
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 stakerview returns (uint256 numOfStakes)
getTotalShares(address stakeruint16 quarterIdxview returns (uint256 numOfShares)
getVotingPower(address voterview returns (uint256 votingPower)
quarters(uint16view returns (uint256 sharesuint256 reward)
shares(addressuint256uint16view returns (uint256)
stakes(addressuint256view returns (uint256 amountuint256 lockTimeuint16 lockQuarteruint16 unlockQuarteruint16 earliestUnclaimedQuarter)
State-modifying
claim(uint16 stakeIdx
declareReward(uint16 quarterIdxuint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
extend(uint16 stakeIdxuint16 unlockQuarter
initialize(
lock(uint256 amountuint16 unlockQuarter
lock(uint256 amountuint16 unlockQuarteruint256 deadlineuint8 vbytes32 rbytes32 s
lockRewards(uint16 stakeIdx
migrate(uint256 amount
migrate(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
promoteQuarter(
renounceOwnership(
transferOwnership(address newOwner
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
QuarterPromoted(uint16 quarterIdx
RewardDeclared(uint16 quarterIdxuint256 amountuint256 totalAmount
RewardsClaimed(address indexed stakeruint16 stakeIdxuint256 amountuint256 stakeAmount
StakeLocked(address indexed stakeruint16 stakeIdxuint256 amountuint16 unlockQuarteruint256 originalAmountuint16 originalUnlockQuarter
TokensMigrated(address indexed holderuint256 amount
Constructor
constructor(address _bbsTokenaddress _rtbToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.