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
	ParamStoreKeyIssueFee         = []byte("IssueFee")
	ParamStoreKeyMintFee          = []byte("MintFee")
	ParamStoreKeyFreezeFee        = []byte("FreezeFee")
	ParamStoreKeyUnFreezeFee      = []byte("UnfreezeFee")
	ParamStoreKeyBurnFee          = []byte("BurnFee")
	ParamStoreKeyBurnFromFee      = []byte("BurnFromFee")
	ParamStoreKeyTransferOwnerFee = []byte("TransferOwnerFee")
	ParamStoreKeyDescribeFee      = []byte("DescribeFee")
)

Functions

func ParamKeyTable

func ParamKeyTable() params.KeyTable

ParamKeyTable for auth module

Types

type Params

type Params struct {
	IssueFee         sdk.Coin `json:"issue_fee"`
	MintFee          sdk.Coin `json:"mint_fee"`
	FreezeFee        sdk.Coin `json:"freeze_fee"`
	UnFreezeFee      sdk.Coin `json:"unfreeze_fee"`
	BurnFee          sdk.Coin `json:"burn_fee"`
	BurnFromFee      sdk.Coin `json:"burn_from_fee"`
	TransferOwnerFee sdk.Coin `json:"transfer_owner_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