Skip to main content
Glama
params.d.ts5.96 kB
import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../binary"; export interface Params { /** * authorized_tick_spacing is an array of uint64s that represents the tick * spacing values concentrated-liquidity pools can be created with. For * example, an authorized_tick_spacing of [1, 10, 30] allows for pools * to be created with tick spacing of 1, 10, or 30. */ authorizedTickSpacing: bigint[]; authorizedSpreadFactors: string[]; /** * balancer_shares_reward_discount is the rate by which incentives flowing * from CL to Balancer pools will be discounted to encourage LPs to migrate. * e.g. a rate of 0.05 means Balancer LPs get 5% less incentives than full * range CL LPs. * This field can range from (0,1]. If set to 1, it indicates that all * incentives stay at cl pool. */ balancerSharesRewardDiscount: string; /** * authorized_quote_denoms is a list of quote denoms that can be used as * token1 when creating a pool. We limit the quote assets to a small set for * the purposes of having convenient price increments stemming from tick to * price conversion. These increments are in a human readable magnitude only * for token1 as a quote. For limit orders in the future, this will be a * desirable property in terms of UX as to allow users to set limit orders at * prices in terms of token1 (quote asset) that are easy to reason about. */ authorizedQuoteDenoms: string[]; authorizedUptimes: Duration[]; /** * is_permissionless_pool_creation_enabled is a boolean that determines if * concentrated liquidity pools can be created via message. At launch, * we consider allowing only governance to create pools, and then later * allowing permissionless pool creation by switching this flag to true * with a governance proposal. */ isPermissionlessPoolCreationEnabled: boolean; /** * unrestricted_pool_creator_whitelist is a list of addresses that are * allowed to bypass restrictions on permissionless supercharged pool * creation, like pool_creation_enabled, restricted quote assets, no * double creation of pools, etc. */ unrestrictedPoolCreatorWhitelist: string[]; hookGasLimit: bigint; } export interface ParamsProtoMsg { typeUrl: "/osmosis.concentratedliquidity.Params"; value: Uint8Array; } export interface ParamsAmino { /** * authorized_tick_spacing is an array of uint64s that represents the tick * spacing values concentrated-liquidity pools can be created with. For * example, an authorized_tick_spacing of [1, 10, 30] allows for pools * to be created with tick spacing of 1, 10, or 30. */ authorized_tick_spacing?: string[]; authorized_spread_factors?: string[]; /** * balancer_shares_reward_discount is the rate by which incentives flowing * from CL to Balancer pools will be discounted to encourage LPs to migrate. * e.g. a rate of 0.05 means Balancer LPs get 5% less incentives than full * range CL LPs. * This field can range from (0,1]. If set to 1, it indicates that all * incentives stay at cl pool. */ balancer_shares_reward_discount?: string; /** * authorized_quote_denoms is a list of quote denoms that can be used as * token1 when creating a pool. We limit the quote assets to a small set for * the purposes of having convenient price increments stemming from tick to * price conversion. These increments are in a human readable magnitude only * for token1 as a quote. For limit orders in the future, this will be a * desirable property in terms of UX as to allow users to set limit orders at * prices in terms of token1 (quote asset) that are easy to reason about. */ authorized_quote_denoms?: string[]; authorized_uptimes?: DurationAmino[]; /** * is_permissionless_pool_creation_enabled is a boolean that determines if * concentrated liquidity pools can be created via message. At launch, * we consider allowing only governance to create pools, and then later * allowing permissionless pool creation by switching this flag to true * with a governance proposal. */ is_permissionless_pool_creation_enabled?: boolean; /** * unrestricted_pool_creator_whitelist is a list of addresses that are * allowed to bypass restrictions on permissionless supercharged pool * creation, like pool_creation_enabled, restricted quote assets, no * double creation of pools, etc. */ unrestricted_pool_creator_whitelist?: string[]; hook_gas_limit?: string; } export interface ParamsAminoMsg { type: "osmosis/concentratedliquidity/params"; value: ParamsAmino; } export interface ParamsSDKType { authorized_tick_spacing: bigint[]; authorized_spread_factors: string[]; balancer_shares_reward_discount: string; authorized_quote_denoms: string[]; authorized_uptimes: DurationSDKType[]; is_permissionless_pool_creation_enabled: boolean; unrestricted_pool_creator_whitelist: string[]; hook_gas_limit: bigint; } 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; };

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