import { Denom, DenomAmino } from "./token"; import { Params, ParamsAmino } from "./transfer"; import { Coin, CoinAmino } from "../../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial } from "../../../../helpers"; /** * GenesisState defines the ibc-transfer genesis state * @name GenesisState * @package ibc.applications.transfer.v1 * @see proto type: ibc.applications.transfer.v1.GenesisState */ export interface GenesisState { portId: string; denoms: Denom[]; params: Params; /** * total_escrowed contains the total amount of tokens escrowed * by the transfer module */ totalEscrowed: Coin[]; } export interface GenesisStateProtoMsg { typeUrl: "/ibc.applications.transfer.v1.GenesisState"; value: Uint8Array; } /** * GenesisState defines the ibc-transfer genesis state * @name GenesisStateAmino * @package ibc.applications.transfer.v1 * @see proto type: ibc.applications.transfer.v1.GenesisState */ export interface GenesisStateAmino { port_id: string; denoms: DenomAmino[]; params: ParamsAmino; /** * total_escrowed contains the total amount of tokens escrowed * by the transfer module */ total_escrowed: CoinAmino[]; } export interface GenesisStateAminoMsg { type: "cosmos-sdk/GenesisState"; value: GenesisStateAmino; } /** * GenesisState defines the ibc-transfer genesis state * @name GenesisState * @package ibc.applications.transfer.v1 * @see proto type: ibc.applications.transfer.v1.GenesisState */ export declare const GenesisState: { typeUrl: string; aminoType: string; is(o: any): o is GenesisState; isAmino(o: any): o is GenesisStateAmino; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromPartial(object: DeepPartial): GenesisState; fromAmino(object: GenesisStateAmino): GenesisState; toAmino(message: GenesisState): GenesisStateAmino; fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; toAminoMsg(message: GenesisState): GenesisStateAminoMsg; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; registerTypeUrl(): void; };