Documentation ¶
Index ¶
- func HandleBlock(block *tmctypes.ResultBlock, vals *tmctypes.ResultValidators, ...) error
- func HandleGenesis(appState map[string]json.RawMessage, cdc codec.Marshaler, ...) error
- func HandleMsg(tx *juno.Tx, msg sdk.Msg, cdc codec.Marshaler, db *database.BigDipperDb) error
- type Module
- func (m *Module) HandleBlock(block *tmctypes.ResultBlock, _ []*types.Tx, vals *tmctypes.ResultValidators) error
- func (m *Module) HandleGenesis(_ *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
- func (m *Module) HandleMsg(_ int, msg sdk.Msg, tx *types.Tx) error
- func (m *Module) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleBlock ¶
func HandleBlock( block *tmctypes.ResultBlock, vals *tmctypes.ResultValidators, stakingClient stakingtypes.QueryClient, cdc codec.Marshaler, db *database.BigDipperDb, ) error
HandleBlock represents a method that is called each time a new block is created
func HandleGenesis ¶
func HandleGenesis( appState map[string]json.RawMessage, cdc codec.Marshaler, db *database.BigDipperDb, ) error
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the x/staking module
func NewModule ¶
func NewModule(encodingConfig *params.EncodingConfig, grpcConnection *grpc.ClientConn, db *database.BigDipperDb) *Module
NewModule returns a new Module instance
func (*Module) HandleBlock ¶
func (m *Module) HandleBlock(block *tmctypes.ResultBlock, _ []*types.Tx, vals *tmctypes.ResultValidators) error
HandleBlock implements BlockModule
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis(_ *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
HandleGenesis implements GenesisModule
Click to show internal directories.
Click to hide internal directories.