pub trait Evm<Origin> {
    type Outcome;

    // Required method
    fn call(
        origin: Origin,
        target: H160,
        input: Vec<u8, Global>,
        value: U256,
        gas_limit: u64,
        max_fee_per_gas: U256,
        max_priority_fee_per_gas: Option<U256>,
        nonce: Option<U256>,
        access_list: Vec<(H160, Vec<H256, Global>), Global>
    ) -> Self::Outcome;
}

Required Associated Types§

type Outcome

Required Methods§

fn call( origin: Origin, target: H160, input: Vec<u8, Global>, value: U256, gas_limit: u64, max_fee_per_gas: U256, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, access_list: Vec<(H160, Vec<H256, Global>), Global> ) -> Self::Outcome

Implementors§