Module pallet_revive::evm
source · Expand description
Types, and traits to integrate pallet-revive with EVM.
Re-exports§
pub use rlp;
Modules§
- Runtime types for integrating
pallet-revive
with the EVM.
Macros§
- Conditional compilation depending on whether ethereum-types is built with ethbloom support.
Structs§
- Access list entry
- A simple account that can sign transactions
- Block object
- Bloom hash type with 256 bytes (2048 bits) size.
u8
wrapper type for encoding and decoding hex stringsVec<u8>
wrapper type for encoding and decoding hex strings[u8; 8]
wrapper type for encoding and decoding hex strings[u8; 256]
wrapper type for encoding and decoding hex strings- The error type for parsing numbers from strings.
- Transaction object generic to all types
- Fixed-size uninterpreted hash type with 16 bytes (128 bits) size.
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
- log
- Receipt information
- Syncing progress
- Signed 1559 Transaction
- EIP-1559 transaction.
- Signed 2930 Transaction
- EIP-2930 transaction.
- Signed 4844 Transaction
- EIP-4844 transaction.
- Transaction information
- Signed Legacy Transaction
- Legacy transaction.
- Transaction type identifier: 2
- Transaction type identifier: 1
- Transaction type identifier: 3
- Transaction type identifier: 0
- Little-endian large integer type Unsigned 64-bit integer.
- Little-endian large integer type 128-bit unsigned integer.
- Little-endian large integer type 256-bit unsigned integer.
- Little-endian large integer type 512-bits unsigned integer.
- Validator withdrawal
Enums§
- Block number or tag
- Block number, tag, or block hash
- 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 - Conversion from decimal string error
- A list of error categories encountered when parsing numbers.
- Syncing status
Constants§
- Transaction value for type identifier: 2
- Transaction value for type identifier: 1
- Transaction value for type identifier: 3
- Transaction value for type identifier: 0
Traits§
Type Aliases§
- Access list