Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implememented")
Functions ¶
func NewLoomchainFilter ¶
func NewLoomchainFilter(dappClient *client.DAppChainRPCClient) bind.ContractFilterer
Types ¶
type BlockHeight ¶
type BlockHeight string
type EthBlockFilter ¶
type EthBlockFilter struct { Addresses []loom.LocalAddress Topics [][]string }
type EthFilter ¶
type EthFilter struct { EthBlockFilter FromBlock BlockHeight ToBlock BlockHeight }
type LoomchainBackend ¶
type LoomchainBackend struct {
*client.DAppChainRPCClient
}
LoomchainBackend implments a bare bone ethcontract filterer
func (*LoomchainBackend) FilterLogs ¶
func (l *LoomchainBackend) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error)
func (*LoomchainBackend) SubscribeFilterLogs ¶
func (l *LoomchainBackend) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
Click to show internal directories.
Click to hide internal directories.