import { Rpc } from "../../helpers"; import { QueryClient } from "@cosmjs/stargate"; import { ModuleToDistributeCoinsRequest, ModuleToDistributeCoinsResponse, GaugeByIDRequest, GaugeByIDResponse, GaugesRequest, GaugesResponse, ActiveGaugesRequest, ActiveGaugesResponse, ActiveGaugesPerDenomRequest, ActiveGaugesPerDenomResponse, UpcomingGaugesRequest, UpcomingGaugesResponse, UpcomingGaugesPerDenomRequest, UpcomingGaugesPerDenomResponse, RewardsEstRequest, RewardsEstResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse, QueryAllGroupsRequest, QueryAllGroupsResponse, QueryAllGroupsGaugesRequest, QueryAllGroupsGaugesResponse, QueryAllGroupsWithGaugeRequest, QueryAllGroupsWithGaugeResponse, QueryGroupByGroupGaugeIDRequest, QueryGroupByGroupGaugeIDResponse, QueryCurrentWeightByGroupGaugeIDRequest, QueryCurrentWeightByGroupGaugeIDResponse } from "./query"; /** Query defines the gRPC querier service */ export interface Query { /** ModuleToDistributeCoins returns coins that are going to be distributed */ moduleToDistributeCoins(request?: ModuleToDistributeCoinsRequest): Promise; /** GaugeByID returns gauges by their respective ID */ gaugeByID(request: GaugeByIDRequest): Promise; /** Gauges returns both upcoming and active gauges */ gauges(request?: GaugesRequest): Promise; /** ActiveGauges returns active gauges */ activeGauges(request?: ActiveGaugesRequest): Promise; /** ActiveGaugesPerDenom returns active gauges by denom */ activeGaugesPerDenom(request: ActiveGaugesPerDenomRequest): Promise; /** Returns scheduled gauges that have not yet occurred */ upcomingGauges(request?: UpcomingGaugesRequest): Promise; /** * UpcomingGaugesPerDenom returns scheduled gauges that have not yet occurred * by denom */ upcomingGaugesPerDenom(request: UpcomingGaugesPerDenomRequest): Promise; /** * RewardsEst returns an estimate of the rewards from now until a specified * time in the future The querier either provides an address or a set of locks * for which they want to find the associated rewards */ rewardsEst(request: RewardsEstRequest): Promise; /** * LockableDurations returns lockable durations that are valid to distribute * incentives for */ lockableDurations(request?: QueryLockableDurationsRequest): Promise; /** AllGroups returns all groups */ allGroups(request?: QueryAllGroupsRequest): Promise; /** AllGroupsGauges returns all group gauges */ allGroupsGauges(request?: QueryAllGroupsGaugesRequest): Promise; /** AllGroupsWithGauge returns all groups with their group gauge */ allGroupsWithGauge(request?: QueryAllGroupsWithGaugeRequest): Promise; /** GroupByGroupGaugeID returns a group given its group gauge ID */ groupByGroupGaugeID(request: QueryGroupByGroupGaugeIDRequest): Promise; /** * CurrentWeightByGroupGaugeID returns the current weight since the * the last epoch given a group gauge ID */ currentWeightByGroupGaugeID(request: QueryCurrentWeightByGroupGaugeIDRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); moduleToDistributeCoins(request?: ModuleToDistributeCoinsRequest): Promise; gaugeByID(request: GaugeByIDRequest): Promise; gauges(request?: GaugesRequest): Promise; activeGauges(request?: ActiveGaugesRequest): Promise; activeGaugesPerDenom(request: ActiveGaugesPerDenomRequest): Promise; upcomingGauges(request?: UpcomingGaugesRequest): Promise; upcomingGaugesPerDenom(request: UpcomingGaugesPerDenomRequest): Promise; rewardsEst(request: RewardsEstRequest): Promise; lockableDurations(request?: QueryLockableDurationsRequest): Promise; allGroups(request?: QueryAllGroupsRequest): Promise; allGroupsGauges(request?: QueryAllGroupsGaugesRequest): Promise; allGroupsWithGauge(request?: QueryAllGroupsWithGaugeRequest): Promise; groupByGroupGaugeID(request: QueryGroupByGroupGaugeIDRequest): Promise; currentWeightByGroupGaugeID(request: QueryCurrentWeightByGroupGaugeIDRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { moduleToDistributeCoins(request?: ModuleToDistributeCoinsRequest): Promise; gaugeByID(request: GaugeByIDRequest): Promise; gauges(request?: GaugesRequest): Promise; activeGauges(request?: ActiveGaugesRequest): Promise; activeGaugesPerDenom(request: ActiveGaugesPerDenomRequest): Promise; upcomingGauges(request?: UpcomingGaugesRequest): Promise; upcomingGaugesPerDenom(request: UpcomingGaugesPerDenomRequest): Promise; rewardsEst(request: RewardsEstRequest): Promise; lockableDurations(request?: QueryLockableDurationsRequest): Promise; allGroups(request?: QueryAllGroupsRequest): Promise; allGroupsGauges(request?: QueryAllGroupsGaugesRequest): Promise; allGroupsWithGauge(request?: QueryAllGroupsWithGaugeRequest): Promise; groupByGroupGaugeID(request: QueryGroupByGroupGaugeIDRequest): Promise; currentWeightByGroupGaugeID(request: QueryCurrentWeightByGroupGaugeIDRequest): Promise; };