pub trait Query: 'static + Send + Sync {
    fn allowance<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAllowanceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowanceResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn allowances<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAllowancesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAllowancesResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods

Allowance returns fee granted to the grantee by the granter.

Allowances returns all the grants for address.

Implementors