Expand description
Types, and traits to integrate pallet-revive with EVM.
Re-exports§
pub use rlp;
Modules§
- fees
- Contains the fee types that need to be configured for
pallet-transaction-payment. - runtime
- Runtime types for integrating
pallet-revivewith the EVM. - tx_
extension - Contains transaction extensions needed for ethereum compatability.
Macros§
- if_
ethbloom - Conditional compilation depending on whether ethereum-types is built with ethbloom support.
Structs§
- Access
List Entry - Access list entry
- Account
- A simple account that can sign transactions
- Authorization
List Entry - Authorization list entry for EIP-7702
- Block
- Block object
- Bloom
- Bloom hash type with 256 bytes (2048 bits) size.
- Bloom
Ref - Byte
u8wrapper type for encoding and decoding hex strings- Bytes
Vec<u8>wrapper type for encoding and decoding hex strings- Bytes8
[u8; 8]wrapper type for encoding and decoding hex strings- Bytes32
[u8; 32]wrapper type for encoding and decoding hex strings- Bytes256
[u8; 256]wrapper type for encoding and decoding hex strings- CallLog
- A log emitted during a call.
- Call
Trace - A smart contract execution call trace.
- Call
Tracer - A Tracer that reports logs and nested call traces transactions.
- Call
Tracer Config - The configuration for the call tracer.
- DryRun
Config - Configuration specific to a dry-run execution.
- Execution
Step - An execution step which can be either an EVM opcode or a PVM syscall.
- Execution
Trace - An execution trace containing the step-by-step execution of EVM opcodes and PVM syscalls. This matches Geth’s structLogger output format.
- Execution
Tracer - A tracer that traces opcode and syscall execution step-by-step.
- Execution
Tracer Config - The configuration for the execution tracer.
- From
StrRadix Err - The error type for parsing numbers from strings.
- Generic
Transaction - Transaction object generic to all types
- H32
- H64
- H128
- Fixed-size uninterpreted hash type with 16 bytes (128 bits) size.
- H160
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- H256
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- H264
- H512
- Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
- H520
- Input
OrData - Input of a
GenericTransaction - Prestate
Trace Info - The info of a prestate trace.
- Prestate
Tracer - A tracer that traces the prestate.
- Prestate
Tracer Config - The configuration for the prestate tracer.
- Receipt
GasInfo - Details needed to reconstruct the receipt info in the RPC layer without losing accuracy.
- State
Override - Per-account state overrides applied during
eth_calland similar simulation methods. - State
Override Set - A mapping from account addresses to their state overrides, used to temporarily modify account
state during
eth_calland similar simulation methods without affecting on-chain data. - Tracing
Config - Configuration specific to a tracing execution.
- Transaction1559
Signed - Signed 1559 Transaction
- Transaction1559
Unsigned - EIP-1559 transaction.
- Transaction2930
Signed - Signed 2930 Transaction
- Transaction2930
Unsigned - EIP-2930 transaction.
- Transaction4844
Signed - Signed 4844 Transaction
- Transaction4844
Unsigned - EIP-4844 transaction.
- Transaction7702
Signed - Signed 7702 Transaction
- Transaction7702
Unsigned - EIP-7702 transaction.
- Transaction
Info - Transaction information
- Transaction
Legacy Signed - Signed Legacy Transaction
- Transaction
Legacy Unsigned - Legacy transaction.
- Type
Eip1559 - Transaction type identifier: 2
- Type
Eip2930 - Transaction type identifier: 1
- Type
Eip4844 - Transaction type identifier: 3
- Type
Eip7702 - Transaction type identifier: 4
- Type
Legacy - Transaction type identifier: 0
- U64
- Little-endian large integer type Unsigned 64-bit integer.
- U128
- Little-endian large integer type 128-bit unsigned integer.
- U256
- Little-endian large integer type 256-bit unsigned integer.
- U512
- Little-endian large integer type 512-bits unsigned integer.
- Withdrawal
- Validator withdrawal
Enums§
- Bloom
Input - Call
Type - The type of call that was executed.
- Execution
Step Kind - The kind of execution step.
- From
DecStr Err - Conversion from decimal string error
- From
StrRadix ErrKind - A list of error categories encountered when parsing numbers.
- Hashes
OrTransaction Infos - Prestate
Trace - A prestate Trace
- Storage
Override - Specifies how an account’s storage should be overridden during a simulated call.
- Trace
- A Trace
- Tracer
- A composite tracer.
- Tracer
Type - The type of tracer to use.
- Transaction
Signed - Transaction
Unsigned
Constants§
- TYPE_
EIP1559 - Transaction value for type identifier: 2
- TYPE_
EIP2930 - Transaction value for type identifier: 1
- TYPE_
EIP4844 - Transaction value for type identifier: 3
- TYPE_
EIP7702 - Transaction value for type identifier: 4
- TYPE_
LEGACY - Transaction value for type identifier: 0
Traits§
Functions§
- decode_
revert_ reason - Decodes and retrieves the reason for a revert from the provided output data.
Type Aliases§
- Access
List - Access list
- Address
- Public
- Secret
- Signature