Skip to main content
Glama
genesis.d.ts4.54 kB
import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { MigrationRecords, MigrationRecordsAmino, MigrationRecordsSDKType } from "./shared"; import { Pool as Pool1 } from "../../concentratedliquidity/v1beta1/pool"; import { PoolProtoMsg as Pool1ProtoMsg } from "../../concentratedliquidity/v1beta1/pool"; import { PoolSDKType as Pool1SDKType } from "../../concentratedliquidity/v1beta1/pool"; import { CosmWasmPool, CosmWasmPoolProtoMsg, CosmWasmPoolSDKType } from "../../cosmwasmpool/v1beta1/model/pool"; import { Pool as Pool2 } from "../poolmodels/stableswap/v1beta1/stableswap_pool"; import { PoolProtoMsg as Pool2ProtoMsg } from "../poolmodels/stableswap/v1beta1/stableswap_pool"; import { PoolSDKType as Pool2SDKType } from "../poolmodels/stableswap/v1beta1/stableswap_pool"; import { Pool as Pool3 } from "./balancerPool"; import { PoolProtoMsg as Pool3ProtoMsg } from "./balancerPool"; import { PoolSDKType as Pool3SDKType } from "./balancerPool"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** Params holds parameters for the incentives module */ export interface Params { poolCreationFee: Coin[]; } export interface ParamsProtoMsg { typeUrl: "/osmosis.gamm.v1beta1.Params"; value: Uint8Array; } /** Params holds parameters for the incentives module */ export interface ParamsAmino { pool_creation_fee?: CoinAmino[]; } export interface ParamsAminoMsg { type: "osmosis/gamm/params"; value: ParamsAmino; } /** Params holds parameters for the incentives module */ export interface ParamsSDKType { pool_creation_fee: CoinSDKType[]; } /** GenesisState defines the gamm module's genesis state. */ export interface GenesisState { pools: (Pool1 | CosmWasmPool | Pool2 | Pool3 | Any)[] | Any[]; /** will be renamed to next_pool_id in an upcoming version */ nextPoolNumber: bigint; params: Params; migrationRecords?: MigrationRecords; } export interface GenesisStateProtoMsg { typeUrl: "/osmosis.gamm.v1beta1.GenesisState"; value: Uint8Array; } export type GenesisStateEncoded = Omit<GenesisState, "pools"> & { pools: (Pool1ProtoMsg | CosmWasmPoolProtoMsg | Pool2ProtoMsg | Pool3ProtoMsg | AnyProtoMsg)[]; }; /** GenesisState defines the gamm module's genesis state. */ export interface GenesisStateAmino { pools?: AnyAmino[]; /** will be renamed to next_pool_id in an upcoming version */ next_pool_number?: string; params?: ParamsAmino; migration_records?: MigrationRecordsAmino; } export interface GenesisStateAminoMsg { type: "osmosis/gamm/genesis-state"; value: GenesisStateAmino; } /** GenesisState defines the gamm module's genesis state. */ export interface GenesisStateSDKType { pools: (Pool1SDKType | CosmWasmPoolSDKType | Pool2SDKType | Pool3SDKType | AnySDKType)[]; next_pool_number: bigint; params: ParamsSDKType; migration_records?: MigrationRecordsSDKType; } export declare const Params: { typeUrl: string; aminoType: string; is(o: any): o is Params; isSDK(o: any): o is ParamsSDKType; isAmino(o: any): o is ParamsAmino; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromPartial(object: Partial<Params>): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; toAminoMsg(message: Params): ParamsAminoMsg; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; }; 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; };

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