ic_solidity_bindgen

Trait LogProvider

Source
pub trait LogProvider {
    // Required method
    fn find<'life0, 'life1, 'async_trait>(
        &'life0 self,
        event_name: &'life1 str,
        from: u64,
        to: u64,
        call_options: CallOptions,
    ) -> Pin<Box<dyn Future<Output = Result<HashMap<u64, Vec<EventLog>>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn find<'life0, 'life1, 'async_trait>( &'life0 self, event_name: &'life1 str, from: u64, to: u64, call_options: CallOptions, ) -> Pin<Box<dyn Future<Output = Result<HashMap<u64, Vec<EventLog>>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§