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 signing_info<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QuerySigningInfoRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QuerySigningInfoResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn signing_infos<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QuerySigningInfosRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QuerySigningInfosResponse>, 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 queries the parameters of slashing module

SigningInfo queries the signing info of given cons address

SigningInfos queries signing info of all validators

Implementors