Function pwasm_abi_derive::eth_abi[][src]

pub fn eth_abi(args: TokenStream, input: TokenStream) -> TokenStream

Derive abi for given trait. Should provide one or two arguments: dispatch structure name and client structure name.

Example

#[eth_abi(Endpoint)] trait Contract { }

Example

#[eth_abi(Endpoint2, Client2)] trait Contract2 { }