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 = "virtual_group"
)
Variables ¶
View Source
var ( EventCreateLocalVirtualGroup = proto.MessageName(&vgtypes.EventCreateLocalVirtualGroup{}) EventDeleteLocalVirtualGroup = proto.MessageName(&vgtypes.EventDeleteLocalVirtualGroup{}) EventUpdateLocalVirtualGroup = proto.MessageName(&vgtypes.EventUpdateLocalVirtualGroup{}) EventCreateGlobalVirtualGroup = proto.MessageName(&vgtypes.EventCreateGlobalVirtualGroup{}) EventDeleteGlobalVirtualGroup = proto.MessageName(&vgtypes.EventDeleteGlobalVirtualGroup{}) EventUpdateGlobalVirtualGroup = proto.MessageName(&vgtypes.EventUpdateGlobalVirtualGroup{}) EventCreateGlobalVirtualGroupFamily = proto.MessageName(&vgtypes.EventCreateGlobalVirtualGroupFamily{}) EventDeleteGlobalVirtualGroupFamily = proto.MessageName(&vgtypes.EventDeleteGlobalVirtualGroupFamily{}) EventUpdateGlobalVirtualGroupFamily = proto.MessageName(&vgtypes.EventUpdateGlobalVirtualGroupFamily{}) )
View Source
var VirtualGroupEvents = map[string]bool{ EventCreateLocalVirtualGroup: true, EventDeleteLocalVirtualGroup: true, EventUpdateLocalVirtualGroup: true, EventCreateGlobalVirtualGroup: true, EventDeleteGlobalVirtualGroup: true, EventUpdateGlobalVirtualGroup: true, EventCreateGlobalVirtualGroupFamily: true, EventDeleteGlobalVirtualGroupFamily: true, EventUpdateGlobalVirtualGroupFamily: true, }
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the payment module
func (*Module) ExtractEventStatements ¶
func (*Module) HandleEvent ¶
Click to show internal directories.
Click to hide internal directories.