Params defines the parameters for the staking module.

interface Params {
    bondDenom: string;
    historicalEntries: number;
    maxEntries: number;
    maxValidators: number;
    maxVotingPowerEnforcementThreshold: string;
    maxVotingPowerRatio: string;
    minCommissionRate: string;
    unbondingTime: undefined | Duration;
}

Properties

bondDenom: string

bond_denom defines the bondable coin denomination.

historicalEntries: number

historical_entries is the number of historical entries to persist.

maxEntries: number

max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio).

maxValidators: number

max_validators is the maximum number of validators.

maxVotingPowerEnforcementThreshold: string

max_voting_power_enforcement_threshold defines the minimal bonded voting power of the max voting power ratio enforcement

maxVotingPowerRatio: string

max_voting_power_ratio defines the maximal allowable voting power ratio delegated to a validator.

minCommissionRate: string

min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators

unbondingTime: undefined | Duration

unbonding_time is the time duration of unbonding.