Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GovDenom = "unibi" CollDenom = "uust" StableDenom = "unusd" TreasuryPoolModuleAccount = "treasury_pool" PairSeparator = ":" WhitelistedColl = []string{CollDenom} GovStablePool = AssetPair{Token0: GovDenom, Token1: StableDenom} CollStablePool = AssetPair{Token0: CollDenom, Token1: StableDenom} ErrInvalidTokenPair = fmt.Errorf("invalid token pair") )
Functions ¶
func DenomsFromPoolName ¶
func PoolNameFromDenoms ¶
PoolNameFromDenoms returns a sorted string representing a pool of assets
func RawPoolNameFromDenoms ¶
RawPoolNameFromDenoms returns a string representing a pool of assets in the exact order the denoms were given as args
Types ¶
type AssetPair ¶
func (AssetPair) IsProperOrder ¶
type TokenPair ¶ added in v0.1.0
type TokenPair string
func NewTokenPairFromStr ¶ added in v0.1.0
func (TokenPair) GetBaseTokenDenom ¶ added in v0.1.0
func (TokenPair) GetQuoteTokenDenom ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.