v152

package
v0.0.0-...-96f998e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPoolCreationFee = sdk.NewCoin("uiris", sdkmath.NewIntWithDecimal(2000, 6))
	DefaultTaxRate         = sdkmath.LegacyNewDecWithPrec(4, 1)
)

Parameter store keys

Functions

func Migrate

func Migrate(
	ctx sdk.Context,
	k FarmKeeper,
	ak types.AccountKeeper,
	legacySubspace types.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             sdkmath.LegacyDec `` /* 129-byte string literal not displayed */
}

func GetLegacyParams

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

GetLegacyParams gets the parameters for the coinswap module.

func (*Params) ParamSetPairs

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

ParamSetPairs implements paramtypes.KeyValuePairs

Jump to

Keyboard shortcuts

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