Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultPoolCreationFee = sdk.NewCoin("ufury", sdkmath.NewIntWithDecimal(2000, 6)) DefaultTaxRate = sdk.NewDecWithPrec(4, 1) )
Parameter store keys
Functions ¶
func Migrate ¶
func Migrate(ctx sdk.Context, k FarmKeeper, ak types.AccountKeeper, paramSpace paramstypes.Subspace) error
Types ¶
type Params ¶
type Params struct { PoolCreationFee sdk.Coin `` /* 149-byte string literal not displayed */ MaxRewardCategories uint32 `protobuf:"varint,2,opt,name=max_reward_categories,json=maxRewardCategories,proto3" json:"max_reward_categories,omitempty"` 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.