Documentation ¶
Index ¶
- Constants
- Variables
- type Module
- func (m *Module) AutoMigrate() error
- func (m *Module) ExtractEventStatements(ctx context.Context, block *tmctypes.ResultBlock, txHash common.Hash, ...) (map[string][]interface{}, error)
- func (m *Module) HandleEvent(ctx context.Context, block *tmctypes.ResultBlock, txHash common.Hash, ...) error
- func (m *Module) Name() string
- func (m *Module) PrepareTables() error
Constants ¶
View Source
const (
ModuleName = "object"
)
Variables ¶
View Source
var ( EventCreateObject = proto.MessageName(&storagetypes.EventCreateObject{}) EventCancelCreateObject = proto.MessageName(&storagetypes.EventCancelCreateObject{}) EventSealObject = proto.MessageName(&storagetypes.EventSealObject{}) EventCopyObject = proto.MessageName(&storagetypes.EventCopyObject{}) EventDeleteObject = proto.MessageName(&storagetypes.EventDeleteObject{}) EventRejectSealObject = proto.MessageName(&storagetypes.EventRejectSealObject{}) EventDiscontinueObject = proto.MessageName(&storagetypes.EventDiscontinueObject{}) EventUpdateObjectInfo = proto.MessageName(&storagetypes.EventUpdateObjectInfo{}) )
View Source
var ObjectEvents = map[string]bool{ EventCreateObject: true, EventCancelCreateObject: true, EventSealObject: true, EventCopyObject: true, EventDeleteObject: true, EventRejectSealObject: true, EventDiscontinueObject: true, EventUpdateObjectInfo: true, }
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the object module
func (*Module) ExtractEventStatements ¶
func (*Module) HandleEvent ¶
Click to show internal directories.
Click to hide internal directories.