hedera-smart-contracts icon indicating copy to clipboard operation
hedera-smart-contracts copied to clipboard

provide "bulk operation" wrappers for the raw bytecode analyzer and slither tools

Open david-bakin-sl opened this issue 8 months ago • 0 comments

Given the (new) raw bytecode analyzer script and slither tools, provide small wrappers to do operations on multiple contracts at a time. Input would be a file containing a list of contract accounts, output would be either a single file containing all of the analyzed contracts (with separate lines indicating the contract account for each analysis) or a directory with one-file-per-analyzed contract, each with the contract account as its name. Then the set of results could be looked at for totals, trends, whatever.

Though these scripts are probably pretty easy it is worth doing once only since we'll surely use them multiple times.

(See related issue https://github.com/hashgraph/hedera-services/issues/13955 where it is proposed we have a way to get a list of all mainnet/testnet/previewnet contracts, which could be used to feed the script proposed here.)

david-bakin-sl avatar Jun 20 '24 16:06 david-bakin-sl