Skip to main content

IdentityService

Trait IdentityService 

Source
pub trait IdentityService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_inbox_ids<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetInboxIdsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetInboxIdsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn verify_smart_contract_wallet_signatures<'life0, 'async_trait>(
        &'life0 self,
        request: Request<VerifySmartContractWalletSignaturesRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<VerifySmartContractWalletSignaturesResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with IdentityServiceServer.

Required Methods§

Source

fn get_inbox_ids<'life0, 'async_trait>( &'life0 self, request: Request<GetInboxIdsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetInboxIdsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Resolve identifiers to inbox ids.

Source

fn verify_smart_contract_wallet_signatures<'life0, 'async_trait>( &'life0 self, request: Request<VerifySmartContractWalletSignaturesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<VerifySmartContractWalletSignaturesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Verify ERC-1271 / ERC-6492 signatures over chain RPC.

Implementors§