Structs§
- Event
Assets Swapped - Event
Pool Created - Event
Pool Exited - Event
Pool Joined - Genesis
State - GenesisState defines the spot module’s genesis state.
- MsgCreate
Pool - MsgCreate
Pool Response - MsgExit
Pool - MsgExit
Pool Response - MsgJoin
Pool - Message to join a pool (identified by poolId) with a set of tokens to deposit.
- MsgJoin
Pool Response - Response when a user joins a pool.
- MsgSwap
Assets - MsgSwap
Assets Response - Params
- Params defines the parameters for the module.
- Pool
- Pool
Asset - Which assets the pool contains.
- Pool
Params - Configuration parameters for the pool.
- Query
Exit Exact Amount InRequest - Query
Exit Exact Amount InResponse - Query
Exit Exact Amount OutRequest - Query
Exit Exact Amount OutResponse - Query
Join Exact Amount InRequest - Query
Join Exact Amount InResponse - Query
Join Exact Amount OutRequest - Query
Join Exact Amount OutResponse - Query
NumPools Request - Query
NumPools Response - Query
Params Request - QueryParamsRequest is request type for the Query/Params RPC method.
- Query
Params Response - QueryParamsResponse is response type for the Query/Params RPC method.
- Query
Pool Number Request - Query
Pool Number Response - Query
Pool Params Request - Query
Pool Params Response - Query
Pool Request - Query
Pool Response - Query
Pools Request - Query
Pools Response - Query
Spot Price Request - 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”.
- Query
Spot Price Response - Query
Swap Exact Amount InRequest - Given an exact amount of tokens in and a target tokenOutDenom, calculates the expected amount of tokens out received from a swap.
- Query
Swap Exact Amount InResponse - Query
Swap Exact Amount OutRequest - Given an exact amount of tokens out and a target tokenInDenom, calculates the expected amount of tokens in required to do the swap.
- Query
Swap Exact Amount OutResponse - Query
Total Liquidity Request
- Query
Total Liquidity Response - Query
Total Pool Liquidity Request
- Query
Total Pool Liquidity Response - Query
Total Shares Request - Query
Total Shares Response
Enums§
- Pool
Type 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