Documentation ¶
Index ¶
- Constants
- Variables
- func ConcatKeys(keys ...[]byte) []byte
- func ErrUnknownRequest(module string, msg sdk.Msg) sdk.Result
- func GetSymbol(stock, money string) string
- 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 NewCoins(denom string, amount int64) sdk.Coins
- func ResponseFrom(err sdk.Error) abci.ResponseCheckTx
- func SafeJSONMarshal(msg interface{}) []byte
- func SplitSymbol(symbol string) (stock, money string)
- 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 )
View Source
const (
SymbolSeparator = "/"
)
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 ¶
func ResponseFrom(err sdk.Error) abci.ResponseCheckTx
func SafeJSONMarshal ¶
func SafeJSONMarshal(msg interface{}) []byte
func SplitSymbol ¶
Types ¶
type OrderedBasicManager ¶
type OrderedBasicManager struct { module.BasicManager // contains filtered or unexported fields }
func NewOrderedBasicManager ¶
func NewOrderedBasicManager(modules []module.AppModuleBasic) OrderedBasicManager
func (OrderedBasicManager) AddQueryCommands ¶
func (bm OrderedBasicManager) AddQueryCommands(rootQueryCmd *cobra.Command, cdc *codec.Codec)
func (OrderedBasicManager) AddTxCommands ¶
func (bm OrderedBasicManager) AddTxCommands(rootTxCmd *cobra.Command, cdc *codec.Codec)
func (OrderedBasicManager) RegisterRESTRoutes ¶
func (bm OrderedBasicManager) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
func (OrderedBasicManager) ValidateGenesis ¶
func (bm OrderedBasicManager) ValidateGenesis(genesis map[string]json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.