Skip to main content

ChainAuthReader

Trait ChainAuthReader 

Source
pub trait ChainAuthReader: Send + Sync {
    // Required methods
    fn get_manager<'life0, 'async_trait>(
        &'life0 self,
        account: Address,
    ) -> Pin<Box<dyn Future<Output = Result<Address, ApiError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn is_api_wallet_active<'life0, 'async_trait>(
        &'life0 self,
        account: Address,
        signer: Address,
    ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_manager<'life0, 'async_trait>( &'life0 self, account: Address, ) -> Pin<Box<dyn Future<Output = Result<Address, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn is_api_wallet_active<'life0, 'async_trait>( &'life0 self, account: Address, signer: Address, ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§