Trait CallInfoTrait

Source
pub trait CallInfoTrait: Debug {
    // Required methods
    fn to_call(&self) -> Call;
    fn to_call3(&self) -> Call3;
    fn to_call3_value(&self) -> Call3Value;
}
Expand description

A trait for converting CallItem into relevant call types.

Required Methods§

Source

fn to_call(&self) -> Call

Converts the CallItem into a Call struct for aggregateCall

Source

fn to_call3(&self) -> Call3

Converts the CallItem into a Call3 struct for aggregate3Call

Source

fn to_call3_value(&self) -> Call3Value

Converts the CallItem into a Call3Value struct for aggregate3Call

Implementors§