Documentation ¶
Index ¶
- Constants
- Variables
- func InitSdkConfig()
- func IsCET(coin sdk.Coin) bool
- func NewCetCoin(amount int64) sdk.Coin
- func NewCetCoinE8(amount int64) sdk.Coin
- func NewCetCoins(amount int64) sdk.Coins
- func NewCetCoinsE8(amount int64) sdk.Coins
- func ResponseFrom(err sdk.Error) abci.ResponseCheckTx
- func SafeJSONMarshal(msg interface{}) []byte
- type OrderedBasicManager
- func (bm OrderedBasicManager) AddQueryCommands(rootQueryCmd *cobra.Command, cdc *codec.Codec)
- func (bm OrderedBasicManager) AddTxCommands(rootTxCmd *cobra.Command, cdc *codec.Codec)
- func (bm OrderedBasicManager) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
- func (bm OrderedBasicManager) ValidateGenesis(genesis map[string]json.RawMessage) error
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 NewCetCoin ¶
func NewCetCoinE8 ¶
func NewCetCoins ¶
func NewCetCoinsE8 ¶
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
Click to show internal directories.
Click to hide internal directories.