Documentation ¶
Index ¶
- type Contracts
- type Indexer
- type Params
- type Processor
- func (ap *Processor) HandleGasEmission(ev event.Event)
- func (ap *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
- func (ap *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
- func (ap *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
- func (ap *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
- func (ap *Processor) TimersHandlers() []event.NotificationHandlerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contracts ¶ added in v0.16.0
type Contracts interface { // GetByIndex must return address of the // alphabet contract by index of the glagolitic // letter (e.g 0 for Az, 40 for Izhitsa). // // Must return false if index does not // match to any alphabet contract. GetByIndex(int) (util.Uint160, bool) }
Contracts is an interface of the storage of the alphabet contract addresses.
type Indexer ¶
type Indexer interface {
AlphabetIndex() int
}
Indexer is a callback interface for inner ring global state.
type Params ¶
type Params struct { Log *zap.Logger PoolSize int AlphabetContracts Contracts NetmapClient *nmWrapper.Wrapper MorphClient *client.Client IRList Indexer StorageEmission uint64 }
Params of the processor constructor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced for alphabet contracts in sidechain.
func (*Processor) HandleGasEmission ¶ added in v0.15.0
func (*Processor) ListenerNotaryHandlers ¶ added in v0.25.0
func (ap *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
ListenerNotaryHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerNotaryParsers ¶ added in v0.25.0
func (ap *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
ListenerNotaryParsers for the 'event.Listener' event producer.
func (*Processor) ListenerNotificationHandlers ¶ added in v0.25.0
func (ap *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
ListenerNotificationHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerNotificationParsers ¶ added in v0.25.0
func (ap *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
ListenerNotificationParsers for the 'event.Listener' event producer.
func (*Processor) TimersHandlers ¶
func (ap *Processor) TimersHandlers() []event.NotificationHandlerInfo
TimersHandlers for the 'Timers' event producer.
Click to show internal directories.
Click to hide internal directories.