Documentation
¶
Index ¶
- 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 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"` Validators []types.Validator `json:"validators"` SPOConfig types.SPOConfig `json:"spo_config"` StakeConfig types.StakeConfig `json:"stake_config"` }
QOS初始状态
type QOSGenTx ¶
type QOSGenTx struct {
Validator tmtypes.GenesisValidator `json:"validator"`
}
Click to show internal directories.
Click to hide internal directories.