Documentation
¶
Index ¶
- func GenerateCoinKey() (addr btypes.Address, pubkey crypto.PubKey, secret string, err error)
- func MakeCodec() *amino.Codec
- func QOSAppGenState(cdc *amino.Codec, appGenTxs []json.RawMessage) (appState json.RawMessage, err error)
- func QOSAppGenTx(cdc *amino.Codec, pk crypto.PubKey, genTxConfig config.GenTx) (appGenTx, cliPrint json.RawMessage, validator tmtypes.GenesisValidator, ...)
- func QOSAppInit() server.AppInit
- func RegisterCodec(cdc *amino.Codec)
- type GenesisState
- type QOSApp
- type QOSGenTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCoinKey ¶
默认地址
func QOSAppGenState ¶
func QOSAppGenState(cdc *amino.Codec, appGenTxs []json.RawMessage) (appState json.RawMessage, err error)
app_state初始配置项生成
func QOSAppGenTx ¶
func QOSAppGenTx(cdc *amino.Codec, pk crypto.PubKey, genTxConfig config.GenTx) ( appGenTx, cliPrint json.RawMessage, validator tmtypes.GenesisValidator, err error)
Generate a genesis transaction
func QOSAppInit ¶
func RegisterCodec ¶
Types ¶
type GenesisState ¶
type GenesisState struct {
CAPubKey crypto.PubKey `json:"ca_pub_key"`
Accounts []*account.QOSAccount `json:"accounts"`
}
QOS初始状态
Click to show internal directories.
Click to hide internal directories.