[][src]Trait owasm_abi::eth::EndpointInterface

pub trait EndpointInterface {
    fn dispatch(&mut self, payload: &[u8]) -> Vec<u8>;
fn dispatch_ctor(&mut self, payload: &[u8]); }

Endpoint interface for contracts

Required methods

fn dispatch(&mut self, payload: &[u8]) -> Vec<u8>

Dispatch payload for regular method

fn dispatch_ctor(&mut self, payload: &[u8])

Dispatch constructor payload

Loading content...

Implementors

Loading content...