Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeyFee = []byte("Fee") KeyPoolCreationFee = []byte("PoolCreationFee") KeyTaxRate = []byte("TaxRate") UnilateralLiquidityFee = sdk.NewDecWithPrec(2, 3) )
Functions ¶
func Migrate ¶
func Migrate(ctx sdk.Context, k CoinswapKeeper, paramSpace paramstypes.Subspace) error
Types ¶
type CoinswapKeeper ¶
type Params ¶
type Params struct { Fee sdk.Dec `protobuf:"bytes,1,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"` PoolCreationFee sdk.Coin `protobuf:"bytes,2,opt,name=pool_creation_fee,json=poolCreationFee,proto3" json:"pool_creation_fee"` TaxRate sdk.Dec `protobuf:"bytes,3,opt,name=tax_rate,json=taxRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tax_rate"` }
func GetLegacyParams ¶
func GetLegacyParams(ctx sdk.Context, paramSpace paramstypes.Subspace) Params
GetLegacyParams gets the parameters for the coinswap module.
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
ParamSetPairs implements paramtypes.KeyValuePairs
Click to show internal directories.
Click to hide internal directories.