Staking
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Staking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Staking"
ABI
ABI objects
Getter at block 23233175
cobbDouglasAlphaDenominator() view returns (uint32)
0
cobbDouglasAlphaNumerator() view returns (uint32)
0
currentEpoch() view returns (uint256)
0
currentEpochStartTimeInSeconds() view returns (uint256)
0
epochDurationInSeconds() view returns (uint256)
0
getAuthorizedAddresses() view returns (address[])
[]
getCurrentEpochEarliestEndTimeInSeconds() view returns (uint256)
0
getGrgContract() view returns (address)
0x09188484e1ab980daef53a9755241d759c5b7d60
getGrgVault() view returns (address)
0x7a7fa66b97a9e009ecab4bcd62e87b2c0b65f21d
getParams() view returns (uint256 _epochDurationInSeconds, uint32 _rewardDelegatedStakeWeight, uint256 _minimumPoolStake, uint32 _cobbDouglasAlphaNumerator, uint32 _cobbDouglasAlphaDenominator)
(_epochDurationInSeconds=0, _rewardDelegatedStakeWeight=0, _minimumPoolStake=0, _cobbDouglasAlphaNumerator=0, _cobbDouglasAlphaDenominator=0)
getPoolRegistry() view returns (address)
0x06767e8090ba5c4eca89ed00c3a719909d503ed6
grgReservedForPoolRewards() view returns (uint256)
0
minimumPoolStake() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
rewardDelegatedStakeWeight() view returns (uint32)
0
stakingContract() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
aggregatedStatsByEpoch(uint256) view returns (uint256 rewardsAvailable, uint256 numPoolsToFinalize, uint256 totalFeesCollected, uint256 totalWeightedStake, uint256 totalRewardsFinalized)
authorities(uint256) view returns (address)
authorized(address) view returns (bool)
computeRewardBalanceOfDelegator(bytes32 poolId, address member) view returns (uint256 reward)
computeRewardBalanceOfOperator(bytes32 poolId) view returns (uint256 reward)
getGlobalStakeByStatus(uint8 stakeStatus) view returns (struct IStructsStoredBalance balance)
getOwnerStakeByStatus(address staker, uint8 stakeStatus) view returns (struct IStructsStoredBalance balance)
getStakeDelegatedToPoolByOwner(address staker, bytes32 poolId) view returns (struct IStructsStoredBalance balance)
getStakingPool(bytes32 poolId) view returns (struct IStructsPool)
getStakingPoolStatsThisEpoch(bytes32 poolId) view returns (struct IStructsPoolStats)
getTotalStake(address staker) view returns (uint256)
getTotalStakeDelegatedToPool(bytes32 poolId) view returns (struct IStructsStoredBalance balance)
poolIdByRbPoolAccount(address) view returns (bytes32)
poolStatsByEpoch(bytes32, uint256) view returns (uint256 feesCollected, uint256 weightedStake, uint256 membersStake)
rewardsByPoolId(bytes32) view returns (uint256)
validPops(address) view returns (bool)
State-modifying
Events addAuthorizedAddress(address target)
addPopAddress(address addr)
createStakingPool(address rigoblockPoolAddress) returns (bytes32 poolId)
creditPopReward(address poolAccount, uint256 popReward) payable
decreaseStakingPoolOperatorShare(bytes32 poolId, uint32 newOperatorShare)
endEpoch() returns (uint256 numPoolsToFinalize)
finalizePool(bytes32 poolId)
init()
moveStake(struct IStructsStakeInfo from, struct IStructsStakeInfo to, uint256 amount)
removeAuthorizedAddress(address target)
removeAuthorizedAddressAtIndex(address target, uint256 index)
removePopAddress(address addr)
setParams(uint256 _epochDurationInSeconds, uint32 _rewardDelegatedStakeWeight, uint256 _minimumPoolStake, uint32 _cobbDouglasAlphaNumerator, uint32 _cobbDouglasAlphaDenominator)
setStakingPalAddress(bytes32 poolId, address newStakingPalAddress)
stake(uint256 amount)
transferOwnership(address newOwner)
unstake(uint256 amount)
withdrawDelegatorRewards(bytes32 poolId)
AuthorizedAddressAdded(address indexed target, address indexed caller)
AuthorizedAddressRemoved(address indexed target, address indexed caller)
CatchStringEvent(string reason)
EpochEnded(uint256 indexed epoch, uint256 numPoolsToFinalize, uint256 rewardsAvailable, uint256 totalFeesCollected, uint256 totalWeightedStake)
EpochFinalized(uint256 indexed epoch, uint256 rewardsPaid, uint256 rewardsRemaining)
GrgMintEvent(uint256 grgAmount)
MoveStake(address indexed staker, uint256 amount, uint8 fromStatus, bytes32 indexed fromPool, uint8 toStatus, bytes32 indexed toPool)
OperatorShareDecreased(bytes32 indexed poolId, uint32 oldOperatorShare, uint32 newOperatorShare)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ParamsSet(uint256 epochDurationInSeconds, uint32 rewardDelegatedStakeWeight, uint256 minimumPoolStake, uint256 cobbDouglasAlphaNumerator, uint256 cobbDouglasAlphaDenominator)
PopAdded(address exchangeAddress)
PopRemoved(address exchangeAddress)
RbPoolStakingPoolSet(address indexed rbPoolAddress, bytes32 indexed poolId)
ReturnDataEvent(bytes reason)
RewardsPaid(uint256 indexed epoch, bytes32 indexed poolId, uint256 operatorReward, uint256 membersReward)
Stake(address indexed staker, uint256 amount)
StakingPoolCreated(bytes32 poolId, address operator, uint32 operatorShare)
StakingPoolEarnedRewardsInEpoch(uint256 indexed epoch, bytes32 indexed poolId)
Unstake(address indexed staker, uint256 amount)
constructor(address grgVault, address poolRegistry, address rigoToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.