The library to facilitate smart contract and transaction analysis for EVM-compatible blockchains.
The repo is managed as a monorepo and workspaces can be found in crates
folder.
core
: common type definitions and core smart contract execution engine.reth
: providing execution context usingreth
database forcore
.jsonrpc
: providing execution context usingjsonrpc
forcore
.periphery
: high-level semantic operations on smart contracts, including cheatcodes.utils
: auto-loaded configuration, logging, and various utilities.knowledge
: (WIP) knowledge mining in historical transactions.analysis
: Dynamic taint analysis for transaction execution.
- Replay transactions
- Cheatcodes: Manipulate ERC20 contracts
- Contract code mining and RPC service
- Cache Etherscan contract source code and serve many useful RPCs:
- Contract source code query
- Mapping bytecode location to contract source code location
- Contract storage layout query
- Cache Etherscan contract source code and serve many useful RPCs:
- Contract invocation transaction indexing
- Collect all transactions (including those internal ones) that invoke a contract.
- Provide a index such that the query of all invocations on a contract code can be served.