GenesisState defines the staking module's genesis state.

from message cosmos.staking.v1beta1.GenesisState

Hierarchy

Constructors

Properties

delegations: Delegation[] = []

delegations defines the delegations active at genesis.

from field: repeated cosmos.staking.v1beta1.Delegation delegations = 5;

exported: boolean = false

from field: bool exported = 8;

lastTotalPower: Uint8Array = ...

last_total_power tracks the total amounts of bonded tokens recorded during the previous end block.

from field: bytes last_total_power = 2;

lastValidatorPowers: LastValidatorPower[] = []

last_validator_powers is a special index that provides a historical list of the last-block's bonded validators.

from field: repeated cosmos.staking.v1beta1.LastValidatorPower last_validator_powers = 3;

params defines all the parameters of related to deposit.

from field: cosmos.staking.v1beta1.Params params = 1;

redelegations: Redelegation[] = []

redelegations defines the redelegations active at genesis.

from field: repeated cosmos.staking.v1beta1.Redelegation redelegations = 7;

unbondingDelegations: UnbondingDelegation[] = []

unbonding_delegations defines the unbonding delegations active at genesis.

from field: repeated cosmos.staking.v1beta1.UnbondingDelegation unbonding_delegations = 6;

validators: proto.cosmos.staking.v1beta1.Validator[] = []

delegations defines the validator set at genesis.

from field: repeated cosmos.staking.v1beta1.Validator validators = 4;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.staking.v1beta1.GenesisState" = "cosmos.staking.v1beta1.GenesisState"

Methods