withdrawDelegatorRewards
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
wethReservedForPoolRewards
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
validExchanges
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| bool |
unstake
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 |
Outputs
transferOwnership
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
stakingContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
stake
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 |
Outputs
setParams
Inputs
| Parameter | Type | Description |
|---|---|---|
| _epochDurationInSeconds | uint256 | |
| _rewardDelegatedStakeWeight | uint32 | |
| _minimumPoolStake | uint256 | |
| _cobbDouglasAlphaNumerator | uint32 | |
| _cobbDouglasAlphaDenominator | uint32 |
Outputs
rewardsByPoolId
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |
rewardDelegatedStakeWeight
Inputs
Outputs
| Type | Description |
|---|---|
| uint32 |
removeExchangeAddress
Inputs
| Parameter | Type | Description |
|---|---|---|
| addr | address |
Outputs
removeAuthorizedAddressAtIndex
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address | |
| index | uint256 |
Outputs
removeAuthorizedAddress
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address |
Outputs
poolStatsByEpoch
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 | ||
| uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 | |
| uint256 |
poolIdByMaker
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| bytes32 |
payProtocolFee
Inputs
| Parameter | Type | Description |
|---|---|---|
| makerAddress | address | |
| payerAddress | address | |
| protocolFee | uint256 |
Outputs
owner
Inputs
Outputs
| Type | Description |
|---|---|
| address |
moveStake
Inputs
| Parameter | Type | Description |
|---|---|---|
| from | tuple | |
| to | tuple | |
| amount | uint256 |
Outputs
minimumPoolStake
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
lastPoolId
Inputs
Outputs
| Type | Description |
|---|---|
| bytes32 |
joinStakingPoolAsMaker
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
init
Inputs
Outputs
getZrxVault
Inputs
Outputs
| Type | Description |
|---|---|
| address |
getWethContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
getTotalStakeDelegatedToPool
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
| Type | Description |
|---|---|
| tuple |
getTotalStake
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
getStakingPoolStatsThisEpoch
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
| Type | Description |
|---|---|
| tuple |
getStakingPool
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
| Type | Description |
|---|---|
| tuple |
getStakeDelegatedToPoolByOwner
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address | |
| poolId | bytes32 |
Outputs
| Type | Description |
|---|---|
| tuple |
getParams
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint32 | |
| uint256 | |
| uint32 | |
| uint32 |
getOwnerStakeByStatus
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address | |
| stakeStatus | uint8 |
Outputs
| Type | Description |
|---|---|
| tuple |
getGlobalStakeByStatus
Inputs
| Parameter | Type | Description |
|---|---|---|
| stakeStatus | uint8 |
Outputs
| Type | Description |
|---|---|
| tuple |
getCurrentEpochEarliestEndTimeInSeconds
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
getAuthorizedAddresses
Inputs
Outputs
| Type | Description |
|---|---|
| address[] |
finalizePool
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
epochDurationInSeconds
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
endEpoch
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
currentEpochStartTimeInSeconds
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
currentEpoch
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
createStakingPool
Inputs
| Parameter | Type | Description |
|---|---|---|
| operatorShare | uint32 | |
| addOperatorAsMaker | bool |
Outputs
| Type | Description |
|---|---|
| bytes32 |
computeRewardBalanceOfOperator
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |
computeRewardBalanceOfDelegator
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 | |
| member | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
cobbDouglasAlphaNumerator
Inputs
Outputs
| Type | Description |
|---|---|
| uint32 |
cobbDouglasAlphaDenominator
Inputs
Outputs
| Type | Description |
|---|---|
| uint32 |
authorized
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| bool |
authorities
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
aggregatedStatsByEpoch
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 |
addExchangeAddress
Inputs
| Parameter | Type | Description |
|---|---|---|
| addr | address |
Outputs
addAuthorizedAddress
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address |
Outputs
Unstake
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address | |
| amount | uint256 |
Outputs
StakingPoolEarnedRewardsInEpoch
Inputs
| Parameter | Type | Description |
|---|---|---|
| epoch | uint256 | |
| poolId | bytes32 |
Outputs
StakingPoolCreated
Inputs
| Parameter | Type | Description |
|---|---|---|
| poolId | bytes32 | |
| operator | address | |
| operatorShare | uint32 |
Outputs
Stake
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address | |
| amount | uint256 |
Outputs
RewardsPaid
Inputs
| Parameter | Type | Description |
|---|---|---|
| epoch | uint256 | |
| poolId | bytes32 | |
| operatorReward | uint256 | |
| membersReward | uint256 |
Outputs
ParamsSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| epochDurationInSeconds | uint256 | |
| rewardDelegatedStakeWeight | uint32 | |
| minimumPoolStake | uint256 | |
| cobbDouglasAlphaNumerator | uint256 | |
| cobbDouglasAlphaDenominator | uint256 |
Outputs
OwnershipTransferred
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address | |
| newOwner | address |
Outputs
MoveStake
Inputs
| Parameter | Type | Description |
|---|---|---|
| staker | address | |
| amount | uint256 | |
| fromStatus | uint8 | |
| fromPool | bytes32 | |
| toStatus | uint8 | |
| toPool | bytes32 |
Outputs
MakerStakingPoolSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| makerAddress | address | |
| poolId | bytes32 |
Outputs
ExchangeRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| exchangeAddress | address |
Outputs
ExchangeAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| exchangeAddress | address |
Outputs
EpochFinalized
Inputs
| Parameter | Type | Description |
|---|---|---|
| epoch | uint256 | |
| rewardsPaid | uint256 | |
| rewardsRemaining | uint256 |
Outputs
EpochEnded
Inputs
| Parameter | Type | Description |
|---|---|---|
| epoch | uint256 | |
| numPoolsToFinalize | uint256 | |
| rewardsAvailable | uint256 | |
| totalFeesCollected | uint256 | |
| totalWeightedStake | uint256 |
Outputs
AuthorizedAddressRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address | |
| caller | address |
Outputs
AuthorizedAddressAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address | |
| caller | address |
Outputs