import { Params, Metadata, SendEnabled } from "./bank"; import Long from "long"; import { Coin } from "../../base/v1beta1/coin"; import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "cosmos.bank.v1beta1"; /** GenesisState defines the bank module's genesis state. */ export interface GenesisState { /** params defines all the parameters of the module. */ params?: Params; /** balances is an array containing the balances of all the accounts. */ balances: Balance[]; /** * 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. */ supply: Coin[]; /** denom_metadata defines the metadata of the different coins. */ denomMetadata: Metadata[]; /** * send_enabled defines the denoms where send is enabled or disabled. * * Since: cosmos-sdk 0.47 */ sendEnabled: SendEnabled[]; } /** * Balance defines an account address and balance pair used in the bank module's * genesis state. */ export interface Balance { /** address is the address of the balance holder. */ address: string; /** coins defines the different coins this balance holds. */ coins: Coin[]; } export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial, never>)[] & Record, never>; defaultSendEnabled?: boolean; } & Record, never>; balances?: { address?: string; coins?: { denom?: string; amount?: string; }[]; }[] & ({ address?: string; coins?: { denom?: string; amount?: string; }[]; } & { address?: string; coins?: { denom?: string; amount?: string; }[] & ({ denom?: string; amount?: string; } & { denom?: string; amount?: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; supply?: { denom?: string; amount?: string; }[] & ({ denom?: string; amount?: string; } & { denom?: string; amount?: string; } & Record, never>)[] & Record, never>; denomMetadata?: { description?: string; denomUnits?: { denom?: string; exponent?: number; aliases?: string[]; }[]; base?: string; display?: string; name?: string; symbol?: string; uri?: string; uriHash?: string; }[] & ({ description?: string; denomUnits?: { denom?: string; exponent?: number; aliases?: string[]; }[]; base?: string; display?: string; name?: string; symbol?: string; uri?: string; uriHash?: string; } & { description?: string; denomUnits?: { denom?: string; exponent?: number; aliases?: string[]; }[] & ({ denom?: string; exponent?: number; aliases?: string[]; } & { denom?: string; exponent?: number; aliases?: string[] & string[] & Record, never>; } & Record, never>)[] & Record, never>; base?: string; display?: string; name?: string; symbol?: string; uri?: string; uriHash?: string; } & Record, never>)[] & Record, never>; sendEnabled?: { denom?: string; enabled?: boolean; }[] & ({ denom?: string; enabled?: boolean; } & { denom?: string; enabled?: boolean; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): GenesisState; }; export declare const Balance: { encode(message: Balance, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Balance; fromJSON(object: any): Balance; toJSON(message: Balance): unknown; fromPartial, never>)[] & Record, never>; } & Record, never>>(object: I): Balance; }; declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; declare type KeysOfUnion = T extends T ? keyof T : never; export declare type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {}; //# sourceMappingURL=genesis.d.ts.map