Crate alloy_eips

Source
Expand description

§alloy-eips

Ethereum Improvement Proprosal (EIP) implementations.

Contains constants, helpers, and basic data structures for consensus EIPs.

EIPs 2930 and 7702 are re-exported from alloy-rs/eips.

§Current support

Re-exports§

pub use eip1559::calc_next_block_base_fee;
pub use eip1898::BlockHashOrNumber;
pub use eip1898::BlockId;
pub use eip1898::BlockNumHash;
pub use eip1898::BlockNumberOrTag;
pub use eip1898::ForkBlock;
pub use eip1898::HashOrNumber;
pub use eip1898::NumHash;
pub use eip1898::RpcBlockHash;
pub use eip2718::Decodable2718;
pub use eip2718::Encodable2718;
pub use eip2718::Typed2718;
pub use eip4844::calc_blob_gasprice;
pub use eip4844::calc_excess_blob_gas;

Modules§

eip1559
EIP-1559 constants, helpers, and types.
eip1898
eip2124
Re-export the EIP-2124 types.
eip2718
EIP-2718 traits.
eip2930
Re-export the EIP-2930 types.
eip2935
Contains the history storage contract, first introduced in the Prague hardfork.
eip4788
EIP-4788 constants.
eip4844
EIP-4844 constants and helpers.
eip4895
EIP-4895 Withdrawal type and serde helpers.
eip6110
Contains Deposit request types, first introduced in the Prague hardfork.
eip7002
Contains the system contract and WithdrawalRequest types, first introduced in the Prague hardfork.
eip7251
Contains consolidation types, first introduced in the Prague hardfork.
eip7685
EIP-7685: General purpose execution layer requests
eip7691
Contains constants and utility functions for EIP-7691
eip7702
Re-export the EIP-7702 types.
eip7840
Contains constants and utility functions for EIP-7840
merge
Constants related to the beacon chain consensus.