GenesisState defines the bank module's genesis state.

interface GenesisState {
    balances: Balance[];
    denomMetadata: Metadata[];
    params: undefined | Params;
    supply: Coin[];
}

Properties

balances: Balance[]

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

denomMetadata: Metadata[]

denom_metadata defines the metadata of the differents coins.

params: undefined | Params

params defines all the paramaters of the module.

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.