MCPcopy Create free account
hub / github.com/chainbound/apollo / SmartFilterLogs

Method SmartFilterLogs

chainservice/cached_client.go:131–185  ·  view source on GitHub ↗

SmartFilterLogs splits up the range in equally large parts. It will concurrently try to get all the logs for the parts, but if one fails because the response was too large, it will split them up in smaller parts and do the same thing. NOTE: this is now done serially, because when doing it concurren

(ctx context.Context, addresses []common.Address, topics [][]common.Hash, fromBlock, toBlock *big.Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

FilterEventsMethod · 0.80
FilterGlobalEventsMethod · 0.80

Calls 2

FilterLogsMethod · 0.95
ErrorMethod · 0.45

Tested by

no test coverage detected