Skip to main content
Glama
genesis.d.ts4.95 kB
import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType, SendEnabled, SendEnabledAmino, SendEnabledSDKType } from "./bank"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** 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[]; } export interface GenesisStateProtoMsg { typeUrl: "/cosmos.bank.v1beta1.GenesisState"; value: Uint8Array; } /** GenesisState defines the bank module's genesis state. */ export interface GenesisStateAmino { /** params defines all the parameters of the module. */ params: ParamsAmino; /** balances is an array containing the balances of all the accounts. */ balances: BalanceAmino[]; /** * 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: CoinAmino[]; /** denom_metadata defines the metadata of the different coins. */ denom_metadata: MetadataAmino[]; /** * send_enabled defines the denoms where send is enabled or disabled. * * Since: cosmos-sdk 0.47 */ send_enabled: SendEnabledAmino[]; } export interface GenesisStateAminoMsg { type: "cosmos-sdk/GenesisState"; value: GenesisStateAmino; } /** GenesisState defines the bank module's genesis state. */ export interface GenesisStateSDKType { params: ParamsSDKType; balances: BalanceSDKType[]; supply: CoinSDKType[]; denom_metadata: MetadataSDKType[]; send_enabled: SendEnabledSDKType[]; } /** * 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 interface BalanceProtoMsg { typeUrl: "/cosmos.bank.v1beta1.Balance"; value: Uint8Array; } /** * Balance defines an account address and balance pair used in the bank module's * genesis state. */ export interface BalanceAmino { /** address is the address of the balance holder. */ address?: string; /** coins defines the different coins this balance holds. */ coins: CoinAmino[]; } export interface BalanceAminoMsg { type: "cosmos-sdk/Balance"; value: BalanceAmino; } /** * 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; aminoType: string; is(o: any): o is GenesisState; isSDK(o: any): o is GenesisStateSDKType; isAmino(o: any): o is GenesisStateAmino; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromPartial(object: Partial<GenesisState>): 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; }; export declare const Balance: { typeUrl: string; aminoType: string; is(o: any): o is Balance; isSDK(o: any): o is BalanceSDKType; isAmino(o: any): o is BalanceAmino; encode(message: Balance, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Balance; fromPartial(object: Partial<Balance>): Balance; fromAmino(object: BalanceAmino): Balance; toAmino(message: Balance): BalanceAmino; fromAminoMsg(object: BalanceAminoMsg): Balance; toAminoMsg(message: Balance): BalanceAminoMsg; fromProtoMsg(message: BalanceProtoMsg): Balance; toProto(message: Balance): Uint8Array; toProtoMsg(message: Balance): BalanceProtoMsg; };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server