v152

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPoolCreationFee = sdk.NewCoin("uiris", 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,
	legacySubspace exported.Subspace,
) error

Types

type FarmKeeper

type FarmKeeper interface {
	SetParams(ctx sdk.Context, params types.Params) error
}

type Params

type Params struct {
	PoolCreationFee     sdk.Coin `` /* 149-byte string literal not displayed */
	MaxRewardCategories uint32   `` /* 163-byte string literal not displayed */
	TaxRate             sdk.Dec  `` /* 140-byte string literal not displayed */
}

func GetLegacyParams

func GetLegacyParams(ctx sdk.Context, legacySubspace exported.Subspace) Params

GetLegacyParams gets the parameters for the coinswap module.

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() exported.ParamSetPairs

ParamSetPairs implements paramtypes.KeyValuePairs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL