Documentation ¶
Index ¶
- type AbigenContract
- type Broadcast
- type Broadcaster
- func (_m *Broadcaster) AddDependents(n int)
- func (_m *Broadcaster) AwaitDependents() <-chan struct{}
- func (_m *Broadcaster) Close() error
- func (_m *Broadcaster) DependentReady()
- func (_m *Broadcaster) Healthy() error
- func (_m *Broadcaster) IsConnected() bool
- func (_m *Broadcaster) MarkConsumed(db *gorm.DB, lb log.Broadcast) error
- func (_m *Broadcaster) OnNewLongestChain(ctx context.Context, head eth.Head)
- func (_m *Broadcaster) Ready() error
- func (_m *Broadcaster) Register(listener log.Listener, opts log.ListenerOpts) func()
- func (_m *Broadcaster) ReplayFromBlock(number int64)
- func (_m *Broadcaster) Start() error
- func (_m *Broadcaster) WasAlreadyConsumed(db *gorm.DB, lb log.Broadcast) (bool, error)
- type Config
- type Listener
- type ORM
- func (_m *ORM) FindConsumedLogs(fromBlockNum int64, toBlockNum int64) ([]log.LogBroadcast, error)
- func (_m *ORM) MarkBroadcastConsumed(tx *gorm.DB, blockHash common.Hash, blockNumber uint64, logIndex uint, ...) error
- func (_m *ORM) WasBroadcastConsumed(tx *gorm.DB, blockHash common.Hash, logIndex uint, jobID int32) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbigenContract ¶
AbigenContract is an autogenerated mock type for the AbigenContract type
func (*AbigenContract) Address ¶
func (_m *AbigenContract) Address() common.Address
Address provides a mock function with given fields:
type Broadcast ¶
Broadcast is an autogenerated mock type for the Broadcast type
func (*Broadcast) DecodedLog ¶
func (_m *Broadcast) DecodedLog() interface{}
DecodedLog provides a mock function with given fields:
func (*Broadcast) EVMChainID ¶ added in v1.10.17
EVMChainID provides a mock function with given fields:
func (*Broadcast) LatestBlockHash ¶
LatestBlockHash provides a mock function with given fields:
func (*Broadcast) LatestBlockNumber ¶
LatestBlockNumber provides a mock function with given fields:
type Broadcaster ¶
Broadcaster is an autogenerated mock type for the Broadcaster type
func (*Broadcaster) AddDependents ¶
func (_m *Broadcaster) AddDependents(n int)
AddDependents provides a mock function with given fields: n
func (*Broadcaster) AwaitDependents ¶
func (_m *Broadcaster) AwaitDependents() <-chan struct{}
AwaitDependents provides a mock function with given fields:
func (*Broadcaster) Close ¶
func (_m *Broadcaster) Close() error
Close provides a mock function with given fields:
func (*Broadcaster) DependentReady ¶
func (_m *Broadcaster) DependentReady()
DependentReady provides a mock function with given fields:
func (*Broadcaster) Healthy ¶
func (_m *Broadcaster) Healthy() error
Healthy provides a mock function with given fields:
func (*Broadcaster) IsConnected ¶
func (_m *Broadcaster) IsConnected() bool
IsConnected provides a mock function with given fields:
func (*Broadcaster) MarkConsumed ¶
MarkConsumed provides a mock function with given fields: db, lb
func (*Broadcaster) OnNewLongestChain ¶
func (_m *Broadcaster) OnNewLongestChain(ctx context.Context, head eth.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head
func (*Broadcaster) Ready ¶
func (_m *Broadcaster) Ready() error
Ready provides a mock function with given fields:
func (*Broadcaster) Register ¶
func (_m *Broadcaster) Register(listener log.Listener, opts log.ListenerOpts) func()
Register provides a mock function with given fields: listener, opts
func (*Broadcaster) ReplayFromBlock ¶
func (_m *Broadcaster) ReplayFromBlock(number int64)
ReplayFromBlock provides a mock function with given fields: number
func (*Broadcaster) Start ¶
func (_m *Broadcaster) Start() error
Start provides a mock function with given fields:
func (*Broadcaster) WasAlreadyConsumed ¶
WasAlreadyConsumed provides a mock function with given fields: db, lb
type Config ¶ added in v1.10.17
Config is an autogenerated mock type for the Config type
func (*Config) BlockBackfillDepth ¶ added in v1.10.17
BlockBackfillDepth provides a mock function with given fields:
func (*Config) BlockBackfillSkip ¶ added in v1.10.17
BlockBackfillSkip provides a mock function with given fields:
func (*Config) EvmFinalityDepth ¶ added in v1.10.17
EvmFinalityDepth provides a mock function with given fields:
func (*Config) EvmLogBackfillBatchSize ¶ added in v1.10.17
EvmLogBackfillBatchSize provides a mock function with given fields:
type Listener ¶
Listener is an autogenerated mock type for the Listener type
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func (*ORM) FindConsumedLogs ¶
FindConsumedLogs provides a mock function with given fields: fromBlockNum, toBlockNum