pub trait Query: 'static + Send + Sync {
    fn grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGrantsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGrantsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn granter_grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGranterGrantsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranterGrantsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn grantee_grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGranteeGrantsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranteeGrantsResponse>, 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

Returns list of Authorization, granted to the grantee by the granter.

GranterGrants returns list of GrantAuthorization, granted by granter.

Since: cosmos-sdk 0.45.2

GranteeGrants returns a list of GrantAuthorization by grantee.

Since: cosmos-sdk 0.45.2

Implementors