Expand description
Types, and traits to integrate pallet-revive with EVM.
Re-exports§
pub use rlp;
Modules§
- runtime
- Runtime types for integrating
pallet-revive
with the EVM.
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
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.
- 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.
- FeeHistory
Result - Filter
- filter
- 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
- Log
- log
- 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
Info - Receipt information
- Syncing
Progress - Syncing progress
- Tracer
Config - Tracer configuration used to trace calls.
- 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.
- Transaction
Trace - A transaction trace
- 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§
- Address
OrAddresses - Address(es)
- Block
Number OrTag - Block number or tag
- Block
Number OrTag OrHash - Block number, tag, or block hash
- Block
Tag - Block tag
earliest
: The lowest numbered block the client has available;finalized
: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination;safe
: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions;latest
: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions;pending
: A sample next block built by the client on top oflatest
and containing the set of transactions usually taken from local mempool. Before the merge transition is finalized, any call querying forfinalized
orsafe
block MUST be responded to with-39001: Unknown block
error - Bloom
Input - Call
Type - The type of call that was executed.
- Filter
Results - Filter results
- Filter
Topic - Filter Topic List Entry
- 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
- Syncing
Status - Syncing status
- Trace
- A Trace
- Tracer
- A composite tracer.
- Tracer
Type - The type of tracer to use. Only “callTracer” is supported for now.
- 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§
- BigEndian
Hash - GasEncoder
- Encodes/Decodes EVM gas values.
Functions§
- decode_
revert_ reason - Decodes and retrieves the reason for a revert from the provided output data.
- is_
empty - Returns true if the map has no
Some
element - serialize_
map_ skip_ none - Serializes a map, skipping
None
values.
Type Aliases§
- Access
List - Access list
- Address
- Addresses
- hex encoded address
- Filter
Topics - Filter Topics
- Public
- Secret
- Signature