Trait pallet_evm::runner::Runner[][src]

pub trait Runner<T: Config> {
    type Error: Into<DispatchError>;
    fn call(
        source: H160,
        target: H160,
        input: Vec<u8>,
        value: U256,
        gas_limit: u64,
        gas_price: Option<U256>,
        nonce: Option<U256>,
        config: &Config
    ) -> Result<CallInfo, Self::Error>;
fn create(
        source: H160,
        init: Vec<u8>,
        value: U256,
        gas_limit: u64,
        gas_price: Option<U256>,
        nonce: Option<U256>,
        config: &Config
    ) -> Result<CreateInfo, Self::Error>;
fn create2(
        source: H160,
        init: Vec<u8>,
        salt: H256,
        value: U256,
        gas_limit: u64,
        gas_price: Option<U256>,
        nonce: Option<U256>,
        config: &Config
    ) -> Result<CreateInfo, Self::Error>; }

Associated Types

Loading content...

Required methods

fn call(
    source: H160,
    target: H160,
    input: Vec<u8>,
    value: U256,
    gas_limit: u64,
    gas_price: Option<U256>,
    nonce: Option<U256>,
    config: &Config
) -> Result<CallInfo, Self::Error>
[src]

fn create(
    source: H160,
    init: Vec<u8>,
    value: U256,
    gas_limit: u64,
    gas_price: Option<U256>,
    nonce: Option<U256>,
    config: &Config
) -> Result<CreateInfo, Self::Error>
[src]

fn create2(
    source: H160,
    init: Vec<u8>,
    salt: H256,
    value: U256,
    gas_limit: u64,
    gas_price: Option<U256>,
    nonce: Option<U256>,
    config: &Config
) -> Result<CreateInfo, Self::Error>
[src]

Loading content...

Implementors

impl<T: Config> Runner<T> for Runner<T>[src]

type Error = Error<T>

Loading content...