types

package
v0.0.16-bugfix Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CetCoinType           = 688
	CetFullFundraiserPath = "44'/688'/0'/0/0"
)
View Source
const (
	E8 = 100000000

	CET              = "cet"
	DefaultBondDenom = CET // default bond denomination
)

Variables

View Source
var (
	// AddrLen defines a valid address length
	AddrLen = 20
	// Bech32MainPrefix defines the Bech32 prefix of an account's address
	Bech32MainPrefix = "coinex"
)

Functions

func InitSdkConfig

func InitSdkConfig()

Read in the configuration file for the sdk

func IsCET

func IsCET(coin sdk.Coin) bool

func NewCetCoin

func NewCetCoin(amount int64) sdk.Coin

func NewCetCoinE8

func NewCetCoinE8(amount int64) sdk.Coin

func NewCetCoins

func NewCetCoins(amount int64) sdk.Coins

func NewCetCoinsE8

func NewCetCoinsE8(amount int64) sdk.Coins

func ResponseFrom added in v0.0.13

func ResponseFrom(err sdk.Error) abci.ResponseCheckTx

func SafeJSONMarshal added in v0.0.15

func SafeJSONMarshal(msg interface{}) []byte

Types

type OrderedBasicManager added in v0.0.15

type OrderedBasicManager struct {
	module.BasicManager
	// contains filtered or unexported fields
}

func NewOrderedBasicManager added in v0.0.15

func NewOrderedBasicManager(modules []module.AppModuleBasic) OrderedBasicManager

func (OrderedBasicManager) AddQueryCommands added in v0.0.15

func (bm OrderedBasicManager) AddQueryCommands(rootQueryCmd *cobra.Command, cdc *codec.Codec)

func (OrderedBasicManager) AddTxCommands added in v0.0.15

func (bm OrderedBasicManager) AddTxCommands(rootTxCmd *cobra.Command, cdc *codec.Codec)

func (OrderedBasicManager) RegisterRESTRoutes added in v0.0.15

func (bm OrderedBasicManager) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)

func (OrderedBasicManager) ValidateGenesis added in v0.0.15

func (bm OrderedBasicManager) ValidateGenesis(genesis map[string]json.RawMessage) error

Jump to

Keyboard shortcuts

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