Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FormatUniABSPrefix defines the prefix of liquidity token FormatUniABSPrefix = "swap" // FormatUniDenom defines the name of liquidity token FormatUniDenom = "swap%s" )
Variables ¶
This section is empty.
Functions ¶
func GetCoinDenomFromUniDenom ¶
GetCoinDenomFromUniDenom returns the token denom by uni denom
func GetReservePoolAddr ¶
func GetReservePoolAddr(uniDenom string) sdk.AccAddress
GetReservePoolAddr returns the pool address for the provided liquidity denomination.
func GetUniDenomFromDenom ¶
GetUniDenomFromDenom returns the uni denom for the provided denomination.
func Migrate ¶
func Migrate(ctx sdk.Context, k CoinswapKeeper, bk coinswaptypes.BankKeeper, ak coinswaptypes.AccountKeeper, ) error
Types ¶
type CoinswapKeeper ¶
Click to show internal directories.
Click to hide internal directories.