referrerpolicy=no-referrer-when-downgrade

Module evm

Module evm 

Source
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-revive with 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§

AccessListEntry
Access list entry
Account
A simple account that can sign transactions
AuthorizationListEntry
Authorization list entry for EIP-7702
Block
Block object
Bloom
Bloom hash type with 256 bytes (2048 bits) size.
BloomRef
Byte
u8 wrapper 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.
CallTrace
A smart contract execution call trace.
CallTracer
A Tracer that reports logs and nested call traces transactions.
CallTracerConfig
The configuration for the call tracer.
DryRunConfig
Configuration specific to a dry-run execution.
ExecutionStep
An execution step which can be either an EVM opcode or a PVM syscall.
ExecutionTrace
An execution trace containing the step-by-step execution of EVM opcodes and PVM syscalls. This matches Geth’s structLogger output format.
ExecutionTracer
A tracer that traces opcode and syscall execution step-by-step.
ExecutionTracerConfig
The configuration for the execution tracer.
FromStrRadixErr
The error type for parsing numbers from strings.
GenericTransaction
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
InputOrData
Input of a GenericTransaction
PrestateTraceInfo
The info of a prestate trace.
PrestateTracer
A tracer that traces the prestate.
PrestateTracerConfig
The configuration for the prestate tracer.
ReceiptGasInfo
Details needed to reconstruct the receipt info in the RPC layer without losing accuracy.
StateOverride
Per-account state overrides applied during eth_call and similar simulation methods.
StateOverrideSet
A mapping from account addresses to their state overrides, used to temporarily modify account state during eth_call and similar simulation methods without affecting on-chain data.
TracingConfig
Configuration specific to a tracing execution.
Transaction1559Signed
Signed 1559 Transaction
Transaction1559Unsigned
EIP-1559 transaction.
Transaction2930Signed
Signed 2930 Transaction
Transaction2930Unsigned
EIP-2930 transaction.
Transaction4844Signed
Signed 4844 Transaction
Transaction4844Unsigned
EIP-4844 transaction.
Transaction7702Signed
Signed 7702 Transaction
Transaction7702Unsigned
EIP-7702 transaction.
TransactionInfo
Transaction information
TransactionLegacySigned
Signed Legacy Transaction
TransactionLegacyUnsigned
Legacy transaction.
TypeEip1559
Transaction type identifier: 2
TypeEip2930
Transaction type identifier: 1
TypeEip4844
Transaction type identifier: 3
TypeEip7702
Transaction type identifier: 4
TypeLegacy
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§

BloomInput
CallType
The type of call that was executed.
ExecutionStepKind
The kind of execution step.
FromDecStrErr
Conversion from decimal string error
FromStrRadixErrKind
A list of error categories encountered when parsing numbers.
HashesOrTransactionInfos
PrestateTrace
A prestate Trace
StorageOverride
Specifies how an account’s storage should be overridden during a simulated call.
Trace
A Trace
Tracer
A composite tracer.
TracerType
The type of tracer to use.
TransactionSigned
TransactionUnsigned

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§

BigEndianHash

Functions§

decode_revert_reason
Decodes and retrieves the reason for a revert from the provided output data.

Type Aliases§

AccessList
Access list
Address
Public
Secret
Signature