v18de63

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL