config

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// key for constant fee parameter
	ParamStoreKeyLockCreateFee        = []byte("LockCreateFee")
	ParamStoreKeyDepositBoxCreateFee  = []byte("DepositBoxCreateFee")
	ParamStoreKeyFutureBoxCreateFee   = []byte("FutureBoxCreateFee")
	ParamStoreKeyBoxDisableFeatureFee = []byte("DisableFeatureFee")
	ParamStoreKeyBoxDescribeFee       = []byte("DescribeFee")
)

Functions

func ParamKeyTable

func ParamKeyTable() params.KeyTable

ParamKeyTable for auth module

Types

type Params

type Params struct {
	LockCreateFee       sdk.Coin `json:"lock_create_fee"`
	DepositBoxCreateFee sdk.Coin `json:"deposit_box_create_fee"`
	FutureBoxCreateFee  sdk.Coin `json:"future_box_create_fee"`
	DisableFeatureFee   sdk.Coin `json:"disable_feature_fee"`
	DescribeFee         sdk.Coin `json:"describe_fee"`
}

Param Config issue for issue

func DefaultParams

func DefaultParams(denom string) Params

DefaultParams returns a default set of parameters.

func (Params) Equal

func (dp Params) Equal(dp2 Params) bool

Checks equality of Params

func (*Params) ParamSetPairs

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

ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of auth module's parameters. nolint

func (Params) String

func (dp Params) String() string

Jump to

Keyboard shortcuts

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