For the complete documentation index, see llms.txt. This page is also available as Markdown.

MixinParams

Overview

License: Apache 2.0

abstract contract MixinParams is IStaking, IStakingEvents, MixinStorage, MixinConstants

Functions info

setParams (0x9c3ccc82)

function setParams(
    uint256 _epochDurationInSeconds,
    uint32 _rewardDelegatedStakeWeight,
    uint256 _minimumPoolStake,
    uint32 _cobbDouglasAlphaNumerator,
    uint32 _cobbDouglasAlphaDenominator
) external override onlyAuthorized

Set all configurable parameters at once.

Parameters:

Name
Type
Description

_epochDurationInSeconds

uint256

Minimum seconds between epochs.

_rewardDelegatedStakeWeight

uint32

How much delegated stake is weighted vs operator stake, in ppm.

_minimumPoolStake

uint256

Minimum amount of stake required in a pool to collect rewards.

_cobbDouglasAlphaNumerator

uint32

Numerator for cobb douglas alpha factor.

_cobbDouglasAlphaDenominator

uint32

Denominator for cobb douglas alpha factor.

getParams (0x5e615a6b)

Retrieves all configurable parameter values.

Return values:

Name
Type
Description

_epochDurationInSeconds

uint256

Minimum seconds between epochs.

_rewardDelegatedStakeWeight

uint32

How much delegated stake is weighted vs operator stake, in ppm.

_minimumPoolStake

uint256

Minimum amount of stake required in a pool to collect rewards.

_cobbDouglasAlphaNumerator

uint32

Numerator for cobb douglas alpha factor.

_cobbDouglasAlphaDenominator

uint32

Denominator for cobb douglas alpha factor.

Last updated