pub trait Query: 'static + Send + Sync {
    fn params<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryParamsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn inflation<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryInflationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryInflationResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn annual_provisions<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAnnualProvisionsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAnnualProvisionsResponse>, 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

Params returns the total set of minting parameters.

Inflation returns the current minting inflation value.

AnnualProvisions current minting annual provisions value.

Implementors