MCPcopy Create free account
hub / github.com/FirmaChain/firmachain / DefaultGenesis

Method DefaultGenesis

x/token/module.go:67–69  ·  view source on GitHub ↗

DefaultGenesis returns the module's default genesis state.

(cdc codec.JSONCodec)

Source from the content-addressed store, hash-verified

65
66// DefaultGenesis returns the module's default genesis state.
67func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage {
68 return cdc.MustMarshalJSON(types.DefaultGenesis())
69}
70
71// ValidateGenesis performs genesis state validation for the module.
72func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error {

Callers

nothing calls this directly

Calls 1

DefaultGenesisFunction · 0.92

Tested by

no test coverage detected