Use this tool to find and analyze traces that touch certain target accounts.
This assumes your rpc is localhost:8545
. To change, edit ./cmd/find-traces
Set a list of target_address,target_label
in targets.csv
To gather all the traces that touch the targets, use
./cmd/find-traces <start block> <end block>
Results will land in data/find-traces-results.txt
, with each transaction trace object on its own line.
You can adjust the number of parallel jobs by changing -j 16
in ./find-traces
.
This command can be safely stopped and will pick up where it left off when restarted. To completely restart, first remove data/find-traces-joblog.txt
While ./cmd/find-traces
is still running or has finished, run:
./cmd/prettify-found-traces
This will watch for new traces and find the function signatures and contract names. Its output is data/pretty-traces.tsv
Once 2 and 3 are done, use ./cmd/create-spreadsheet
to create data/spreadsheet.xlsx