GenesisState defines the staking module's genesis state.

interface GenesisState {
    delegations: Delegation[];
    exported: boolean;
    lastTotalPower: Uint8Array;
    lastValidatorPowers: LastValidatorPower[];
    params: undefined | Params;
    redelegations: Redelegation[];
    unbondingDelegations: UnbondingDelegation[];
    validators: Validator[];
}

Properties

delegations: Delegation[]

delegations defines the delegations active at genesis.

exported: boolean
lastTotalPower: Uint8Array

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

lastValidatorPowers: LastValidatorPower[]

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

params: undefined | Params

params defines all the paramaters of related to deposit.

redelegations: Redelegation[]

redelegations defines the redelegations active at genesis.

unbondingDelegations: UnbondingDelegation[]

unbonding_delegations defines the unbonding delegations active at genesis.

validators: Validator[]

delegations defines the validator set at genesis.