Documentation ¶
Index ¶
Constants ¶
View Source
const (
RestPoolID = "pool-id"
)
Rest variable names nolint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateLiquidityPoolReq ¶
type CreateLiquidityPoolReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` PoolCreator string `json:"pool_creator" yaml:"pool_creator"` PoolTypeIndex string `json:"pool_type_index" yaml:"pool_type_index"` ReserveCoinDenoms string `json:"reserve_coin_denoms" yaml:"reserve_coin_denoms"` DepositCoins string `json:"deposit_coins" yaml:"deposit_coins"` }
WithdrawLiquidityPoolReq defines the properties of a Deposit from liquidity Pool request's body
type DepositLiquidityPoolReq ¶
type DepositLiquidityPoolReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Depositor string `json:"depositor" yaml:"depositor"` PoolID string `json:"pool_id" yaml:"pool_id"` DepositCoins string `json:"deposit_coins_amount" yaml:"deposit_coins"` }
DepositLiquidityPoolReq defines the properties of a Deposit liquidity request's body
type SwapReq ¶
type SwapReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` SwapRequester string `json:"swap_requester" yaml:"swap_requester"` PoolID string `json:"pool_id" yaml:"pool_id"` PoolTypeIndex string `json:"pool_type_index" yaml:"pool_type_index"` SwapType string `json:"swap_type" yaml:"swap_type"` OfferCoin string `json:"offer_coin" yaml:"offer_coin"` DemandCoin string `json:"demand_coin" yaml:"demand_coin"` OrderPrice string `json:"order_price" yaml:"order_price"` }
DepositLiquidityPoolReq defines the properties of a Deposit liquidity request's body
type WithdrawLiquidityPoolReq ¶
type WithdrawLiquidityPoolReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Withdrawer string `json:"withdrawer" yaml:"withdrawer"` PoolID string `json:"pool_id" yaml:"pool_id"` PoolCoin string `json:"pool_coin_amount" yaml:"pool_coin"` }
WithdrawLiquidityPoolReq defines the properties of a Deposit from liquidity Pool request's body
Click to show internal directories.
Click to hide internal directories.