Trait alloy_provider::fillers::NonceManager

source ·
pub trait NonceManager: Clone + Send + Sync + Debug {
    // Required method
    fn get_next_nonce<'life0, 'life1, 'async_trait, P, T, N>(
        &'life0 self,
        provider: &'life1 P,
        address: Address,
    ) -> Pin<Box<dyn Future<Output = TransportResult<u64>> + Send + 'async_trait>>
       where P: Provider<T, N> + 'async_trait,
             N: Network + 'async_trait,
             T: Transport + Clone + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A trait that determines the behavior of filling nonces.

Required Methods§

source

fn get_next_nonce<'life0, 'life1, 'async_trait, P, T, N>( &'life0 self, provider: &'life1 P, address: Address, ) -> Pin<Box<dyn Future<Output = TransportResult<u64>> + Send + 'async_trait>>
where P: Provider<T, N> + 'async_trait, N: Network + 'async_trait, T: Transport + Clone + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get the next nonce for the given account.

Object Safety§

This trait is not object safe.

Implementors§