Crate revm_primitives

source ·
Expand description

§revm-primitives

EVM primitive types.

Re-exports§

  • pub use kzg::EnvKzgSettings;
  • pub use alloy_primitives;
  • pub use alloy_primitives::bytes;
  • pub use alloy_primitives::hex;
  • pub use alloy_primitives::hex_literal;
  • pub use alloy_primitives::ruint;
  • pub use bitvec;
  • pub use env::*;
  • pub use precompile::*;
  • pub use result::*;
  • pub use specification::*;
  • pub use state::*;
  • pub use utilities::*;

Modules§

Macros§

  • Converts a sequence of string literals containing hex-encoded data into a new Address at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new B256 at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new Bytes at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new FixedBytes at compile time.
  • Macro for converting sequence of string literals containing hex-encoded data into an array of bytes.

Structs§

  • An Ethereum address, 20 bytes in length.
  • Wrapper type around [bytes::Bytes] to support “0x” prefixed hex strings.
  • EOF - Ethereum Object Format.
  • A byte array of fixed length ([u8; N]).
  • A hash map implemented with quadratic probing and SIMD lookup.
  • A hash set implemented as a HashMap where the value is ().
  • A map of valid jump destinations.
  • Stores the setup and parameters needed for computing KZG proofs.
  • Legacy analyzed
  • A log consists of an address, and some log data.
  • An Ethereum event log object.

Enums§

Constants§

Type Aliases§