pub trait AbstractSigner: Send + Sync {
// Required methods
fn address(&self) -> Address;
fn sign_hash<'life0, 'async_trait>(
&'life0 self,
hash: B256,
) -> Pin<Box<dyn Future<Output = Result<Signature>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_eip712_digest<'life0, 'async_trait>(
&'life0 self,
digest: B256,
) -> Pin<Box<dyn Future<Output = Result<Signature>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait mirroring the expected abstract signer behavior in TS version.