Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the Msg service.
CancelAllOrders defines a method for cancelling all orders
MsgCancelAllOrders defines an SDK message for cancelling all orders
orderer specifies the bech32-encoded address that makes an order
pair_ids specifies pair ids to cancel orders
MsgCancelAllOrdersResponse defines the Msg/CancelAllOrders response type.
(message has no fields)
CancelOrder defines a method for cancelling an order
MsgCancelOrder defines an SDK message for cancelling an order
orderer specifies the bech32-encoded address that makes an order
pair_id specifies the pair id
order_id specifies the order id
MsgCancelOrderResponse defines the Msg/CancelOrder response type.
(message has no fields)
CreatePair defines a method for creating a pair
MsgCreatePair defines an SDK message for creating a pair.
creator specifies the bech32-encoded address that is the pair creator.
base_coin_denom specifies the base coin denom of the pair.
quote_coin_denom specifies the quote coin denom of the pair.
(message has no fields)
CreatePool defines a method for creating a pool
MsgCreatePool defines an SDK message for creating a pool.
creator specifies the bech32-encoded address that is the pool creator
pair_id specifies the pair id.
deposit_coins specifies the amount of coins to deposit.
MsgCreatePoolResponse defines the Msg/CreatePool response type.
(message has no fields)
CreateRangePool defines a method for creating a ranged pool
MsgCreateRangedPool defines an SDK message for creating a ranged pool.
creator specifies the bech32-encoded address that is the pool creator
pair_id specifies the pair id.
deposit_coins specifies the amount of coins to deposit.
MsgCreateRangedPoolResponse defines the Msg/CreateRangedPool response type.
(message has no fields)
Deposit defines a method for depositing coins to the pool
MsgDeposit defines an SDK message for depositing coins to the pool
depositor specifies the bech32-encoded address that makes a deposit to the pool
pool_id specifies the pool id
deposit_coins specifies the amount of coins to deposit.
MsgDepositResponse defines the Msg/Deposit response type.
(message has no fields)
LimitOrder defines a method for making a limit order
MsgLimitOrder defines an SDK message for making a limit order
orderer specifies the bech32-encoded address that makes an order
pair_id specifies the pair id
direction specifies the order direction(buy or sell)
offer_coin specifies the amount of coin the orderer offers
demand_coin_denom specifies the demand coin denom
price specifies the order price
amount specifies the amount of base coin the orderer wants to buy or sell
order_lifespan specifies the order lifespan
MsgLimitOrderResponse defines the Msg/LimitOrder response type.
(message has no fields)
MsgMMOrder defines a method for making a MM(market making) order
MsgMMOrder defines an SDK message for making a MM(market making) order.
orderer specifies the bech32-encoded address that makes an order
pair_id specifies the pair id
direction specifies the order direction(buy or sell)
offer_coin specifies the amount of coin the orderer offers
demand_coin_denom specifies the demand coin denom
price specifies the order price
amount specifies the amount of base coin the orderer wants to buy or sell
order_lifespan specifies the order lifespan
MsgMMOrderResponse defines the Msg/MMOrder response type.
(message has no fields)
MarketOrder defines a method for making a market order
MsgMarketOrder defines an SDK message for making a market order
orderer specifies the bech32-encoded address that makes an order
pair_id specifies the pair id
direction specifies the order direction(buy or sell)
offer_coin specifies the amount of coin the orderer offers
demand_coin_denom specifies the demand coin denom
amount specifies the amount of base coin the orderer wants to buy or sell
order_lifespan specifies the order lifespan
MsgMarketOrderResponse defines the Msg/MarketOrder response type.
(message has no fields)
Withdraw defines a method for withdrawing pool coin from the pool
MsgWithdraw defines an SDK message for withdrawing pool coin from the pool
withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool
pool_id specifies the pool id
pool_coin specifies the pool coin that is a proof of liquidity provider for the pool
MsgWithdrawResponse defines the Msg/Withdraw response type.
(message has no fields)
Query defines the gRPC querier service.
DepositRequest returns the specific deposit request.
QueryDepositRequestRequest is request type for the Query/DepositRequest RPC method.
QueryDepositRequestResponse is response type for the Query/DepositRequest RPC method.
DepositRequests returns all deposit requests.
QueryDepositRequestsRequest is request type for the Query/DepositRequests RPC method.
QueryDepositRequestsResponse is response type for the Query/DepositRequests RPC method.
Order returns the specific order.
QueryOrderRequest is request type for the Query/Order RPC method.
QueryOrderResponse is response type for the Query/Order RPC method.
QueryOrderBooksRequest is request type for the Query/OrderBooks RPC method.
QueryOrderBooksResponse is response type for Query/OrderBooks RPC method.
Orders returns all orders within the pair.
QueryOrdersRequest is request type for the Query/Orders RPC method.
OrdersByOrderer returns orders made by an orderer.
QueryOrdersByOrdererRequest is request type for the Query/OrdersByOrderer RPC method.
Pair returns the specific pair.
QueryPairRequest is request type for the Query/Pair RPC method.
QueryPairResponse is response type for the Query/Pair RPC method.
Pairs returns all liquidity pairs.
QueryPairsRequest is request type for the Query/Pairs RPC method.
QueryPairsResponse is response type for the Query/Pairs RPC method.
Params returns parameters of the module.
QueryParamsRequest is request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is response type for the Query/Params RPC method.
Pool returns the specific liquidity pool.
QueryPoolRequest is request type for the Query/Pool RPC method.
PoolByPoolCoinDenom returns all pools that correspond to the pool coin denom.
QueryPoolByPoolCoinDenomRequest is request type for the Query/PoolByPoolCoinDenom RPC method.
PoolByReserveAddress returns all pools that correspond to the reserve account.
QueryPoolByReserveAddressRequest is request type for the Query/PoolByReserveAddress RPC method.
Pools returns all liquidity pools.
QueryPoolsRequest is request type for the Query/Pools RPC method.
QueryPoolsResponse is response type for the Query/Pools RPC method.
WithdrawRequest returns the specific withdraw request.
QueryWithdrawRequestRequest is request type for the Query/WithdrawRequest RPC method.
QueryWithdrawRequestResponse is response type for the Query/WithdrawRequest RPC method.
WithdrawRequests returns all withdraw requests.
QueryWithdrawRequestsRequest is request type for the Query/WithdrawRequests RPC method.
QueryWithdrawRequestsResponse is response type for the Query/WithdrawRequests RPC method.
DepositRequest defines a deposit request.
Used in: , ,
id specifies the id for the request
pool_id specifies the pool id
msg_height specifies the block height when the request is stored for the batch execution
depositor specifies the bech32-encoded address that makes a deposit to the pool
deposit_coins specifies the amount of coins to deposit.
accepted_coins specifies the amount of coins that are accepted.
GenesisState defines the liquidity module's genesis state.
NumMMOrdersRecord holds information about how many MM orders an orderer ordered per pair.
Used in:
Order defines an order.
Used in: , ,
type specifies the typo of the order
id specifies the id of the order
pair_id specifies the pair id
msg_height specifies the block height when the order is stored for the batch execution
orderer specifies the bech32-encoded address that makes an order
direction specifies the order direction; either buy or sell
remaining_offer_coin specifies the remaining offer coin
received_coin specifies the received coin after the swap
price specifies the price that an orderer is willing to swap
batch_id specifies the pair's batch id when the request is stored
Used in:
Used in:
Used in:
OrderDirection enumerates order directions.
Used in: , , ,
ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction
ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction
ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction
OrderStatus enumerates order statuses.
Used in:
ORDER_STATUS_UNSPECIFIED specifies unknown order status
ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet
ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match
ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched
ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed
ORDER_STATUS_CANCELED indicates the order has been canceled
ORDER_STATUS_EXPIRED indicates the order has been expired
OrderType enumerates order types.
Used in:
ORDER_TYPE_UNSPECIFIED specifies unknown order type.
ORDER_TYPE_LIMIT specifies limit order type.
ORDER_TYPE_MARKET specifies market order type.
ORDER_TYPE_MM specifies MM(market making) order type.
Pair defines a coin pair.
Used in: , ,
Params defines the parameters for the liquidity module.
Used in: ,
Pool defines generic liquidity pool object which can be either a basic pool or a ranged pool.
Used in:
Used in:
PoolResponse defines a custom pool response message.
Used in: ,
PoolType enumerates pool types.
Used in: ,
POOL_TYPE_UNSPECIFIED specifies unknown pool type
POOL_TYPE_BASIC specifies the basic pool type
POOL_TYPE_RANGED specifies the ranged pool type
QueryOrdersResponse is response type for the Query/Orders RPC method.
Used as response type in: Query.Orders, Query.OrdersByOrderer
QueryPoolResponse is response type for the Query/Pool RPC method.
Used as response type in: Query.Pool, Query.PoolByPoolCoinDenom, Query.PoolByReserveAddress
RequestStatus enumerates request statuses.
Used in: ,
REQUEST_STATUS_UNSPECIFIED specifies unknown request status
REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet
REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded
REQUEST_STATUS_FAILED indicates the request is failed
WithdrawRequest defines a withdraw request.
Used in: , ,
id specifies the id for the request
pool_id specifies the pool id
msg_height specifies the block height when the request is stored for the batch execution
withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool
pool_coin specifies the pool coin that is a proof of liquidity provider for the pool
withdrawn_coins specifies the amount of coins that are withdrawn.