package tendermint.liquidity.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Msg

tx.proto:11

Msg defines the liquidity Msg service.

service Query

query.proto:13

Query defines the gRPC query service for the liquidity module.

message DepositMsgState

liquidity.proto:275

DepositMsgState defines the state of deposit message that contains state information as it is processed in the next batch or batches.

Used in: PoolRecord, QueryPoolBatchDepositMsgResponse, QueryPoolBatchDepositMsgsResponse

message GenesisState

genesis.proto:20

GenesisState defines the liquidity module's genesis state.

message MsgDepositWithinBatch

tx.proto:68

`MsgDepositWithinBatch defines` an `sdk.Msg` type that supports submitting a deposit request to the batch of the liquidity pool. Deposit is submitted to the batch of the Liquidity pool with the specified `pool_id`, `deposit_coins` for reserve. This request is stacked in the batch of the liquidity pool, is not processed immediately, and is processed in the `endblock` at the same time as other requests. See: https://github.com/tendermint/liquidity/blob/develop/x/liquidity/spec/04_messages.md

Used as request type in: Msg.DepositWithinBatch

Used as field type in: DepositMsgState

message MsgSwapWithinBatch

tx.proto:148

`MsgSwapWithinBatch` defines an sdk.Msg type that supports submitting a swap offer request to the batch of the liquidity pool. Submit swap offer to the liquidity pool batch with the specified the `pool_id`, `swap_type_id`, `demand_coin_denom` with the coin and the price you're offering and `offer_coin_fee` must be half of offer coin amount * current `params.swap_fee_rate` and ceil for reservation to pay fees. This request is stacked in the batch of the liquidity pool, is not processed immediately, and is processed in the `endblock` at the same time as other requests. You must request the same fields as the pool. Only the default `swap_type_id` 1 is supported. See: https://github.com/tendermint/liquidity/tree/develop/doc https://github.com/tendermint/liquidity/blob/develop/x/liquidity/spec/04_messages.md

Used as request type in: Msg.Swap

Used as field type in: SwapMsgState

message MsgWithdrawWithinBatch

tx.proto:109

`MsgWithdrawWithinBatch` defines an `sdk.Msg` type that supports submitting a withdraw request to the batch of the liquidity pool. Withdraw is submitted to the batch from the Liquidity pool with the specified `pool_id`, `pool_coin` of the pool. This request is stacked in the batch of the liquidity pool, is not processed immediately, and is processed in the `endblock` at the same time as other requests. See: https://github.com/tendermint/liquidity/blob/develop/x/liquidity/spec/04_messages.md

Used as request type in: Msg.WithdrawWithinBatch

Used as field type in: WithdrawMsgState

message Params

liquidity.proto:50

Params defines the parameters for the liquidity module.

Used in: GenesisState, QueryParamsResponse

message Pool

liquidity.proto:149

Pool defines the liquidity pool that contains pool information.

Used in: PoolRecord, QueryLiquidityPoolResponse, QueryLiquidityPoolsResponse

message PoolBatch

liquidity.proto:221

PoolBatch defines the batch or batches of a given liquidity pool that contains indexes of deposit, withdraw, and swap messages. Index param increments by 1 if the pool id is same.

Used in: PoolRecord, QueryLiquidityPoolBatchResponse

message PoolMetadata

liquidity.proto:188

Metadata for the state of each pool for invariant checking after genesis export or import.

Used in: PoolRecord

message PoolRecord

genesis.proto:10

records the state of each pool after genesis export or import, used to check variables

Used in: GenesisState

message PoolType

liquidity.proto:13

Structure for the pool type to distinguish the characteristics of the reserve pools.

Used in: Params

message QueryLiquidityPoolResponse

query.proto:378

the response type for the QueryLiquidityPoolResponse RPC method. Returns the liquidity pool that corresponds to the requested pool_id.

Used as response type in: Query.LiquidityPool, Query.LiquidityPoolByPoolCoinDenom, Query.LiquidityPoolByReserveAcc

message SwapMsgState

liquidity.proto:353

SwapMsgState defines the state of the swap message that contains state information as the message is processed in the next batch or batches.

Used in: PoolRecord, QueryPoolBatchSwapMsgResponse, QueryPoolBatchSwapMsgsResponse

message WithdrawMsgState

liquidity.proto:314

WithdrawMsgState defines the state of the withdraw message that contains state information as the message is processed in the next batch or batches.

Used in: PoolRecord, QueryPoolBatchWithdrawMsgResponse, QueryPoolBatchWithdrawMsgsResponse