Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWatch ¶
type IWatch interface {
Watch() error
Close() error
DoneSignal() <-chan struct{}
RegisterWatchEvent(events ...abs.Event) error
RegisterWatchTopics(topicsIndex int, topics ...common.Hash) error
RegisterEventHook(event abs.Event, f func(client *rpcclient.EvmClient, log types.Log) error) error
UpdateProcessedBlockNumber(num uint64) error
GetProcessedBlockNumber() uint64
GetContractDesc(addr string) (abs.ContractDesc, error)
}
func NewGeneralWatch ¶
func NewLoadBalanceGeneralWatch ¶
func NewLoadBalanceGeneralWatch(lb loadbalance.LoadBalance[*rpcclient.EvmClient], addrs []common.Address, ops *Options) (IWatch, error)
Click to show internal directories.
Click to hide internal directories.