export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. */ export interface V1Beta1Coin { denom?: string; amount?: string; } /** * DepositRequest defines a deposit request. */ export interface V1Beta1DepositRequest { /** * id specifies the id for the request * @format uint64 */ id?: string; /** * pool_id specifies the pool id * @format uint64 */ pool_id?: string; /** * msg_height specifies the block height when the request is stored for the batch execution * @format int64 */ msg_height?: string; /** depositor specifies the bech32-encoded address that makes a deposit to the pool */ depositor?: string; /** deposit_coins specifies the amount of coins to deposit. */ deposit_coins?: V1Beta1Coin[]; /** accepted_coins specifies the amount of coins that are accepted. */ accepted_coins?: V1Beta1Coin[]; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ minted_pool_coin?: V1Beta1Coin; /** * RequestStatus enumerates request statuses. * * - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status * - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet * - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded * - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed */ status?: V1Beta1RequestStatus; } /** * MsgCancelAllOrdersResponse defines the Msg/CancelAllOrders response type. */ export declare type V1Beta1MsgCancelAllOrdersResponse = object; /** * MsgCancelMMOrderResponse defines the Msg/CancelMMOrder response type. */ export declare type V1Beta1MsgCancelMMOrderResponse = object; /** * MsgCancelOrderResponse defines the Msg/CancelOrder response type. */ export declare type V1Beta1MsgCancelOrderResponse = object; export declare type V1Beta1MsgCreatePairResponse = object; /** * MsgCreatePoolResponse defines the Msg/CreatePool response type. */ export declare type V1Beta1MsgCreatePoolResponse = object; /** * MsgCreateRangedPoolResponse defines the Msg/CreateRangedPool response type. */ export declare type V1Beta1MsgCreateRangedPoolResponse = object; /** * MsgDepositResponse defines the Msg/Deposit response type. */ export declare type V1Beta1MsgDepositResponse = object; /** * MsgLimitOrderResponse defines the Msg/LimitOrder response type. */ export declare type V1Beta1MsgLimitOrderResponse = object; /** * MsgMMOrderResponse defines the Msg/MMOrder response type. */ export declare type V1Beta1MsgMMOrderResponse = object; /** * MsgMarketOrderResponse defines the Msg/MarketOrder response type. */ export declare type V1Beta1MsgMarketOrderResponse = object; export declare type V1Beta1MsgUpdatePairSwapFeeResponse = object; /** * MsgWithdrawResponse defines the Msg/Withdraw response type. */ export declare type V1Beta1MsgWithdrawResponse = object; /** * Order defines an order. */ export interface V1Beta1Order { /** * type specifies the typo of the order * OrderType enumerates order types. * * - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. * - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. * - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. * - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. */ type?: V1Beta1OrderType; /** * id specifies the id of the order * @format uint64 */ id?: string; /** * pair_id specifies the pair id * @format uint64 */ pair_id?: string; /** * msg_height specifies the block height when the order is stored for the batch execution * @format int64 */ msg_height?: string; /** orderer specifies the bech32-encoded address that makes an order */ orderer?: string; /** * direction specifies the order direction; either buy or sell * OrderDirection enumerates order directions. * * - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction * - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction * - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction */ direction?: V1Beta1OrderDirection; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ offer_coin?: V1Beta1Coin; /** * remaining_offer_coin specifies the remaining offer coin * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ remaining_offer_coin?: V1Beta1Coin; /** * received_coin specifies the received coin after the swap * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ received_coin?: V1Beta1Coin; /** price specifies the price that an orderer is willing to swap */ price?: string; amount?: string; open_amount?: string; /** * batch_id specifies the pair's batch id when the request is stored * @format uint64 */ batch_id?: string; /** @format date-time */ expire_at?: string; /** * OrderStatus enumerates order statuses. * * - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status * - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet * - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match * - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched * - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed * - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled * - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired */ status?: V1Beta1OrderStatus; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ swap_fee_coin?: V1Beta1Coin; } export interface V1Beta1OrderBookPairResponse { /** @format uint64 */ pair_id?: string; base_price?: string; order_books?: V1Beta1OrderBookResponse[]; } export interface V1Beta1OrderBookResponse { price_unit?: string; sells?: V1Beta1OrderBookTickResponse[]; buys?: V1Beta1OrderBookTickResponse[]; } export interface V1Beta1OrderBookTickResponse { price?: string; user_order_amount?: string; pool_order_amount?: string; } /** * OrderDirection enumerates order directions. - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction */ export declare enum V1Beta1OrderDirection { ORDER_DIRECTION_UNSPECIFIED = "ORDER_DIRECTION_UNSPECIFIED", ORDER_DIRECTION_BUY = "ORDER_DIRECTION_BUY", ORDER_DIRECTION_SELL = "ORDER_DIRECTION_SELL" } /** * OrderStatus enumerates order statuses. - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired */ export declare enum V1Beta1OrderStatus { ORDER_STATUS_UNSPECIFIED = "ORDER_STATUS_UNSPECIFIED", ORDER_STATUS_NOT_EXECUTED = "ORDER_STATUS_NOT_EXECUTED", ORDER_STATUS_NOT_MATCHED = "ORDER_STATUS_NOT_MATCHED", ORDER_STATUS_PARTIALLY_MATCHED = "ORDER_STATUS_PARTIALLY_MATCHED", ORDER_STATUS_COMPLETED = "ORDER_STATUS_COMPLETED", ORDER_STATUS_CANCELED = "ORDER_STATUS_CANCELED", ORDER_STATUS_EXPIRED = "ORDER_STATUS_EXPIRED" } /** * OrderType enumerates order types. - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. */ export declare enum V1Beta1OrderType { ORDER_TYPE_UNSPECIFIED = "ORDER_TYPE_UNSPECIFIED", ORDER_TYPE_LIMIT = "ORDER_TYPE_LIMIT", ORDER_TYPE_MARKET = "ORDER_TYPE_MARKET", ORDER_TYPE_MM = "ORDER_TYPE_MM" } /** * message SomeRequest { Foo some_parameter = 1; PageRequest pagination = 2; } */ export interface V1Beta1PageRequest { /** * key is a value returned in PageResponse.next_key to begin * querying the next page most efficiently. Only one of offset or key * should be set. * @format byte */ key?: string; /** * offset is a numeric offset that can be used when key is unavailable. * It is less efficient than using key. Only one of offset or key should * be set. * @format uint64 */ offset?: string; /** * limit is the total number of results to be returned in the result page. * If left empty it will default to a value to be set by each app. * @format uint64 */ limit?: string; /** * count_total is set to true to indicate that the result set should include * a count of the total number of items available for pagination in UIs. * count_total is only respected when offset is used. It is ignored when key * is set. */ count_total?: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ reverse?: boolean; } /** * PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } */ export interface V1Beta1PageResponse { /** * next_key is the key to be passed to PageRequest.key to * query the next page most efficiently. It will be empty if * there are no more results. * @format byte */ next_key?: string; /** * total is total number of results available if PageRequest.count_total * was set, its value is undefined otherwise * @format uint64 */ total?: string; } /** * Pair defines a coin pair. */ export interface V1Beta1Pair { /** @format uint64 */ id?: string; base_coin_denom?: string; quote_coin_denom?: string; escrow_address?: string; /** @format uint64 */ last_order_id?: string; last_price?: string; /** @format uint64 */ current_batch_id?: string; swap_fee_collector_address?: string; creator?: string; swap_fee_rate?: string; pair_creator_swap_fee_ratio?: string; } /** * Params defines the parameters for the liquidity module. */ export interface V1Beta1Params { /** @format int64 */ batch_size?: number; /** @format int64 */ tick_precision?: number; fee_collector_address?: string; dust_collector_address?: string; min_initial_pool_coin_supply?: string; pair_creation_fee?: V1Beta1Coin[]; pool_creation_fee?: V1Beta1Coin[]; min_initial_deposit_amount?: string; max_price_limit_ratio?: string; /** @format int64 */ max_num_market_making_order_ticks?: number; max_order_lifespan?: string; swap_fee_rate?: string; withdraw_fee_rate?: string; /** @format uint64 */ deposit_extra_gas?: string; /** @format uint64 */ withdraw_extra_gas?: string; /** @format uint64 */ order_extra_gas?: string; /** @format int64 */ max_num_active_pools_per_pair?: number; pair_creator_swap_fee_ratio?: string; } export interface V1Beta1PoolBalances { /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ base_coin?: V1Beta1Coin; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ quote_coin?: V1Beta1Coin; } /** * PoolResponse defines a custom pool response message. */ export interface V1Beta1PoolResponse { /** * PoolType enumerates pool types. * * - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type * - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type * - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type */ type?: V1Beta1PoolType; /** @format uint64 */ id?: string; /** @format uint64 */ pair_id?: string; creator?: string; reserve_address?: string; pool_coin_denom?: string; pool_coin_supply?: string; min_price?: string; max_price?: string; price?: string; balances?: V1Beta1PoolBalances; /** @format uint64 */ last_deposit_request_id?: string; /** @format uint64 */ last_withdraw_request_id?: string; disabled?: boolean; } /** * PoolType enumerates pool types. - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type */ export declare enum V1Beta1PoolType { POOL_TYPE_UNSPECIFIED = "POOL_TYPE_UNSPECIFIED", POOL_TYPE_BASIC = "POOL_TYPE_BASIC", POOL_TYPE_RANGED = "POOL_TYPE_RANGED" } /** * QueryDepositRequestResponse is response type for the Query/DepositRequest RPC method. */ export interface V1Beta1QueryDepositRequestResponse { /** DepositRequest defines a deposit request. */ deposit_request?: V1Beta1DepositRequest; } /** * QueryDepositRequestsResponse is response type for the Query/DepositRequests RPC method. */ export interface V1Beta1QueryDepositRequestsResponse { deposit_requests?: V1Beta1DepositRequest[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * QueryOrderBooksResponse is response type for Query/OrderBooks RPC method. */ export interface V1Beta1QueryOrderBooksResponse { pairs?: V1Beta1OrderBookPairResponse[]; } /** * QueryOrderResponse is response type for the Query/Order RPC method. */ export interface V1Beta1QueryOrderResponse { /** Order defines an order. */ order?: V1Beta1Order; } /** * QueryOrdersResponse is response type for the Query/Orders RPC method. */ export interface V1Beta1QueryOrdersResponse { orders?: V1Beta1Order[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * QueryPairResponse is response type for the Query/Pair RPC method. */ export interface V1Beta1QueryPairResponse { /** Pair defines a coin pair. */ pair?: V1Beta1Pair; } /** * QueryPairsByDenomsResponse is response type for the Query/Pairs RPC method. */ export interface V1Beta1QueryPairsByDenomsResponse { pairs?: V1Beta1Pair[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * QueryPairsResponse is response type for the Query/Pairs RPC method. */ export interface V1Beta1QueryPairsResponse { pairs?: V1Beta1Pair[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * QueryParamsResponse is response type for the Query/Params RPC method. */ export interface V1Beta1QueryParamsResponse { /** Params defines the parameters for the liquidity module. */ params?: V1Beta1Params; } /** * QueryPoolResponse is response type for the Query/Pool RPC method. */ export interface V1Beta1QueryPoolResponse { /** PoolResponse defines a custom pool response message. */ pool?: V1Beta1PoolResponse; } /** * QueryPoolsResponse is response type for the Query/Pools RPC method. */ export interface V1Beta1QueryPoolsResponse { pools?: V1Beta1PoolResponse[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * QueryWithdrawRequestResponse is response type for the Query/WithdrawRequest RPC method. */ export interface V1Beta1QueryWithdrawRequestResponse { /** WithdrawRequest defines a withdraw request. */ withdraw_request?: V1Beta1WithdrawRequest; } /** * QueryWithdrawRequestsResponse is response type for the Query/WithdrawRequests RPC method. */ export interface V1Beta1QueryWithdrawRequestsResponse { withdraw_requests?: V1Beta1WithdrawRequest[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } /** * RequestStatus enumerates request statuses. - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed */ export declare enum V1Beta1RequestStatus { REQUEST_STATUS_UNSPECIFIED = "REQUEST_STATUS_UNSPECIFIED", REQUEST_STATUS_NOT_EXECUTED = "REQUEST_STATUS_NOT_EXECUTED", REQUEST_STATUS_SUCCEEDED = "REQUEST_STATUS_SUCCEEDED", REQUEST_STATUS_FAILED = "REQUEST_STATUS_FAILED" } /** * WithdrawRequest defines a withdraw request. */ export interface V1Beta1WithdrawRequest { /** * id specifies the id for the request * @format uint64 */ id?: string; /** * pool_id specifies the pool id * @format uint64 */ pool_id?: string; /** * msg_height specifies the block height when the request is stored for the batch execution * @format int64 */ msg_height?: string; /** withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool */ withdrawer?: string; /** * pool_coin specifies the pool coin that is a proof of liquidity provider for the pool * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ pool_coin?: V1Beta1Coin; /** withdrawn_coins specifies the amount of coins that are withdrawn. */ withdrawn_coins?: V1Beta1Coin[]; /** * RequestStatus enumerates request statuses. * * - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status * - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet * - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded * - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed */ status?: V1Beta1RequestStatus; } import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios"; export declare type QueryParamsType = Record; export interface FullRequestParams extends Omit { /** set parameter to `true` for call `securityWorker` for this request */ secure?: boolean; /** request path */ path: string; /** content type of request body */ type?: ContentType; /** query params */ query?: QueryParamsType; /** format of response (i.e. response.json() -> format: "json") */ format?: ResponseType; /** request body */ body?: unknown; } export declare type RequestParams = Omit; export interface ApiConfig extends Omit { securityWorker?: (securityData: SecurityDataType | null) => Promise | AxiosRequestConfig | void; secure?: boolean; format?: ResponseType; } export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { instance: AxiosInstance; private securityData; private securityWorker?; private secure?; private format?; constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig); setSecurityData: (data: SecurityDataType | null) => void; private mergeRequestParams; private createFormData; request: ({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise>; } /** * @title mantrachain/liquidity/v1beta1/genesis.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Query * @name QueryOrderBooks * @request GET:/mantrachain/liquidity/v1beta1/order_books */ queryOrderBooks: (query?: { pair_ids?: string[]; price_unit_powers?: number[]; num_ticks?: number; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryOrdersByOrderer * @summary OrdersByOrderer returns orders made by an orderer. * @request GET:/mantrachain/liquidity/v1beta1/orders/{orderer} */ queryOrdersByOrderer: (orderer: string, query?: { pair_id?: string; "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPairs * @summary Pairs returns all liquidity pairs. * @request GET:/mantrachain/liquidity/v1beta1/pairs */ queryPairs: (query?: { denoms?: string[]; "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPair * @summary Pair returns the specific pair. * @request GET:/mantrachain/liquidity/v1beta1/pairs/{pair_id} */ queryPair: (pairId: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryOrders * @summary Orders returns all orders within the pair. * @request GET:/mantrachain/liquidity/v1beta1/pairs/{pair_id}/orders */ queryOrders: (pairId: string, query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryOrder * @summary Order returns the specific order. * @request GET:/mantrachain/liquidity/v1beta1/pairs/{pair_id}/orders/{id} */ queryOrder: (pairId: string, id: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPairsByDenoms * @summary Pairs returns all liquidity pairs by denoms. * @request GET:/mantrachain/liquidity/v1beta1/pairs_by_denoms */ queryPairsByDenoms: (query?: { denom1?: string; denom2?: string; "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryParams * @summary Params returns parameters of the module. * @request GET:/mantrachain/liquidity/v1beta1/params */ queryParams: (params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPools * @summary Pools returns all liquidity pools. * @request GET:/mantrachain/liquidity/v1beta1/pools */ queryPools: (query?: { pair_id?: string; disabled?: string; "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPoolByPoolCoinDenom * @summary PoolByPoolCoinDenom returns all pools that correspond to the pool coin denom. * @request GET:/mantrachain/liquidity/v1beta1/pools/pool_coin_denom/{pool_coin_denom} */ queryPoolByPoolCoinDenom: (poolCoinDenom: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPoolByReserveAddress * @summary PoolByReserveAddress returns all pools that correspond to the reserve account. * @request GET:/mantrachain/liquidity/v1beta1/pools/reserve_address/{reserve_address} */ queryPoolByReserveAddress: (reserveAddress: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryPool * @summary Pool returns the specific liquidity pool. * @request GET:/mantrachain/liquidity/v1beta1/pools/{pool_id} */ queryPool: (poolId: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryDepositRequests * @summary DepositRequests returns all deposit requests. * @request GET:/mantrachain/liquidity/v1beta1/pools/{pool_id}/deposit_requests */ queryDepositRequests: (poolId: string, query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryDepositRequest * @summary DepositRequest returns the specific deposit request. * @request GET:/mantrachain/liquidity/v1beta1/pools/{pool_id}/deposit_requests/{id} */ queryDepositRequest: (poolId: string, id: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryWithdrawRequests * @summary WithdrawRequests returns all withdraw requests. * @request GET:/mantrachain/liquidity/v1beta1/pools/{pool_id}/withdraw_requests */ queryWithdrawRequests: (poolId: string, query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryWithdrawRequest * @summary WithdrawRequest returns the specific withdraw request. * @request GET:/mantrachain/liquidity/v1beta1/pools/{pool_id}/withdraw_requests/{id} */ queryWithdrawRequest: (poolId: string, id: string, params?: RequestParams) => Promise>; }