Trait pallet_evm::Config [−][src]
EVM module trait
Associated Types
type FeeCalculator: FeeCalculator
[src]
Calculator for current gas price.
type GasWeightMapping: GasWeightMapping
[src]
Maps Ethereum gas to Substrate weight.
type CallOrigin: EnsureAddressOrigin<Self::Origin>
[src]
Allow the origin to call on behalf of given address.
type WithdrawOrigin: EnsureAddressOrigin<Self::Origin, Success = Self::AccountId>
[src]
Allow the origin to withdraw on behalf of given address.
type AddressMapping: AddressMapping<Self::AccountId>
[src]
Mapping from address to account id.
type Currency: Currency<Self::AccountId>
[src]
Currency type for withdraw and balance storage.
type Event: From<Event<Self>> + Into<Self::Event>
[src]
The overarching event type.
type Precompiles: PrecompileSet
[src]
Precompiles associated with this EVM engine.
type ChainId: Get<u64>
[src]
Chain ID of EVM.
type BlockGasLimit: Get<U256>
[src]
The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
type Runner: Runner<Self>
[src]
EVM execution runner.
type OnChargeTransaction: OnChargeEVMTransaction<Self>
[src]
To handle fee deduction for EVM transactions. An example is this pallet being used by pallet_ethereum
where the chain implementing pallet_ethereum
should be able to configure what happens to the fees
Similar to OnChargeTransaction
of pallet_transaction_payment