Trait DebugProviderExt

Source
pub trait DebugProviderExt<N: Network = Ethereum> {
    // Required methods
    fn geth_debug_trace_call<'life0, 'async_trait>(
        &'life0 self,
        tx: N::TransactionRequest,
        block: BlockId,
        trace_options: GethDebugTracingCallOptions,
    ) -> Pin<Box<dyn Future<Output = TransportResult<GethTrace>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn geth_debug_trace_block_by_number<'life0, 'async_trait>(
        &'life0 self,
        block: BlockNumberOrTag,
        trace_options: GethDebugTracingOptions,
    ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn geth_debug_trace_block_by_hash<'life0, 'async_trait>(
        &'life0 self,
        block: BlockHash,
        trace_options: GethDebugTracingOptions,
    ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn geth_debug_trace_call<'life0, 'async_trait>( &'life0 self, tx: N::TransactionRequest, block: BlockId, trace_options: GethDebugTracingCallOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<GethTrace>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn geth_debug_trace_block_by_number<'life0, 'async_trait>( &'life0 self, block: BlockNumberOrTag, trace_options: GethDebugTracingOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn geth_debug_trace_block_by_hash<'life0, 'async_trait>( &'life0 self, block: BlockHash, trace_options: GethDebugTracingOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl<N> DebugProviderExt<N> for RootProvider<N>
where N: Network<TransactionRequest = TransactionRequest>,

Source§

fn geth_debug_trace_call<'life0, 'async_trait>( &'life0 self, tx: N::TransactionRequest, block: BlockId, trace_options: GethDebugTracingCallOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<GethTrace>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn geth_debug_trace_block_by_number<'life0, 'async_trait>( &'life0 self, block: BlockNumberOrTag, trace_options: GethDebugTracingOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn geth_debug_trace_block_by_hash<'life0, 'async_trait>( &'life0 self, block: BlockHash, trace_options: GethDebugTracingOptions, ) -> Pin<Box<dyn Future<Output = TransportResult<Vec<TraceResult>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<PN, PA, N> DebugProviderExt<N> for AnvilDebugProvider<PN, PA, N>
where N: Network<TransactionRequest = TransactionRequest>, PN: Provider<N> + Send + Sync + Clone + 'static, PA: Provider<N> + Send + Sync + Clone + 'static,