0x / Staking

Staking

0x2a17c35ff147b32f13f19f2e311446eeb02503f3
function

withdrawDelegatorRewards

nonpayable

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

(void)
function

wethReservedForPoolRewards

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

validExchanges

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
bool
function

unstake

nonpayable

Inputs

ParameterTypeDescription
amountuint256

Outputs

(void)
function

transferOwnership

nonpayable

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

stakingContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

stake

nonpayable

Inputs

ParameterTypeDescription
amountuint256

Outputs

(void)
function

setParams

nonpayable

Inputs

ParameterTypeDescription
_epochDurationInSecondsuint256
_rewardDelegatedStakeWeightuint32
_minimumPoolStakeuint256
_cobbDouglasAlphaNumeratoruint32
_cobbDouglasAlphaDenominatoruint32

Outputs

(void)
function

rewardsByPoolId

view

Inputs

ParameterTypeDescription
bytes32

Outputs

TypeDescription
uint256
function

rewardDelegatedStakeWeight

view

Inputs

(void)

Outputs

TypeDescription
uint32
function

removeExchangeAddress

nonpayable

Inputs

ParameterTypeDescription
addraddress

Outputs

(void)
function

removeAuthorizedAddressAtIndex

nonpayable

Inputs

ParameterTypeDescription
targetaddress
indexuint256

Outputs

(void)
function

removeAuthorizedAddress

nonpayable

Inputs

ParameterTypeDescription
targetaddress

Outputs

(void)
function

poolStatsByEpoch

view

Inputs

ParameterTypeDescription
bytes32
uint256

Outputs

TypeDescription
uint256
uint256
uint256
function

poolIdByMaker

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
bytes32
function

payProtocolFee

payable

Inputs

ParameterTypeDescription
makerAddressaddress
payerAddressaddress
protocolFeeuint256

Outputs

(void)
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
function

moveStake

nonpayable

Inputs

ParameterTypeDescription
fromtuple
totuple
amountuint256

Outputs

(void)
function

minimumPoolStake

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

lastPoolId

view

Inputs

(void)

Outputs

TypeDescription
bytes32
function

joinStakingPoolAsMaker

nonpayable

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

(void)
function

init

nonpayable

Inputs

(void)

Outputs

(void)
function

getZrxVault

view

Inputs

(void)

Outputs

TypeDescription
address
function

getWethContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

getTotalStakeDelegatedToPool

view

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

TypeDescription
tuple
function

getTotalStake

view

Inputs

ParameterTypeDescription
stakeraddress

Outputs

TypeDescription
uint256
function

getStakingPoolStatsThisEpoch

view

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

TypeDescription
tuple
function

getStakingPool

view

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

TypeDescription
tuple
function

getStakeDelegatedToPoolByOwner

view

Inputs

ParameterTypeDescription
stakeraddress
poolIdbytes32

Outputs

TypeDescription
tuple
function

getParams

view

Inputs

(void)

Outputs

TypeDescription
uint256
uint32
uint256
uint32
uint32
function

getOwnerStakeByStatus

view

Inputs

ParameterTypeDescription
stakeraddress
stakeStatusuint8

Outputs

TypeDescription
tuple
function

getGlobalStakeByStatus

view

Inputs

ParameterTypeDescription
stakeStatusuint8

Outputs

TypeDescription
tuple
function

getCurrentEpochEarliestEndTimeInSeconds

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

getAuthorizedAddresses

view

Inputs

(void)

Outputs

TypeDescription
address[]
function

finalizePool

nonpayable

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

(void)
function

epochDurationInSeconds

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

endEpoch

nonpayable

Inputs

(void)

Outputs

TypeDescription
uint256
function

decreaseStakingPoolOperatorShare

nonpayable

Inputs

ParameterTypeDescription
poolIdbytes32
newOperatorShareuint32

Outputs

(void)
function

currentEpochStartTimeInSeconds

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

currentEpoch

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

createStakingPool

nonpayable

Inputs

ParameterTypeDescription
operatorShareuint32
addOperatorAsMakerbool

Outputs

TypeDescription
bytes32
function

computeRewardBalanceOfOperator

view

Inputs

ParameterTypeDescription
poolIdbytes32

Outputs

TypeDescription
uint256
function

computeRewardBalanceOfDelegator

view

Inputs

ParameterTypeDescription
poolIdbytes32
memberaddress

Outputs

TypeDescription
uint256
function

cobbDouglasAlphaNumerator

view

Inputs

(void)

Outputs

TypeDescription
uint32
function

cobbDouglasAlphaDenominator

view

Inputs

(void)

Outputs

TypeDescription
uint32
function

authorized

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
bool
function

authorities

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
address
function

aggregatedStatsByEpoch

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
uint256
uint256
uint256
uint256
uint256
function

addExchangeAddress

nonpayable

Inputs

ParameterTypeDescription
addraddress

Outputs

(void)
function

addAuthorizedAddress

nonpayable

Inputs

ParameterTypeDescription
targetaddress

Outputs

(void)
event

Unstake

Inputs

ParameterTypeDescription
stakeraddress
amountuint256

Outputs

(void)
event

StakingPoolEarnedRewardsInEpoch

Inputs

ParameterTypeDescription
epochuint256
poolIdbytes32

Outputs

(void)
event

StakingPoolCreated

Inputs

ParameterTypeDescription
poolIdbytes32
operatoraddress
operatorShareuint32

Outputs

(void)
event

Stake

Inputs

ParameterTypeDescription
stakeraddress
amountuint256

Outputs

(void)
event

RewardsPaid

Inputs

ParameterTypeDescription
epochuint256
poolIdbytes32
operatorRewarduint256
membersRewarduint256

Outputs

(void)
event

ParamsSet

Inputs

ParameterTypeDescription
epochDurationInSecondsuint256
rewardDelegatedStakeWeightuint32
minimumPoolStakeuint256
cobbDouglasAlphaNumeratoruint256
cobbDouglasAlphaDenominatoruint256

Outputs

(void)
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
event

OperatorShareDecreased

Inputs

ParameterTypeDescription
poolIdbytes32
oldOperatorShareuint32
newOperatorShareuint32

Outputs

(void)
event

MoveStake

Inputs

ParameterTypeDescription
stakeraddress
amountuint256
fromStatusuint8
fromPoolbytes32
toStatusuint8
toPoolbytes32

Outputs

(void)
event

MakerStakingPoolSet

Inputs

ParameterTypeDescription
makerAddressaddress
poolIdbytes32

Outputs

(void)
event

ExchangeRemoved

Inputs

ParameterTypeDescription
exchangeAddressaddress

Outputs

(void)
event

ExchangeAdded

Inputs

ParameterTypeDescription
exchangeAddressaddress

Outputs

(void)
event

EpochFinalized

Inputs

ParameterTypeDescription
epochuint256
rewardsPaiduint256
rewardsRemaininguint256

Outputs

(void)
event

EpochEnded

Inputs

ParameterTypeDescription
epochuint256
numPoolsToFinalizeuint256
rewardsAvailableuint256
totalFeesCollecteduint256
totalWeightedStakeuint256

Outputs

(void)
event

AuthorizedAddressRemoved

Inputs

ParameterTypeDescription
targetaddress
calleraddress

Outputs

(void)
event

AuthorizedAddressAdded

Inputs

ParameterTypeDescription
targetaddress
calleraddress

Outputs

(void)