synapsecns/sanguine

View on GitHub
ethergo/chain/chainwatcher/contract_watcher.go

Summary

Maintainability
A
0 mins
Test Coverage
package chainwatcher

import (
    "context"
)

// ContractWatcher is a contract watcher.
type ContractWatcher interface {
    ListenOnContract(ctx context.Context, contractAddress string, eventLog chan interface{}) error
}