UNPKG

@bandprotocol/bandchain.js

Version:

TypeScript library for Cosmos SDK and BandChain

763 lines (762 loc) 38.6 kB
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { CurrentFeedWithDeviations, CurrentFeedWithDeviationsAmino, CurrentFeedWithDeviationsSDKType, Price, PriceAmino, PriceSDKType, ReferenceSourceConfig, ReferenceSourceConfigAmino, ReferenceSourceConfigSDKType, Signal, SignalAmino, SignalSDKType, ValidatorPrice, ValidatorPriceAmino, ValidatorPriceSDKType } from "./feeds"; import { Params, ParamsAmino, ParamsSDKType } from "./params"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** QueryCurrentFeedsRequest is the request type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsRequest { } export interface QueryCurrentFeedsRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryCurrentFeedsRequest"; value: Uint8Array; } /** QueryCurrentFeedsRequest is the request type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsRequestAmino { } export interface QueryCurrentFeedsRequestAminoMsg { type: "/band.feeds.v1beta1.QueryCurrentFeedsRequest"; value: QueryCurrentFeedsRequestAmino; } /** QueryCurrentFeedsRequest is the request type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsRequestSDKType { } /** QueryCurrentFeedsResponse is the response type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsResponse { /** current_feeds is a list of currently supported feed-with-deviations, and its last update time and block. */ currentFeeds: CurrentFeedWithDeviations; } export interface QueryCurrentFeedsResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryCurrentFeedsResponse"; value: Uint8Array; } /** QueryCurrentFeedsResponse is the response type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsResponseAmino { /** current_feeds is a list of currently supported feed-with-deviations, and its last update time and block. */ current_feeds?: CurrentFeedWithDeviationsAmino; } export interface QueryCurrentFeedsResponseAminoMsg { type: "/band.feeds.v1beta1.QueryCurrentFeedsResponse"; value: QueryCurrentFeedsResponseAmino; } /** QueryCurrentFeedsResponse is the response type for the Query/CurrentFeeds RPC method. */ export interface QueryCurrentFeedsResponseSDKType { current_feeds: CurrentFeedWithDeviationsSDKType; } /** QueryIsFeederRequest is the request type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederRequest { /** validator is a validator address. */ validator: string; /** feeder is a candidate account. */ feeder: string; } export interface QueryIsFeederRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryIsFeederRequest"; value: Uint8Array; } /** QueryIsFeederRequest is the request type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederRequestAmino { /** validator is a validator address. */ validator?: string; /** feeder is a candidate account. */ feeder?: string; } export interface QueryIsFeederRequestAminoMsg { type: "/band.feeds.v1beta1.QueryIsFeederRequest"; value: QueryIsFeederRequestAmino; } /** QueryIsFeederRequest is the request type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederRequestSDKType { validator: string; feeder: string; } /** QueryIsFeederResponse is the response type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederResponse { /** is_feeder is true if this account has been granted by validator. */ isFeeder: boolean; } export interface QueryIsFeederResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryIsFeederResponse"; value: Uint8Array; } /** QueryIsFeederResponse is the response type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederResponseAmino { /** is_feeder is true if this account has been granted by validator. */ is_feeder?: boolean; } export interface QueryIsFeederResponseAminoMsg { type: "/band.feeds.v1beta1.QueryIsFeederResponse"; value: QueryIsFeederResponseAmino; } /** QueryIsFeederResponse is the response type for the Query/IsFeeder RPC method. */ export interface QueryIsFeederResponseSDKType { is_feeder: boolean; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } export interface QueryParamsRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryParamsRequest"; value: Uint8Array; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestAmino { } export interface QueryParamsRequestAminoMsg { type: "/band.feeds.v1beta1.QueryParamsRequest"; value: QueryParamsRequestAmino; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params is the parameters of the module. */ params: Params; } export interface QueryParamsResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryParamsResponse"; value: Uint8Array; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseAmino { /** params is the parameters of the module. */ params?: ParamsAmino; } export interface QueryParamsResponseAminoMsg { type: "/band.feeds.v1beta1.QueryParamsResponse"; value: QueryParamsResponseAmino; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { params: ParamsSDKType; } /** QueryPriceRequest is the request type for the Query/Price RPC method. */ export interface QueryPriceRequest { /** signal_id is the signal id to query the price for. */ signalId: string; } export interface QueryPriceRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryPriceRequest"; value: Uint8Array; } /** QueryPriceRequest is the request type for the Query/Price RPC method. */ export interface QueryPriceRequestAmino { /** signal_id is the signal id to query the price for. */ signal_id?: string; } export interface QueryPriceRequestAminoMsg { type: "/band.feeds.v1beta1.QueryPriceRequest"; value: QueryPriceRequestAmino; } /** QueryPriceRequest is the request type for the Query/Price RPC method. */ export interface QueryPriceRequestSDKType { signal_id: string; } /** QueryPriceResponse is the response type for the Query/Price RPC method. */ export interface QueryPriceResponse { /** price is the aggregated price of the signal id. */ price: Price; } export interface QueryPriceResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryPriceResponse"; value: Uint8Array; } /** QueryPriceResponse is the response type for the Query/Price RPC method. */ export interface QueryPriceResponseAmino { /** price is the aggregated price of the signal id. */ price?: PriceAmino; } export interface QueryPriceResponseAminoMsg { type: "/band.feeds.v1beta1.QueryPriceResponse"; value: QueryPriceResponseAmino; } /** QueryPriceResponse is the response type for the Query/Price RPC method. */ export interface QueryPriceResponseSDKType { price: PriceSDKType; } /** QueryPricesRequest is the request type for the Query/Prices RPC method. */ export interface QueryPricesRequest { /** signal_ids is a list of signal ids to query prices for. */ signalIds: string[]; } export interface QueryPricesRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryPricesRequest"; value: Uint8Array; } /** QueryPricesRequest is the request type for the Query/Prices RPC method. */ export interface QueryPricesRequestAmino { /** signal_ids is a list of signal ids to query prices for. */ signal_ids?: string[]; } export interface QueryPricesRequestAminoMsg { type: "/band.feeds.v1beta1.QueryPricesRequest"; value: QueryPricesRequestAmino; } /** QueryPricesRequest is the request type for the Query/Prices RPC method. */ export interface QueryPricesRequestSDKType { signal_ids: string[]; } /** QueryPricesResponse is the response type for the Query/Prices RPC method. */ export interface QueryPricesResponse { /** prices is a list of prices. */ prices: Price[]; } export interface QueryPricesResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryPricesResponse"; value: Uint8Array; } /** QueryPricesResponse is the response type for the Query/Prices RPC method. */ export interface QueryPricesResponseAmino { /** prices is a list of prices. */ prices?: PriceAmino[]; } export interface QueryPricesResponseAminoMsg { type: "/band.feeds.v1beta1.QueryPricesResponse"; value: QueryPricesResponseAmino; } /** QueryPricesResponse is the response type for the Query/Prices RPC method. */ export interface QueryPricesResponseSDKType { prices: PriceSDKType[]; } /** QueryAllPricesRequest is the request type for the Query/AllPrices RPC method. */ export interface QueryAllPricesRequest { /** pagination is the pagination for the request. */ pagination?: PageRequest; } export interface QueryAllPricesRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryAllPricesRequest"; value: Uint8Array; } /** QueryAllPricesRequest is the request type for the Query/AllPrices RPC method. */ export interface QueryAllPricesRequestAmino { /** pagination is the pagination for the request. */ pagination?: PageRequestAmino; } export interface QueryAllPricesRequestAminoMsg { type: "/band.feeds.v1beta1.QueryAllPricesRequest"; value: QueryAllPricesRequestAmino; } /** QueryAllPricesRequest is the request type for the Query/AllPrices RPC method. */ export interface QueryAllPricesRequestSDKType { pagination?: PageRequestSDKType; } /** QueryAllPricesResponse is the response type for the Query/AllPrices RPC method. */ export interface QueryAllPricesResponse { /** prices is a list of prices. */ prices: Price[]; /** pagination is the pagination information in the response. */ pagination?: PageResponse; } export interface QueryAllPricesResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryAllPricesResponse"; value: Uint8Array; } /** QueryAllPricesResponse is the response type for the Query/AllPrices RPC method. */ export interface QueryAllPricesResponseAmino { /** prices is a list of prices. */ prices?: PriceAmino[]; /** pagination is the pagination information in the response. */ pagination?: PageResponseAmino; } export interface QueryAllPricesResponseAminoMsg { type: "/band.feeds.v1beta1.QueryAllPricesResponse"; value: QueryAllPricesResponseAmino; } /** QueryAllPricesResponse is the response type for the Query/AllPrices RPC method. */ export interface QueryAllPricesResponseSDKType { prices: PriceSDKType[]; pagination?: PageResponseSDKType; } /** QueryReferenceSourceConfigRequest is the request type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigRequest { } export interface QueryReferenceSourceConfigRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryReferenceSourceConfigRequest"; value: Uint8Array; } /** QueryReferenceSourceConfigRequest is the request type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigRequestAmino { } export interface QueryReferenceSourceConfigRequestAminoMsg { type: "/band.feeds.v1beta1.QueryReferenceSourceConfigRequest"; value: QueryReferenceSourceConfigRequestAmino; } /** QueryReferenceSourceConfigRequest is the request type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigRequestSDKType { } /** QueryReferenceSourceConfigResponse is the response type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigResponse { /** reference_source_config is the information about the reference price source. */ referenceSourceConfig: ReferenceSourceConfig; } export interface QueryReferenceSourceConfigResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryReferenceSourceConfigResponse"; value: Uint8Array; } /** QueryReferenceSourceConfigResponse is the response type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigResponseAmino { /** reference_source_config is the information about the reference price source. */ reference_source_config?: ReferenceSourceConfigAmino; } export interface QueryReferenceSourceConfigResponseAminoMsg { type: "/band.feeds.v1beta1.QueryReferenceSourceConfigResponse"; value: QueryReferenceSourceConfigResponseAmino; } /** QueryReferenceSourceConfigResponse is the response type for the Query/ReferenceSourceConfig RPC method. */ export interface QueryReferenceSourceConfigResponseSDKType { reference_source_config: ReferenceSourceConfigSDKType; } /** QuerySignalTotalPowersRequest is the request type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersRequest { /** signal_ids is a list of signal ids to query. */ signalIds: string[]; /** pagination is the pagination for the request. */ pagination?: PageRequest; } export interface QuerySignalTotalPowersRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QuerySignalTotalPowersRequest"; value: Uint8Array; } /** QuerySignalTotalPowersRequest is the request type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersRequestAmino { /** signal_ids is a list of signal ids to query. */ signal_ids?: string[]; /** pagination is the pagination for the request. */ pagination?: PageRequestAmino; } export interface QuerySignalTotalPowersRequestAminoMsg { type: "/band.feeds.v1beta1.QuerySignalTotalPowersRequest"; value: QuerySignalTotalPowersRequestAmino; } /** QuerySignalTotalPowersRequest is the request type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersRequestSDKType { signal_ids: string[]; pagination?: PageRequestSDKType; } /** QuerySignalTotalPowersResponse is the response type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersResponse { /** signal_total_powers is a list of signal-total-powers. */ signalTotalPowers: Signal[]; /** pagination is the pagination information in the response. */ pagination?: PageResponse; } export interface QuerySignalTotalPowersResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QuerySignalTotalPowersResponse"; value: Uint8Array; } /** QuerySignalTotalPowersResponse is the response type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersResponseAmino { /** signal_total_powers is a list of signal-total-powers. */ signal_total_powers?: SignalAmino[]; /** pagination is the pagination information in the response. */ pagination?: PageResponseAmino; } export interface QuerySignalTotalPowersResponseAminoMsg { type: "/band.feeds.v1beta1.QuerySignalTotalPowersResponse"; value: QuerySignalTotalPowersResponseAmino; } /** QuerySignalTotalPowersResponse is the response type for the Query/SignalTotalPowers RPC method. */ export interface QuerySignalTotalPowersResponseSDKType { signal_total_powers: SignalSDKType[]; pagination?: PageResponseSDKType; } /** QueryValidValidatorRequest is the request type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorRequest { /** validator is the validator address to query the flag. */ validator: string; } export interface QueryValidValidatorRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryValidValidatorRequest"; value: Uint8Array; } /** QueryValidValidatorRequest is the request type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorRequestAmino { /** validator is the validator address to query the flag. */ validator?: string; } export interface QueryValidValidatorRequestAminoMsg { type: "/band.feeds.v1beta1.QueryValidValidatorRequest"; value: QueryValidValidatorRequestAmino; } /** QueryValidValidatorRequest is the request type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorRequestSDKType { validator: string; } /** QueryValidValidatorResponse is the response type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorResponse { /** valid is a valid flag. */ valid: boolean; } export interface QueryValidValidatorResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryValidValidatorResponse"; value: Uint8Array; } /** QueryValidValidatorResponse is the response type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorResponseAmino { /** valid is a valid flag. */ valid?: boolean; } export interface QueryValidValidatorResponseAminoMsg { type: "/band.feeds.v1beta1.QueryValidValidatorResponse"; value: QueryValidValidatorResponseAmino; } /** QueryValidValidatorResponse is the response type for the Query/ValidValidator RPC method. */ export interface QueryValidValidatorResponseSDKType { valid: boolean; } /** QueryValidatorPricesRequest is the request type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesRequest { /** validator is the validator address to query prices for. */ validator: string; /** signal_ids is the list of signal ids to query the price for. */ signalIds: string[]; } export interface QueryValidatorPricesRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryValidatorPricesRequest"; value: Uint8Array; } /** QueryValidatorPricesRequest is the request type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesRequestAmino { /** validator is the validator address to query prices for. */ validator?: string; /** signal_ids is the list of signal ids to query the price for. */ signal_ids?: string[]; } export interface QueryValidatorPricesRequestAminoMsg { type: "/band.feeds.v1beta1.QueryValidatorPricesRequest"; value: QueryValidatorPricesRequestAmino; } /** QueryValidatorPricesRequest is the request type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesRequestSDKType { validator: string; signal_ids: string[]; } /** QueryValidatorPricesResponse is the response type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesResponse { /** validator_prices is a list of prices submitted by the validator. */ validatorPrices: ValidatorPrice[]; } export interface QueryValidatorPricesResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryValidatorPricesResponse"; value: Uint8Array; } /** QueryValidatorPricesResponse is the response type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesResponseAmino { /** validator_prices is a list of prices submitted by the validator. */ validator_prices?: ValidatorPriceAmino[]; } export interface QueryValidatorPricesResponseAminoMsg { type: "/band.feeds.v1beta1.QueryValidatorPricesResponse"; value: QueryValidatorPricesResponseAmino; } /** QueryValidatorPricesResponse is the response type for the Query/ValidatorPrices RPC method. */ export interface QueryValidatorPricesResponseSDKType { validator_prices: ValidatorPriceSDKType[]; } /** QueryVoteRequest is the request type for the Query/Vote RPC method. */ export interface QueryVoteRequest { /** voter is the voter address to query signal for. */ voter: string; } export interface QueryVoteRequestProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryVoteRequest"; value: Uint8Array; } /** QueryVoteRequest is the request type for the Query/Vote RPC method. */ export interface QueryVoteRequestAmino { /** voter is the voter address to query signal for. */ voter?: string; } export interface QueryVoteRequestAminoMsg { type: "/band.feeds.v1beta1.QueryVoteRequest"; value: QueryVoteRequestAmino; } /** QueryVoteRequest is the request type for the Query/Vote RPC method. */ export interface QueryVoteRequestSDKType { voter: string; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponse { /** signals is a list of signals submitted by the voter. */ signals: Signal[]; } export interface QueryVoteResponseProtoMsg { typeUrl: "/band.feeds.v1beta1.QueryVoteResponse"; value: Uint8Array; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseAmino { /** signals is a list of signals submitted by the voter. */ signals?: SignalAmino[]; } export interface QueryVoteResponseAminoMsg { type: "/band.feeds.v1beta1.QueryVoteResponse"; value: QueryVoteResponseAmino; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { signals: SignalSDKType[]; } export declare const QueryCurrentFeedsRequest: { typeUrl: string; encode(_: QueryCurrentFeedsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentFeedsRequest; fromPartial(_: Partial<QueryCurrentFeedsRequest>): QueryCurrentFeedsRequest; fromAmino(_: QueryCurrentFeedsRequestAmino): QueryCurrentFeedsRequest; toAmino(_: QueryCurrentFeedsRequest): QueryCurrentFeedsRequestAmino; fromAminoMsg(object: QueryCurrentFeedsRequestAminoMsg): QueryCurrentFeedsRequest; fromProtoMsg(message: QueryCurrentFeedsRequestProtoMsg): QueryCurrentFeedsRequest; toProto(message: QueryCurrentFeedsRequest): Uint8Array; toProtoMsg(message: QueryCurrentFeedsRequest): QueryCurrentFeedsRequestProtoMsg; }; export declare const QueryCurrentFeedsResponse: { typeUrl: string; encode(message: QueryCurrentFeedsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentFeedsResponse; fromPartial(object: Partial<QueryCurrentFeedsResponse>): QueryCurrentFeedsResponse; fromAmino(object: QueryCurrentFeedsResponseAmino): QueryCurrentFeedsResponse; toAmino(message: QueryCurrentFeedsResponse): QueryCurrentFeedsResponseAmino; fromAminoMsg(object: QueryCurrentFeedsResponseAminoMsg): QueryCurrentFeedsResponse; fromProtoMsg(message: QueryCurrentFeedsResponseProtoMsg): QueryCurrentFeedsResponse; toProto(message: QueryCurrentFeedsResponse): Uint8Array; toProtoMsg(message: QueryCurrentFeedsResponse): QueryCurrentFeedsResponseProtoMsg; }; export declare const QueryIsFeederRequest: { typeUrl: string; encode(message: QueryIsFeederRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryIsFeederRequest; fromPartial(object: Partial<QueryIsFeederRequest>): QueryIsFeederRequest; fromAmino(object: QueryIsFeederRequestAmino): QueryIsFeederRequest; toAmino(message: QueryIsFeederRequest): QueryIsFeederRequestAmino; fromAminoMsg(object: QueryIsFeederRequestAminoMsg): QueryIsFeederRequest; fromProtoMsg(message: QueryIsFeederRequestProtoMsg): QueryIsFeederRequest; toProto(message: QueryIsFeederRequest): Uint8Array; toProtoMsg(message: QueryIsFeederRequest): QueryIsFeederRequestProtoMsg; }; export declare const QueryIsFeederResponse: { typeUrl: string; encode(message: QueryIsFeederResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryIsFeederResponse; fromPartial(object: Partial<QueryIsFeederResponse>): QueryIsFeederResponse; fromAmino(object: QueryIsFeederResponseAmino): QueryIsFeederResponse; toAmino(message: QueryIsFeederResponse): QueryIsFeederResponseAmino; fromAminoMsg(object: QueryIsFeederResponseAminoMsg): QueryIsFeederResponse; fromProtoMsg(message: QueryIsFeederResponseProtoMsg): QueryIsFeederResponse; toProto(message: QueryIsFeederResponse): Uint8Array; toProtoMsg(message: QueryIsFeederResponse): QueryIsFeederResponseProtoMsg; }; export declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest; fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; }; export declare const QueryParamsResponse: { typeUrl: string; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse; fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; }; export declare const QueryPriceRequest: { typeUrl: string; encode(message: QueryPriceRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPriceRequest; fromPartial(object: Partial<QueryPriceRequest>): QueryPriceRequest; fromAmino(object: QueryPriceRequestAmino): QueryPriceRequest; toAmino(message: QueryPriceRequest): QueryPriceRequestAmino; fromAminoMsg(object: QueryPriceRequestAminoMsg): QueryPriceRequest; fromProtoMsg(message: QueryPriceRequestProtoMsg): QueryPriceRequest; toProto(message: QueryPriceRequest): Uint8Array; toProtoMsg(message: QueryPriceRequest): QueryPriceRequestProtoMsg; }; export declare const QueryPriceResponse: { typeUrl: string; encode(message: QueryPriceResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPriceResponse; fromPartial(object: Partial<QueryPriceResponse>): QueryPriceResponse; fromAmino(object: QueryPriceResponseAmino): QueryPriceResponse; toAmino(message: QueryPriceResponse): QueryPriceResponseAmino; fromAminoMsg(object: QueryPriceResponseAminoMsg): QueryPriceResponse; fromProtoMsg(message: QueryPriceResponseProtoMsg): QueryPriceResponse; toProto(message: QueryPriceResponse): Uint8Array; toProtoMsg(message: QueryPriceResponse): QueryPriceResponseProtoMsg; }; export declare const QueryPricesRequest: { typeUrl: string; encode(message: QueryPricesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPricesRequest; fromPartial(object: Partial<QueryPricesRequest>): QueryPricesRequest; fromAmino(object: QueryPricesRequestAmino): QueryPricesRequest; toAmino(message: QueryPricesRequest): QueryPricesRequestAmino; fromAminoMsg(object: QueryPricesRequestAminoMsg): QueryPricesRequest; fromProtoMsg(message: QueryPricesRequestProtoMsg): QueryPricesRequest; toProto(message: QueryPricesRequest): Uint8Array; toProtoMsg(message: QueryPricesRequest): QueryPricesRequestProtoMsg; }; export declare const QueryPricesResponse: { typeUrl: string; encode(message: QueryPricesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPricesResponse; fromPartial(object: Partial<QueryPricesResponse>): QueryPricesResponse; fromAmino(object: QueryPricesResponseAmino): QueryPricesResponse; toAmino(message: QueryPricesResponse): QueryPricesResponseAmino; fromAminoMsg(object: QueryPricesResponseAminoMsg): QueryPricesResponse; fromProtoMsg(message: QueryPricesResponseProtoMsg): QueryPricesResponse; toProto(message: QueryPricesResponse): Uint8Array; toProtoMsg(message: QueryPricesResponse): QueryPricesResponseProtoMsg; }; export declare const QueryAllPricesRequest: { typeUrl: string; encode(message: QueryAllPricesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryAllPricesRequest; fromPartial(object: Partial<QueryAllPricesRequest>): QueryAllPricesRequest; fromAmino(object: QueryAllPricesRequestAmino): QueryAllPricesRequest; toAmino(message: QueryAllPricesRequest): QueryAllPricesRequestAmino; fromAminoMsg(object: QueryAllPricesRequestAminoMsg): QueryAllPricesRequest; fromProtoMsg(message: QueryAllPricesRequestProtoMsg): QueryAllPricesRequest; toProto(message: QueryAllPricesRequest): Uint8Array; toProtoMsg(message: QueryAllPricesRequest): QueryAllPricesRequestProtoMsg; }; export declare const QueryAllPricesResponse: { typeUrl: string; encode(message: QueryAllPricesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryAllPricesResponse; fromPartial(object: Partial<QueryAllPricesResponse>): QueryAllPricesResponse; fromAmino(object: QueryAllPricesResponseAmino): QueryAllPricesResponse; toAmino(message: QueryAllPricesResponse): QueryAllPricesResponseAmino; fromAminoMsg(object: QueryAllPricesResponseAminoMsg): QueryAllPricesResponse; fromProtoMsg(message: QueryAllPricesResponseProtoMsg): QueryAllPricesResponse; toProto(message: QueryAllPricesResponse): Uint8Array; toProtoMsg(message: QueryAllPricesResponse): QueryAllPricesResponseProtoMsg; }; export declare const QueryReferenceSourceConfigRequest: { typeUrl: string; encode(_: QueryReferenceSourceConfigRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryReferenceSourceConfigRequest; fromPartial(_: Partial<QueryReferenceSourceConfigRequest>): QueryReferenceSourceConfigRequest; fromAmino(_: QueryReferenceSourceConfigRequestAmino): QueryReferenceSourceConfigRequest; toAmino(_: QueryReferenceSourceConfigRequest): QueryReferenceSourceConfigRequestAmino; fromAminoMsg(object: QueryReferenceSourceConfigRequestAminoMsg): QueryReferenceSourceConfigRequest; fromProtoMsg(message: QueryReferenceSourceConfigRequestProtoMsg): QueryReferenceSourceConfigRequest; toProto(message: QueryReferenceSourceConfigRequest): Uint8Array; toProtoMsg(message: QueryReferenceSourceConfigRequest): QueryReferenceSourceConfigRequestProtoMsg; }; export declare const QueryReferenceSourceConfigResponse: { typeUrl: string; encode(message: QueryReferenceSourceConfigResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryReferenceSourceConfigResponse; fromPartial(object: Partial<QueryReferenceSourceConfigResponse>): QueryReferenceSourceConfigResponse; fromAmino(object: QueryReferenceSourceConfigResponseAmino): QueryReferenceSourceConfigResponse; toAmino(message: QueryReferenceSourceConfigResponse): QueryReferenceSourceConfigResponseAmino; fromAminoMsg(object: QueryReferenceSourceConfigResponseAminoMsg): QueryReferenceSourceConfigResponse; fromProtoMsg(message: QueryReferenceSourceConfigResponseProtoMsg): QueryReferenceSourceConfigResponse; toProto(message: QueryReferenceSourceConfigResponse): Uint8Array; toProtoMsg(message: QueryReferenceSourceConfigResponse): QueryReferenceSourceConfigResponseProtoMsg; }; export declare const QuerySignalTotalPowersRequest: { typeUrl: string; encode(message: QuerySignalTotalPowersRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySignalTotalPowersRequest; fromPartial(object: Partial<QuerySignalTotalPowersRequest>): QuerySignalTotalPowersRequest; fromAmino(object: QuerySignalTotalPowersRequestAmino): QuerySignalTotalPowersRequest; toAmino(message: QuerySignalTotalPowersRequest): QuerySignalTotalPowersRequestAmino; fromAminoMsg(object: QuerySignalTotalPowersRequestAminoMsg): QuerySignalTotalPowersRequest; fromProtoMsg(message: QuerySignalTotalPowersRequestProtoMsg): QuerySignalTotalPowersRequest; toProto(message: QuerySignalTotalPowersRequest): Uint8Array; toProtoMsg(message: QuerySignalTotalPowersRequest): QuerySignalTotalPowersRequestProtoMsg; }; export declare const QuerySignalTotalPowersResponse: { typeUrl: string; encode(message: QuerySignalTotalPowersResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySignalTotalPowersResponse; fromPartial(object: Partial<QuerySignalTotalPowersResponse>): QuerySignalTotalPowersResponse; fromAmino(object: QuerySignalTotalPowersResponseAmino): QuerySignalTotalPowersResponse; toAmino(message: QuerySignalTotalPowersResponse): QuerySignalTotalPowersResponseAmino; fromAminoMsg(object: QuerySignalTotalPowersResponseAminoMsg): QuerySignalTotalPowersResponse; fromProtoMsg(message: QuerySignalTotalPowersResponseProtoMsg): QuerySignalTotalPowersResponse; toProto(message: QuerySignalTotalPowersResponse): Uint8Array; toProtoMsg(message: QuerySignalTotalPowersResponse): QuerySignalTotalPowersResponseProtoMsg; }; export declare const QueryValidValidatorRequest: { typeUrl: string; encode(message: QueryValidValidatorRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidValidatorRequest; fromPartial(object: Partial<QueryValidValidatorRequest>): QueryValidValidatorRequest; fromAmino(object: QueryValidValidatorRequestAmino): QueryValidValidatorRequest; toAmino(message: QueryValidValidatorRequest): QueryValidValidatorRequestAmino; fromAminoMsg(object: QueryValidValidatorRequestAminoMsg): QueryValidValidatorRequest; fromProtoMsg(message: QueryValidValidatorRequestProtoMsg): QueryValidValidatorRequest; toProto(message: QueryValidValidatorRequest): Uint8Array; toProtoMsg(message: QueryValidValidatorRequest): QueryValidValidatorRequestProtoMsg; }; export declare const QueryValidValidatorResponse: { typeUrl: string; encode(message: QueryValidValidatorResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidValidatorResponse; fromPartial(object: Partial<QueryValidValidatorResponse>): QueryValidValidatorResponse; fromAmino(object: QueryValidValidatorResponseAmino): QueryValidValidatorResponse; toAmino(message: QueryValidValidatorResponse): QueryValidValidatorResponseAmino; fromAminoMsg(object: QueryValidValidatorResponseAminoMsg): QueryValidValidatorResponse; fromProtoMsg(message: QueryValidValidatorResponseProtoMsg): QueryValidValidatorResponse; toProto(message: QueryValidValidatorResponse): Uint8Array; toProtoMsg(message: QueryValidValidatorResponse): QueryValidValidatorResponseProtoMsg; }; export declare const QueryValidatorPricesRequest: { typeUrl: string; encode(message: QueryValidatorPricesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorPricesRequest; fromPartial(object: Partial<QueryValidatorPricesRequest>): QueryValidatorPricesRequest; fromAmino(object: QueryValidatorPricesRequestAmino): QueryValidatorPricesRequest; toAmino(message: QueryValidatorPricesRequest): QueryValidatorPricesRequestAmino; fromAminoMsg(object: QueryValidatorPricesRequestAminoMsg): QueryValidatorPricesRequest; fromProtoMsg(message: QueryValidatorPricesRequestProtoMsg): QueryValidatorPricesRequest; toProto(message: QueryValidatorPricesRequest): Uint8Array; toProtoMsg(message: QueryValidatorPricesRequest): QueryValidatorPricesRequestProtoMsg; }; export declare const QueryValidatorPricesResponse: { typeUrl: string; encode(message: QueryValidatorPricesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorPricesResponse; fromPartial(object: Partial<QueryValidatorPricesResponse>): QueryValidatorPricesResponse; fromAmino(object: QueryValidatorPricesResponseAmino): QueryValidatorPricesResponse; toAmino(message: QueryValidatorPricesResponse): QueryValidatorPricesResponseAmino; fromAminoMsg(object: QueryValidatorPricesResponseAminoMsg): QueryValidatorPricesResponse; fromProtoMsg(message: QueryValidatorPricesResponseProtoMsg): QueryValidatorPricesResponse; toProto(message: QueryValidatorPricesResponse): Uint8Array; toProtoMsg(message: QueryValidatorPricesResponse): QueryValidatorPricesResponseProtoMsg; }; export declare const QueryVoteRequest: { typeUrl: string; encode(message: QueryVoteRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest; fromPartial(object: Partial<QueryVoteRequest>): QueryVoteRequest; fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; toProto(message: QueryVoteRequest): Uint8Array; toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; }; export declare const QueryVoteResponse: { typeUrl: string; encode(message: QueryVoteResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse; fromPartial(object: Partial<QueryVoteResponse>): QueryVoteResponse; fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; toProto(message: QueryVoteResponse): Uint8Array; toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; };