Protocol Documentation
Table of Contents
-
centerchain/liquidity/v1/tx.proto
-
Scalar Value Types
centerchain/liquidity/v1/tx.proto
MsgAcceptOwnershipTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgAcceptOwnershipTransferResponse
MsgActivateEmergencyOwnershipTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| pool_id | uint64 |
MsgActivateEmergencyOwnershipTransferResponse
MsgAddLiquidity
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| amount0 | cosmos.base.v1beta1.Coin | ||
| amount1 | cosmos.base.v1beta1.Coin | ||
| min_shares | string |
MsgAddLiquidityResponse
| Field | Type | Label | Description |
|---|---|---|---|
| shares | string |
MsgCancelFeeUpdate
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgCancelFeeUpdateResponse
MsgCancelOwnershipTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgCancelOwnershipTransferResponse
MsgClaimFarm
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgClaimFarmResponse
| Field | Type | Label | Description |
|---|---|---|---|
| claimed | cosmos.base.v1beta1.Coin | repeated |
MsgClosePool
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| pool_id | uint64 |
MsgClosePoolResponse
MsgCreateEmissionSchedule
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| budget | cosmos.base.v1beta1.Coin | ||
| start_height | int64 | ||
| end_height | int64 |
MsgCreateEmissionScheduleResponse
MsgCreatePool
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom0 | string | ||
| denom1 | string | ||
| initial_amount0 | cosmos.base.v1beta1.Coin | ||
| initial_amount1 | cosmos.base.v1beta1.Coin | ||
| swap_fee_ppm | uint64 | ||
| lp_fee_share_ppm | uint64 | ||
| staking_fee_share_ppm | uint64 | ||
| farm_lock_duration_blocks | uint64 |
MsgCreatePoolResponse
| Field | Type | Label | Description |
|---|---|---|---|
| pool_id | uint64 | ||
| lp_share_denom | string |
MsgDepositFarm
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| amount | string |
MsgDepositFarmResponse
| Field | Type | Label | Description |
|---|---|---|---|
| position | string |
MsgEmergencyPausePool
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| pool_id | uint64 |
MsgEmergencyPausePoolResponse
MsgEmergencyUnpausePool
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| pool_id | uint64 |
MsgEmergencyUnpausePoolResponse
MsgPausePool
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgPausePoolResponse
MsgRecoverPoolCoins
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| account_type | string | ||
| coin | cosmos.base.v1beta1.Coin |
MsgRecoverPoolCoinsResponse
MsgRefundEmissionSchedule
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgRefundEmissionScheduleResponse
| Field | Type | Label | Description |
|---|---|---|---|
| refunded | cosmos.base.v1beta1.Coin |
MsgRegisterIBCDenom
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| denom | string | ||
| full_trace | string | ||
| source_port | string | ||
| source_channel | string | ||
| base_denom | string |
MsgRegisterIBCDenomResponse
MsgRemoveIBCDenom
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| denom | string |
MsgRemoveIBCDenomResponse
MsgRemoveLiquidity
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| shares | string | ||
| min_amount0 | cosmos.base.v1beta1.Coin | ||
| min_amount1 | cosmos.base.v1beta1.Coin |
MsgRemoveLiquidityResponse
| Field | Type | Label | Description |
|---|---|---|---|
| amount0 | cosmos.base.v1beta1.Coin | ||
| amount1 | cosmos.base.v1beta1.Coin |
MsgRequestEmergencyOwnershipTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| pool_id | uint64 | ||
| new_owner | string |
MsgRequestEmergencyOwnershipTransferResponse
| Field | Type | Label | Description |
|---|---|---|---|
| activation_height | int64 |
MsgRequestFeeUpdate
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| swap_fee_ppm | uint64 | ||
| lp_fee_share_ppm | uint64 | ||
| staking_fee_share_ppm | uint64 |
MsgRequestFeeUpdateResponse
| Field | Type | Label | Description |
|---|---|---|---|
| activation_height | int64 |
MsgRequestOwnershipTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| new_owner | string |
MsgRequestOwnershipTransferResponse
| Field | Type | Label | Description |
|---|---|---|---|
| activation_height | int64 |
MsgSwapExactAmountIn
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| token_in | cosmos.base.v1beta1.Coin | ||
| token_out_denom | string | ||
| token_out_min_amount | string |
MsgSwapExactAmountInResponse
| Field | Type | Label | Description |
|---|---|---|---|
| token_out | cosmos.base.v1beta1.Coin |
MsgSwapExactAmountOut
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| token_out | cosmos.base.v1beta1.Coin | ||
| token_in_denom | string | ||
| token_in_max_amount | string |
MsgSwapExactAmountOutResponse
| Field | Type | Label | Description |
|---|---|---|---|
| token_in | cosmos.base.v1beta1.Coin |
MsgUnpausePool
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 |
MsgUnpausePoolResponse
MsgUpdateEmissionSchedule
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| additional_budget | cosmos.base.v1beta1.Coin | ||
| end_height | int64 |
MsgUpdateEmissionScheduleResponse
MsgUpdateParams
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | ||
| params | Params |
MsgUpdateParamsResponse
MsgWithdrawFarm
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| pool_id | uint64 | ||
| amount | string | ||
| emergency | bool |
MsgWithdrawFarmResponse
| Field | Type | Label | Description |
|---|---|---|---|
| claimed | cosmos.base.v1beta1.Coin | repeated | |
| position | string |