diff --git a/README.md b/README.md index 7b42545c..ef149caa 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ cryo can extract the following datasets from EVM nodes: - `blocks` - `transactions` (alias = `txs`) - `logs` (alias = `events`) +- `contracts` - `traces` (alias = `call_traces`) - `state_diffs` (alias for `storage_diffs` + `balance_diff` + `nonce_diffs` + `code_diffs`) - `balance_diffs` @@ -95,6 +96,7 @@ Many `cryo` cli options will affect output schemas by adding/removing columns or |Blocks|1|1|`eth_getBlockByNumber`| |Transactions|1|multiple|`eth_getBlockByNumber`| |Logs|multiple|multiple|`eth_getLogs`| +|Contracts|1|multiple|`trace_block`| |Traces|1|multiple|`trace_block`| |State Diffs|1|multiple|`trace_replayBlockTransactions`| |Vm Traces|1|multiple|`trace_replayBlockTransactions`| @@ -117,6 +119,7 @@ Arguments: - blocks - transactions (alias = txs) - logs (alias = events) + - contracts - traces (alias = call_traces) - state_diffs (= balance + code + nonce + storage diffs) - balance_diffs diff --git a/crates/cli/src/args.rs b/crates/cli/src/args.rs index 98cfe735..82f46928 100644 --- a/crates/cli/src/args.rs +++ b/crates/cli/src/args.rs @@ -220,6 +220,7 @@ fn get_datatype_help() -> &'static str { - blocks - transactions (alias = txs) - logs (alias = events) +- contracts - traces (alias = call_traces) - state_diffs (= balance + code + nonce + storage diffs) - balance_diffs diff --git a/crates/python/python_tests/test_datatypes.py b/crates/python/python_tests/test_datatypes.py index 766240e9..b3cc0d2c 100644 --- a/crates/python/python_tests/test_datatypes.py +++ b/crates/python/python_tests/test_datatypes.py @@ -11,6 +11,7 @@ 'transactions', 'txs', 'logs', + 'contracts', 'traces', 'nonce_diffs', 'balance_diffs',