pub trait Query: Send + Sync + 'static {
    // Required methods
    fn query_next_fee_distribution<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryNextFeeDistributionEstimateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextFeeDistributionEstimateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn query_params<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryParamsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn query_provider_info<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryProviderInfoRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryProviderInfoResponse>, 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 QueryServer.

Required Methods§

source

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

ConsumerGenesis queries the genesis state needed to start a consumer chain whose proposal has been accepted

source

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

QueryParams queries the ccv/consumer module parameters.

source

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

Implementors§