Expand description
cryo_freeze extracts EVM data to parquet, csv, or json
Modules§
- address_
appearances - address appearances
- balance_
diffs - balance diffs
- balance_
reads - balance reads
- balances
- balances
- blocks
- blocks
- chunks
- type specifications for cryo_freeze crate type specifications for chunk types
- code_
diffs - code diffs
- code_
reads - code reads
- codes
- codes
- collect_
by_ block - collect by block
- collect_
by_ transaction - collect by transaction
- collect_
generic - generic collection functions
- collection
- collection traits
- columns
- column data specification
- contracts
- contracts
- conversions
- conversion operations
- dataframes
- type specifications for dataframes
- datatypes
- type specifications for collectable types
- decoders
- decoders
- erc20_
balances - erc20 balances
- erc20_
metadata - erc20 metadata
- erc20_
supplies - erc20 supplies
- erc20_
transfers - erc20 transfers
- erc721_
metadata - erc721 metadata
- erc721_
transfers - erc721 transfers
- errors
- error specifications
- eth_
calls - eth calls
- execution
- execution environment
- files
- type specifications for output data formats
- four_
byte_ counts - four byte counts
- geth_
balance_ diffs - geth balance diffs
- geth_
calls - geth calls
- geth_
code_ diffs - geth code diffs
- geth_
nonce_ diffs - geth nonce diffs
- geth_
opcodes - geth opcodes
- geth_
state_ diffs - geth state diffs
- geth_
storage_ diffs - geth storage diffs
- javascript_
traces - javascript traces
- log_
decoder - log decoder
- logs
- logs
- meta
- meta datatypes
- native_
transfers - native transfers
- nonce_
diffs - nonce diffs
- nonce_
reads - nonce reads
- nonces
- nonces
- partitions
- partitions
- queries
- queries
- reports
- report generation
- rpc_
params - rpc_params
- schemas
- type specifications for data schemas
- signatures
- function and event signatures
- slots
- slots
- sources
- type specifications for data sources
- storage_
diffs - storage diffs
- storage_
reads - storage reads
- summaries
- types related to summaries
- trace_
calls - trace calls
- traces
- traces
- transactions
- transactions
- vm_
traces - vm traces
Macros§
- define_
datatypes - define datatypes
- source_
provider - extract the provider from a source and run specified method
- store
- store values in columns if column present in schema
- with_
series - convert a Vec to Series and add to Vec
- with_
series_ binary - convert a Vec to Series, as hex if specified, and add to Vec
- with_
series_ option_ u256 - convert a Vec<Option
> to variety of u256 Series representations - with_
series_ u256 - convert a Vec
to variety of u256 Series representations
Structs§
- Address
Appearances - columns for transactions
- Balance
Diffs - columns for transactions
- Balance
Reads - columns for transactions
- Balances
- columns for balances
- Blocks
- columns for transactions
- Blocks
AndTransactions - BlocksAndTransactions
- Call
Trace Derivatives - CallTraceDerivatives
- Chunk
Stats - statistics of a Chunk’s contents
- Code
Diffs - columns for transactions
- Code
Reads - columns for transactions
- Codes
- columns for balances
- Contracts
- columns for transactions
- EVENT_
ERC20_ TRANSFER - event hash of EVENT_ERC20_TRANSFER
- EVENT_
ERC721_ TRANSFER - event hash of EVENT_ERC721_TRANSFER
- Erc20
Balances - columns for transactions
- Erc20
Metadata - columns for transactions
- Erc20
Supplies - columns for transactions
- Erc20
Transfers - columns for transactions
- Erc721
Metadata - columns for transactions
- Erc721
Transfers - columns for transactions
- EthCalls
- columns for transactions
- Execution
Env - configuration of execution environment
- Execution
EnvBuilder - build ExecutionEnv using builder pattern
- FUNCTION_
ERC20_ BALANCE_ OF - function signature of FUNCTION_ERC20_BALANCE_OF
- FUNCTION_
ERC20_ DECIMALS - function signature of FUNCTION_ERC20_DECIMALS
- FUNCTION_
ERC20_ NAME - function signature of FUNCTION_ERC20_NAME
- FUNCTION_
ERC20_ SYMBOL - function signature of FUNCTION_ERC20_SYMBOL
- FUNCTION_
ERC20_ TOTAL_ SUPPLY - function signature of FUNCTION_ERC20_TOTAL_SUPPLY
- Fetcher
- Wrapper over
Provider<P>
that adds concurrency and rate limiting controls - File
Output - Options for file output
- Four
Byte Counts - columns for transactions
- Freeze
Summary - summary of a freeze
- Geth
Balance Diffs - columns for transactions
- Geth
Calls - columns for geth traces
- Geth
Code Diffs - columns for transactions
- Geth
Nonce Diffs - columns for transactions
- Geth
Opcodes - columns for geth traces
- Geth
State Diffs - state diffs from geth debug traces
- Geth
Storage Diffs - columns for transactions
- Javascript
Traces - columns for transactions
- LogDecoder
- container for log decoding context
- Logs
- columns for transactions
- Native
Transfers - columns for transactions
- Nonce
Diffs - columns for transactions
- Nonce
Reads - columns for transactions
- Nonces
- columns for balances
- Params
- represents parameters for a single rpc call
- Partition
- a group of chunks along multiple dimensions
- Partition
Labels - labels for Partition
- Query
- Query
- Query
Labels - query labels (non-functional)
- Slots
- columns for balances
- Source
- Options for fetching data from node
- Source
Labels - source labels (non-functional)
- State
Diffs - StateDiffs
- State
Reads - StateReads
- Storage
Diffs - columns for transactions
- Storage
Reads - columns for transactions
- Table
- Schema for a particular table
- Trace
Calls - columns for transactions
- Traces
- columns for transactions
- Transactions
- columns for transactions
- VmTraces
- columns for transactions
Enums§
- Chunk
- Chunk of data
- Chunk
Error - Error performing a chunk operation
- Collect
Error - Error related to data collection
- Column
Encoding - Encoding for binary data in a column
- Column
Type - datatype of column
- Datatype
- Datatypes
- Dim
- a dimension of chunking
- File
Error - Error related to file operations
- File
Format - File format
- Freeze
Error - Error related to running freeze function
- Meta
Datatype - datatype representing either a Datatype or MultiDatatype
- Multi
Datatype - enum of possible sets of datatypes that cryo can collect used when multiple datatypes are collected together
- Parse
Error - Error related to parsing
- SubDir
- Possible item to use as subdirectory
- Time
Dimension - Time dimension for queries
- U256
Type - representation of a U256 datum
Constants§
- CRYO_
VERSION - cryo version
Traits§
- Chunk
Data - Trait for common chunk methods
- Collect
ByBlock - defines how to collect dataset by block
- Collect
ByTransaction - defines how to collect dataset by block
- Column
Data - container for a dataset partition
- Dataset
- Dataset manages collection and management of a particular datatype
- Schema
Functions - funcitons for Schemas
- Subchunk
- Aggregation operations related to chunks
- ToData
Frames - converts to dataframes
- ToU256
Series - Converts a Vec of U256-like data into a polars Series
- ToVec
Hex - Encodes data as Vec of hex String
- ToVecU8
- Converts data to Vec
Functions§
- bytes_
to_ u32 - convert Bytes to u32
- cluster_
datatypes - cluster datatypes into MultiDatatype / ScalarDatatype groups
- collect
- collect single dataframe
- collect_
by_ block - collect by block
- collect_
by_ transaction - collect by transaction
- collect_
partition - collect single partition
- err
- return basic CollectError from str slice
- freeze
- collect data and output as files
- print_
all_ datasets - print all datasets
- print_
dataset_ info - print info about datasets
- read_
binary_ column - read single binary column of parquet file as Vec
Type Aliases§
- Address
Chunk - address chunk
- Block
Chunk - block chunk
- Call
Data Chunk - call data chunk
- R
- standard CollectError Result
- Rate
Limiter - RateLimiter based on governor crate
- Schemas
- collection of schemas
- Slot
Chunk - slot chunk
- Topic
Chunk - topic chunk
- Transaction
AndReceipt - tuple representing transaction and optional receipt
- Transaction
Chunk - transaction chunk