Module spot

Source

Structs§

EventAssetsSwapped
EventPoolCreated
EventPoolExited
EventPoolJoined
GenesisState
GenesisState defines the spot module’s genesis state.
MsgCreatePool
MsgCreatePoolResponse
MsgExitPool
MsgExitPoolResponse
MsgJoinPool
Message to join a pool (identified by poolId) with a set of tokens to deposit.
MsgJoinPoolResponse
Response when a user joins a pool.
MsgSwapAssets
MsgSwapAssetsResponse
Params
Params defines the parameters for the module.
Pool
PoolAsset
Which assets the pool contains.
PoolParams
Configuration parameters for the pool.
QueryExitExactAmountInRequest
QueryExitExactAmountInResponse
QueryExitExactAmountOutRequest
QueryExitExactAmountOutResponse
QueryJoinExactAmountInRequest
QueryJoinExactAmountInResponse
QueryJoinExactAmountOutRequest
QueryJoinExactAmountOutResponse
QueryNumPoolsRequest
QueryNumPoolsResponse
QueryParamsRequest
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is response type for the Query/Params RPC method.
QueryPoolNumberRequest
QueryPoolNumberResponse
QueryPoolParamsRequest
QueryPoolParamsResponse
QueryPoolRequest
QueryPoolResponse
QueryPoolsRequest
QueryPoolsResponse
QuerySpotPriceRequest
Returns the amount of tokenInDenom to produce 1 tokenOutDenom For example, if the price of NIBI = 9.123 NUSD, then setting tokenInDenom=NUSD and tokenOutDenom=NIBI would give “9.123”.
QuerySpotPriceResponse
QuerySwapExactAmountInRequest
Given an exact amount of tokens in and a target tokenOutDenom, calculates the expected amount of tokens out received from a swap.
QuerySwapExactAmountInResponse
QuerySwapExactAmountOutRequest
Given an exact amount of tokens out and a target tokenInDenom, calculates the expected amount of tokens in required to do the swap.
QuerySwapExactAmountOutResponse
QueryTotalLiquidityRequest

QueryTotalLiquidityResponse
QueryTotalPoolLiquidityRequest

QueryTotalPoolLiquidityResponse
QueryTotalSharesRequest
QueryTotalSharesResponse

Enums§

PoolType
balancer: Balancer are pools defined by the equation xy=k, extended by the weighs introduced by Balancer.stableswap: Stableswap pools are defined by a combination of constant-product and constant-sum pool