Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleGenesis ¶
HandleGenesis handles the genesis operations for the history module, storing the initial history data
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the module that allows to store historic information
func NewModule ¶
func NewModule(messagesParser messages.MessageAddressesParser, encodingConfig *params.EncodingConfig, db *database.Db) *Module
NewModule allows to build a new Module instance
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis(doc *tmtypes.GenesisDoc, _ map[string]json.RawMessage) error
HandleGenesis implements modules.GenesisModule
Source Files
¶
Click to show internal directories.
Click to hide internal directories.