Trait ChainIdentity
Source pub trait ChainIdentity {
// Required methods
fn get_chain_id(&self) -> usize;
fn get_id_address(&self) -> Address;
fn get_adapter_address(&self) -> Address;
fn get_client(&self) -> Arc<WsWalletSigner>;
fn get_contract_transaction_retry_descriptor(
&self,
) -> ExponentialBackoffRetryDescriptor;
fn get_contract_view_retry_descriptor(
&self,
) -> ExponentialBackoffRetryDescriptor;
fn get_current_gas_price<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<U256, ProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_block_timestamp<'life0, 'async_trait>(
&'life0 self,
block_number: BlockNumber,
) -> Pin<Box<dyn Future<Output = Result<Option<U256>, ProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}