Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConsumerSectionCmd ¶
Types ¶
type DefaultGenesisIO ¶
type DefaultGenesisIO struct {
DefaultGenesisReader
}
func NewDefaultGenesisIO ¶
func NewDefaultGenesisIO() *DefaultGenesisIO
func (DefaultGenesisIO) AlterConsumerModuleState ¶
func (x DefaultGenesisIO) AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error
type DefaultGenesisReader ¶
type DefaultGenesisReader struct{}
func (DefaultGenesisReader) ReadGenesis ¶
func (d DefaultGenesisReader) ReadGenesis(cmd *cobra.Command) (*GenesisData, error)
type GenesisData ¶
type GenesisData struct { GenesisFile string GenDoc *tmtypes.GenesisDoc AppState map[string]json.RawMessage ConsumerModuleState *ccvtypes.ConsumerGenesisState }
func NewGenesisData ¶
func NewGenesisData(genesisFile string, genDoc *tmtypes.GenesisDoc, appState map[string]json.RawMessage, consumerModuleState *ccvtypes.ConsumerGenesisState) *GenesisData
type GenesisMutator ¶
type GenesisMutator interface {
AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error
}
Click to show internal directories.
Click to hide internal directories.