import { Coin, type CoinSDKType } from '../../base/v1beta1/coin.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** Params defines the parameters for the bank module. */ export interface Params { /** * Deprecated: Use of SendEnabled in params is deprecated. * For genesis, use the newly added send_enabled field in the genesis object. * Storage, lookup, and manipulation of this information is now in the keeper. * * As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. */ /** @deprecated */ sendEnabled: SendEnabled[]; defaultSendEnabled: boolean; } export interface ParamsProtoMsg { typeUrl: '/cosmos.bank.v1beta1.Params'; value: Uint8Array; } /** Params defines the parameters for the bank module. */ export interface ParamsSDKType { /** @deprecated */ send_enabled: SendEnabledSDKType[]; default_send_enabled: boolean; } /** * SendEnabled maps coin denom to a send_enabled status (whether a denom is * sendable). */ export interface SendEnabled { denom: string; enabled: boolean; } export interface SendEnabledProtoMsg { typeUrl: '/cosmos.bank.v1beta1.SendEnabled'; value: Uint8Array; } /** * SendEnabled maps coin denom to a send_enabled status (whether a denom is * sendable). */ export interface SendEnabledSDKType { denom: string; enabled: boolean; } /** Input models transaction input. */ export interface Input { address: string; coins: Coin[]; } export interface InputProtoMsg { typeUrl: '/cosmos.bank.v1beta1.Input'; value: Uint8Array; } /** Input models transaction input. */ export interface InputSDKType { address: string; coins: CoinSDKType[]; } /** Output models transaction outputs. */ export interface Output { address: string; coins: Coin[]; } export interface OutputProtoMsg { typeUrl: '/cosmos.bank.v1beta1.Output'; value: Uint8Array; } /** Output models transaction outputs. */ export interface OutputSDKType { address: string; coins: CoinSDKType[]; } /** * Supply represents a struct that passively keeps track of the total supply * amounts in the network. * This message is deprecated now that supply is indexed by denom. */ /** @deprecated */ export interface Supply { $typeUrl?: '/cosmos.bank.v1beta1.Supply'; total: Coin[]; } export interface SupplyProtoMsg { typeUrl: '/cosmos.bank.v1beta1.Supply'; value: Uint8Array; } /** * Supply represents a struct that passively keeps track of the total supply * amounts in the network. * This message is deprecated now that supply is indexed by denom. */ /** @deprecated */ export interface SupplySDKType { $typeUrl?: '/cosmos.bank.v1beta1.Supply'; total: CoinSDKType[]; } /** * DenomUnit represents a struct that describes a given * denomination unit of the basic token. */ export interface DenomUnit { /** denom represents the string name of the given denom unit (e.g uatom). */ denom: string; /** * exponent represents power of 10 exponent that one must * raise the base_denom to in order to equal the given DenomUnit's denom * 1 denom = 10^exponent base_denom * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with * exponent = 6, thus: 1 atom = 10^6 uatom). */ exponent: number; /** aliases is a list of string aliases for the given denom */ aliases: string[]; } export interface DenomUnitProtoMsg { typeUrl: '/cosmos.bank.v1beta1.DenomUnit'; value: Uint8Array; } /** * DenomUnit represents a struct that describes a given * denomination unit of the basic token. */ export interface DenomUnitSDKType { denom: string; exponent: number; aliases: string[]; } /** * Metadata represents a struct that describes * a basic token. */ export interface Metadata { description: string; /** denom_units represents the list of DenomUnit's for a given coin */ denomUnits: DenomUnit[]; /** base represents the base denom (should be the DenomUnit with exponent = 0). */ base: string; /** * display indicates the suggested denom that should be * displayed in clients. */ display: string; /** * name defines the name of the token (eg: Cosmos Atom) * * Since: cosmos-sdk 0.43 */ name: string; /** * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can * be the same as the display. * * Since: cosmos-sdk 0.43 */ symbol: string; /** * URI to a document (on or off-chain) that contains additional information. Optional. * * Since: cosmos-sdk 0.46 */ uri: string; /** * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that * the document didn't change. Optional. * * Since: cosmos-sdk 0.46 */ uriHash: string; } export interface MetadataProtoMsg { typeUrl: '/cosmos.bank.v1beta1.Metadata'; value: Uint8Array; } /** * Metadata represents a struct that describes * a basic token. */ export interface MetadataSDKType { description: string; denom_units: DenomUnitSDKType[]; base: string; display: string; name: string; symbol: string; uri: string; uri_hash: string; } export declare const Params: { typeUrl: "/cosmos.bank.v1beta1.Params"; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): JsonSafe; fromPartial(object: Partial): Params; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; }; export declare const SendEnabled: { typeUrl: "/cosmos.bank.v1beta1.SendEnabled"; encode(message: SendEnabled, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SendEnabled; fromJSON(object: any): SendEnabled; toJSON(message: SendEnabled): JsonSafe; fromPartial(object: Partial): SendEnabled; fromProtoMsg(message: SendEnabledProtoMsg): SendEnabled; toProto(message: SendEnabled): Uint8Array; toProtoMsg(message: SendEnabled): SendEnabledProtoMsg; }; export declare const Input: { typeUrl: "/cosmos.bank.v1beta1.Input"; encode(message: Input, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Input; fromJSON(object: any): Input; toJSON(message: Input): JsonSafe; fromPartial(object: Partial): Input; fromProtoMsg(message: InputProtoMsg): Input; toProto(message: Input): Uint8Array; toProtoMsg(message: Input): InputProtoMsg; }; export declare const Output: { typeUrl: "/cosmos.bank.v1beta1.Output"; encode(message: Output, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Output; fromJSON(object: any): Output; toJSON(message: Output): JsonSafe; fromPartial(object: Partial): Output; fromProtoMsg(message: OutputProtoMsg): Output; toProto(message: Output): Uint8Array; toProtoMsg(message: Output): OutputProtoMsg; }; export declare const Supply: { typeUrl: "/cosmos.bank.v1beta1.Supply"; encode(message: Supply, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Supply; fromJSON(object: any): Supply; toJSON(message: Supply): JsonSafe; fromPartial(object: Partial): Supply; fromProtoMsg(message: SupplyProtoMsg): Supply; toProto(message: Supply): Uint8Array; toProtoMsg(message: Supply): SupplyProtoMsg; }; export declare const DenomUnit: { typeUrl: "/cosmos.bank.v1beta1.DenomUnit"; encode(message: DenomUnit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DenomUnit; fromJSON(object: any): DenomUnit; toJSON(message: DenomUnit): JsonSafe; fromPartial(object: Partial): DenomUnit; fromProtoMsg(message: DenomUnitProtoMsg): DenomUnit; toProto(message: DenomUnit): Uint8Array; toProtoMsg(message: DenomUnit): DenomUnitProtoMsg; }; export declare const Metadata: { typeUrl: "/cosmos.bank.v1beta1.Metadata"; encode(message: Metadata, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Metadata; fromJSON(object: any): Metadata; toJSON(message: Metadata): JsonSafe; fromPartial(object: Partial): Metadata; fromProtoMsg(message: MetadataProtoMsg): Metadata; toProto(message: Metadata): Uint8Array; toProtoMsg(message: Metadata): MetadataProtoMsg; }; //# sourceMappingURL=bank.d.ts.map