[−][src]Trait pallet_evm::Trait
EVM module trait
Associated Types
type FeeCalculator: FeeCalculator
Calculator for current gas price.
type CallOrigin: EnsureAddressOrigin<Self::Origin>
Allow the origin to call on behalf of given address.
type WithdrawOrigin: EnsureAddressOrigin<Self::Origin, Success = Self::AccountId>
Allow the origin to withdraw on behalf of given address.
type AddressMapping: AddressMapping<Self::AccountId>
Mapping from address to account id.
type Currency: Currency<Self::AccountId>
Currency type for withdraw and balance storage.
type Event: From<Event<Self>> + Into<Self::Event>
The overarching event type.
type Precompiles: Precompiles
Precompiles associated with this EVM engine.
type ChainId: Get<u64>
Chain ID of EVM.
Provided methods
fn config() -> &'static Config
EVM config used in the module.