Expand description

EVM execution pallet for Substrate

Re-exports

pub use crate::runner::Runner;
pub use fp_evm::Account;
pub use fp_evm::CallInfo;
pub use fp_evm::CreateInfo;
pub use fp_evm::ExecutionInfo;
pub use fp_evm::Log;
pub use fp_evm::Precompile;
pub use fp_evm::PrecompileFailure;
pub use fp_evm::PrecompileOutput;
pub use fp_evm::PrecompileResult;
pub use fp_evm::PrecompileSet;
pub use fp_evm::Vicinity;
pub use pallet::*;

Modules

The module that hosts all the FRAME types needed to add this pallet to a runtime.

EVM runner to execute transaction raw bytes.

Structs

Ensure that the address is truncated hash of the origin.

Returns the Substrate block hash by number.

Traits

A trait for getting a block hash by number.

A trait for handling currency decimal difference between native and evm tokens.

A trait to perform origin check.

A mapping function that converts Ethereum gas to Substrate weight.

Handle withdrawing, refunding and depositing of transaction fees. Similar to OnChargeTransaction of pallet_transaction_payment

Type Definitions