v3

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyFee                 = []byte("Fee") // fee key
	DefaultPoolCreationFee = sdk.NewCoin("uiris", sdkmath.NewIntWithDecimal(5000, 6))
	DefaultTaxRate         = sdk.NewDecWithPrec(4, 1)
)

Parameter store keys

Functions

func Migrate

func Migrate(ctx sdk.Context, k CoinswapKeeper, paramSpace exported.Subspace) error

Types

type CoinswapKeeper

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

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"`
}

func GetLegacyParams

func GetLegacyParams(ctx sdk.Context, paramSpace 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