GenesisState defines the bank module's genesis state.

from message cosmos.bank.v1beta1.GenesisState

Hierarchy

Constructors

Properties

balances: proto.cosmos.bank.v1beta1.Balance[] = []

balances is an array containing the balances of all the accounts.

from field: repeated cosmos.bank.v1beta1.Balance balances = 2;

denomMetadata: proto.cosmos.bank.v1beta1.Metadata[] = []

denom_metadata defines the metadata of the different coins.

from field: repeated cosmos.bank.v1beta1.Metadata denom_metadata = 4;

params defines all the parameters of the module.

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

sendEnabled: SendEnabled[] = []

send_enabled defines the denoms where send is enabled or disabled.

Since: cosmos-sdk 0.47

from field: repeated cosmos.bank.v1beta1.SendEnabled send_enabled = 5;

supply: Coin[] = []

supply represents the total supply. If it is left empty, then supply will be calculated based on the provided balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.

from field: repeated cosmos.base.v1beta1.Coin supply = 3;

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

Methods