Class: Tracker

tracker/tracker.Tracker()

Ethereum taint tracker.

Constructor

new Tracker()

No parameters.
Source:
Fires:

Methods

(async) cancelTrace() → {undefined}

Request cancelation of a trace.
Source:
Returns:
Type
undefined

(async) traceAddresses(sourceHex, startBlockopt) → {undefined}

Trace addresses tainted by specified source. Starts asynchronous acquisition of all descendant tainting. Each newly tainted address fires event:Tracker#taint. Runs until extant chain data is exhausted. Returned promise resolves when finished.
Parameters:
Name Type Attributes Default Description
sourceHex string Source address of taint. As an address hex.
startBlock number <optional>
0 Start block of taint.
Source:
To Do:
  • Detect and use extant taint with same source.
Returns:
Type
undefined