Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = staking.ModuleName
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisState ¶
type GenesisState struct { Params Params `json:"params" yaml:"params"` LastTotalPower sdk.Int `json:"last_total_power" yaml:"last_total_power"` LastValidatorPowers []staking.LastValidatorPower `json:"last_validator_powers" yaml:"last_validator_powers"` Validators staking.Validators `json:"validators" yaml:"validators"` Delegations staking.Delegations `json:"delegations" yaml:"delegations"` UnbondingDelegations []staking.UnbondingDelegation `json:"unbonding_delegations" yaml:"unbonding_delegations"` Redelegations []staking.Redelegation `json:"redelegations" yaml:"redelegations"` Exported bool `json:"exported" yaml:"exported"` }
type Params ¶
type Params struct { UnbondingTime time.Duration `json:"unbonding_time" yaml:"unbonding_time"` // time duration of unbonding MaxValidators uint16 `json:"max_validators" yaml:"max_validators"` // maximum number of validators (max uint16 = 65535) MaxEntries uint16 `json:"max_entries" yaml:"max_entries"` // max entries for either unbonding delegation or redelegation (per pair/trio) BondDenom string `json:"bond_denom" yaml:"bond_denom"` // bondable coin denomination }
Click to show internal directories.
Click to hide internal directories.