import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.bank.v1beta1"; /** GenesisState defines the bank module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; /** 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 differents coins. */ denomMetadata: Metadata[]; } /** GenesisState defines the bank module's genesis state. */ export interface GenesisStateSDKType { params: ParamsSDKType | undefined; balances: BalanceSDKType[]; supply: CoinSDKType[]; denom_metadata: MetadataSDKType[]; } /** * 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[]; } /** * Balance defines an account address and balance pair used in the bank module's * genesis state. */ export interface BalanceSDKType { address: string; coins: CoinSDKType[]; } export declare const GenesisState: { typeUrl: string; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial & { params?: Params & { sendEnabled: import("./bank").SendEnabled[] & (import("./bank").SendEnabled & { denom: string; enabled: boolean; } & Record, never>)[] & Record, never>; defaultSendEnabled: boolean; } & Record, never>; balances?: Balance[] & (Balance & { address: string; coins: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; supply?: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; denomMetadata?: Metadata[] & (Metadata & { description: string; denomUnits: import("./bank").DenomUnit[] & (import("./bank").DenomUnit & { denom: string; exponent: number; aliases: string[] & Record, never>; } & Record, never>)[] & Record, never>; base: string; display: string; name: string; symbol: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): GenesisState; }; export declare const Balance: { typeUrl: string; encode(message: Balance, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Balance; fromJSON(object: any): Balance; toJSON(message: Balance): unknown; fromPartial & { address?: string; coins?: Coin[] & (Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): Balance; };