-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dreamer
committed
Aug 19, 2021
1 parent
ce9657b
commit 0a02d84
Showing
9 changed files
with
1,168 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package types | ||
|
||
const ( | ||
// QueryLiquidity is the liquidity query endpoint supported by the coinswap querier | ||
QueryLiquidity = "liquidity" | ||
// QueryPool is the liquidity query endpoint supported by the coinswap querier | ||
QueryPool = "pool" | ||
// QueryPools is the liquidity query endpoint supported by the coinswap querier | ||
QueryPools = "pools" | ||
) | ||
|
||
// QueryLiquidityParams is the query parameters for 'custom/swap/liquidity' | ||
type QueryLiquidityParams struct { | ||
Denom string `json:"denom" yaml:"denom"` // same as uniDenom | ||
// QueryPoolParams is the query parameters for 'custom/swap/liquidity' | ||
type QueryPoolParams struct { | ||
LptDenom string `json:"lpt-denom" yaml:"lpt-denom"` // same as uniDenom | ||
} |
Oops, something went wrong.