pub trait Query: Send + Sync + 'static {
    fn incentivized_packets<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryIncentivizedPacketsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryIncentivizedPacketsResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn incentivized_packet<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryIncentivizedPacketRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryIncentivizedPacketResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn incentivized_packets_for_channel<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryIncentivizedPacketsForChannelRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryIncentivizedPacketsForChannelResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn total_recv_fees<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryTotalRecvFeesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryTotalRecvFeesResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn total_ack_fees<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryTotalAckFeesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryTotalAckFeesResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn total_timeout_fees<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryTotalTimeoutFeesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryTotalTimeoutFeesResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn payee<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryPayeeRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryPayeeResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn counterparty_payee<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryCounterpartyPayeeRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryCounterpartyPayeeResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn fee_enabled_channels<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryFeeEnabledChannelsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryFeeEnabledChannelsResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn fee_enabled_channel<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryFeeEnabledChannelRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryFeeEnabledChannelResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods§

IncentivizedPackets returns all incentivized packets and their associated fees

IncentivizedPacket returns all packet fees for a packet given its identifier

Gets all incentivized packets for a specific channel

TotalRecvFees returns the total receive fees for a packet given its identifier

TotalAckFees returns the total acknowledgement fees for a packet given its identifier

TotalTimeoutFees returns the total timeout fees for a packet given its identifier

Payee returns the registered payee address for a specific channel given the relayer address

CounterpartyPayee returns the registered counterparty payee for forward relaying

FeeEnabledChannels returns a list of all fee enabled channels

FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel

Implementors§