Struct ethabi::Contract
[−]
[src]
pub struct Contract { /* fields omitted */ }
API building calls to contracts ABI.
Methods
impl Contract
[src]
fn new(interface: Interface) -> Self
Initializes contract with ABI specification.
fn constructor(&self) -> Option<Constructor>
Creates constructor call builder.
fn function(&self, name: String) -> Result<Function, Error>
Creates function call builder.
fn event(&self, name: String) -> Result<Event, Error>
Creates event decoder.