MixinStakingPool
Overview
License: Apache 2.0
abstract contract MixinStakingPool is MixinStakingPoolRewardsModifiers info
onlyStakingPoolOperator
modifier onlyStakingPoolOperator(bytes32 poolId)Asserts that the sender is the operator of the input pool.
Parameters:
poolId
bytes32
Pool sender must be operator of.
onlyDelegateCall
modifier onlyDelegateCall()Functions info
createStakingPool (0xbe111af4)
Create a new staking pool. The sender will be the staking pal of this pool.
Note that a staking pal must be payable.
When governance updates registry address, pools must be migrated to new registry, or this contract must query from both.
Parameters:
rigoblockPoolAddress
address
Adds rigoblock pool to the created staking pool for convenience if non-null.
Return values:
poolId
bytes32
The unique pool id generated for this pool.
setStakingPalAddress (0x3a832382)
Allows the operator to update the staking pal address.
Parameters:
poolId
bytes32
Unique id of pool.
newStakingPalAddress
address
Address of the new staking pal.
decreaseStakingPoolOperatorShare (0x5d91121d)
Decreases the operator share for the given pool (i.e. increases pool rewards for members).
Parameters:
poolId
bytes32
Unique Id of pool.
newOperatorShare
uint32
The newly decreased percentage of any rewards owned by the operator.
getStakingPool (0x4bcc3f67)
Returns a staking pool
Parameters:
poolId
bytes32
Unique id of pool.
Last updated