import { Params, ParamsAmino } from "./params"; import { State, StateAmino } from "./genesis"; import { DecCoin, DecCoinAmino } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; export declare const protobufPackage = "cosmos.dynamicfee.v1"; /** ParamsRequest is the request type for the Query/Params RPC method. */ export interface ParamsRequest { } export interface ParamsRequestProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.ParamsRequest"; value: Uint8Array; } /** ParamsRequest is the request type for the Query/Params RPC method. */ export interface ParamsRequestAmino { } export interface ParamsRequestAminoMsg { type: "cosmos-sdk/ParamsRequest"; value: ParamsRequestAmino; } /** ParamsResponse is the response type for the Query/Params RPC method. */ export interface ParamsResponse { params: Params | undefined; } export interface ParamsResponseProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.ParamsResponse"; value: Uint8Array; } /** ParamsResponse is the response type for the Query/Params RPC method. */ export interface ParamsResponseAmino { params?: ParamsAmino | undefined; } export interface ParamsResponseAminoMsg { type: "cosmos-sdk/ParamsResponse"; value: ParamsResponseAmino; } /** StateRequest is the request type for the Query/State RPC method. */ export interface StateRequest { } export interface StateRequestProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.StateRequest"; value: Uint8Array; } /** StateRequest is the request type for the Query/State RPC method. */ export interface StateRequestAmino { } export interface StateRequestAminoMsg { type: "cosmos-sdk/StateRequest"; value: StateRequestAmino; } /** StateResponse is the response type for the Query/State RPC method. */ export interface StateResponse { state: State | undefined; } export interface StateResponseProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.StateResponse"; value: Uint8Array; } /** StateResponse is the response type for the Query/State RPC method. */ export interface StateResponseAmino { state?: StateAmino | undefined; } export interface StateResponseAminoMsg { type: "cosmos-sdk/StateResponse"; value: StateResponseAmino; } /** GasPriceRequest is the request type for the Query/GasPrice RPC method. */ export interface GasPriceRequest { /** denom we are querying gas price in */ denom: string; } export interface GasPriceRequestProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.GasPriceRequest"; value: Uint8Array; } /** GasPriceRequest is the request type for the Query/GasPrice RPC method. */ export interface GasPriceRequestAmino { /** denom we are querying gas price in */ denom?: string; } export interface GasPriceRequestAminoMsg { type: "cosmos-sdk/GasPriceRequest"; value: GasPriceRequestAmino; } /** * GasPriceResponse is the response type for the Query/GasPrice RPC method. * Returns a gas price in specified denom. */ export interface GasPriceResponse { price: DecCoin | undefined; } export interface GasPriceResponseProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.GasPriceResponse"; value: Uint8Array; } /** * GasPriceResponse is the response type for the Query/GasPrice RPC method. * Returns a gas price in specified denom. */ export interface GasPriceResponseAmino { price: DecCoinAmino | undefined; } export interface GasPriceResponseAminoMsg { type: "cosmos-sdk/GasPriceResponse"; value: GasPriceResponseAmino; } /** GasPriceRequest is the request type for the Query/GasPrices RPC method. */ export interface GasPricesRequest { } export interface GasPricesRequestProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.GasPricesRequest"; value: Uint8Array; } /** GasPriceRequest is the request type for the Query/GasPrices RPC method. */ export interface GasPricesRequestAmino { } export interface GasPricesRequestAminoMsg { type: "cosmos-sdk/GasPricesRequest"; value: GasPricesRequestAmino; } /** * GasPricesResponse is the response type for the Query/GasPrices RPC method. * Returns a gas price in all available denoms. */ export interface GasPricesResponse { prices: DecCoin[]; } export interface GasPricesResponseProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.GasPricesResponse"; value: Uint8Array; } /** * GasPricesResponse is the response type for the Query/GasPrices RPC method. * Returns a gas price in all available denoms. */ export interface GasPricesResponseAmino { prices: DecCoinAmino[]; } export interface GasPricesResponseAminoMsg { type: "cosmos-sdk/GasPricesResponse"; value: GasPricesResponseAmino; } export declare const ParamsRequest: { typeUrl: string; encode(_: ParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ParamsRequest; fromJSON(_: any): ParamsRequest; toJSON(_: ParamsRequest): unknown; fromPartial(_: Partial): ParamsRequest; fromAmino(_: ParamsRequestAmino): ParamsRequest; toAmino(_: ParamsRequest): ParamsRequestAmino; fromAminoMsg(object: ParamsRequestAminoMsg): ParamsRequest; toAminoMsg(message: ParamsRequest): ParamsRequestAminoMsg; fromProtoMsg(message: ParamsRequestProtoMsg): ParamsRequest; toProto(message: ParamsRequest): Uint8Array; toProtoMsg(message: ParamsRequest): ParamsRequestProtoMsg; }; export declare const ParamsResponse: { typeUrl: string; encode(message: ParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ParamsResponse; fromJSON(object: any): ParamsResponse; toJSON(message: ParamsResponse): unknown; fromPartial(object: Partial): ParamsResponse; fromAmino(object: ParamsResponseAmino): ParamsResponse; toAmino(message: ParamsResponse): ParamsResponseAmino; fromAminoMsg(object: ParamsResponseAminoMsg): ParamsResponse; toAminoMsg(message: ParamsResponse): ParamsResponseAminoMsg; fromProtoMsg(message: ParamsResponseProtoMsg): ParamsResponse; toProto(message: ParamsResponse): Uint8Array; toProtoMsg(message: ParamsResponse): ParamsResponseProtoMsg; }; export declare const StateRequest: { typeUrl: string; encode(_: StateRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StateRequest; fromJSON(_: any): StateRequest; toJSON(_: StateRequest): unknown; fromPartial(_: Partial): StateRequest; fromAmino(_: StateRequestAmino): StateRequest; toAmino(_: StateRequest): StateRequestAmino; fromAminoMsg(object: StateRequestAminoMsg): StateRequest; toAminoMsg(message: StateRequest): StateRequestAminoMsg; fromProtoMsg(message: StateRequestProtoMsg): StateRequest; toProto(message: StateRequest): Uint8Array; toProtoMsg(message: StateRequest): StateRequestProtoMsg; }; export declare const StateResponse: { typeUrl: string; encode(message: StateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StateResponse; fromJSON(object: any): StateResponse; toJSON(message: StateResponse): unknown; fromPartial(object: Partial): StateResponse; fromAmino(object: StateResponseAmino): StateResponse; toAmino(message: StateResponse): StateResponseAmino; fromAminoMsg(object: StateResponseAminoMsg): StateResponse; toAminoMsg(message: StateResponse): StateResponseAminoMsg; fromProtoMsg(message: StateResponseProtoMsg): StateResponse; toProto(message: StateResponse): Uint8Array; toProtoMsg(message: StateResponse): StateResponseProtoMsg; }; export declare const GasPriceRequest: { typeUrl: string; encode(message: GasPriceRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GasPriceRequest; fromJSON(object: any): GasPriceRequest; toJSON(message: GasPriceRequest): unknown; fromPartial(object: Partial): GasPriceRequest; fromAmino(object: GasPriceRequestAmino): GasPriceRequest; toAmino(message: GasPriceRequest): GasPriceRequestAmino; fromAminoMsg(object: GasPriceRequestAminoMsg): GasPriceRequest; toAminoMsg(message: GasPriceRequest): GasPriceRequestAminoMsg; fromProtoMsg(message: GasPriceRequestProtoMsg): GasPriceRequest; toProto(message: GasPriceRequest): Uint8Array; toProtoMsg(message: GasPriceRequest): GasPriceRequestProtoMsg; }; export declare const GasPriceResponse: { typeUrl: string; encode(message: GasPriceResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GasPriceResponse; fromJSON(object: any): GasPriceResponse; toJSON(message: GasPriceResponse): unknown; fromPartial(object: Partial): GasPriceResponse; fromAmino(object: GasPriceResponseAmino): GasPriceResponse; toAmino(message: GasPriceResponse): GasPriceResponseAmino; fromAminoMsg(object: GasPriceResponseAminoMsg): GasPriceResponse; toAminoMsg(message: GasPriceResponse): GasPriceResponseAminoMsg; fromProtoMsg(message: GasPriceResponseProtoMsg): GasPriceResponse; toProto(message: GasPriceResponse): Uint8Array; toProtoMsg(message: GasPriceResponse): GasPriceResponseProtoMsg; }; export declare const GasPricesRequest: { typeUrl: string; encode(_: GasPricesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GasPricesRequest; fromJSON(_: any): GasPricesRequest; toJSON(_: GasPricesRequest): unknown; fromPartial(_: Partial): GasPricesRequest; fromAmino(_: GasPricesRequestAmino): GasPricesRequest; toAmino(_: GasPricesRequest): GasPricesRequestAmino; fromAminoMsg(object: GasPricesRequestAminoMsg): GasPricesRequest; toAminoMsg(message: GasPricesRequest): GasPricesRequestAminoMsg; fromProtoMsg(message: GasPricesRequestProtoMsg): GasPricesRequest; toProto(message: GasPricesRequest): Uint8Array; toProtoMsg(message: GasPricesRequest): GasPricesRequestProtoMsg; }; export declare const GasPricesResponse: { typeUrl: string; encode(message: GasPricesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GasPricesResponse; fromJSON(object: any): GasPricesResponse; toJSON(message: GasPricesResponse): unknown; fromPartial(object: Partial): GasPricesResponse; fromAmino(object: GasPricesResponseAmino): GasPricesResponse; toAmino(message: GasPricesResponse): GasPricesResponseAmino; fromAminoMsg(object: GasPricesResponseAminoMsg): GasPricesResponse; toAminoMsg(message: GasPricesResponse): GasPricesResponseAminoMsg; fromProtoMsg(message: GasPricesResponseProtoMsg): GasPricesResponse; toProto(message: GasPricesResponse): Uint8Array; toProtoMsg(message: GasPricesResponse): GasPricesResponseProtoMsg; }; /** Query Service for the dynamicfee module. */ export interface Query { /** Params returns the current dynamicfee module parameters. */ Params(request?: ParamsRequest): Promise; /** State returns the current dynamicfee module state. */ State(request?: StateRequest): Promise; /** * GasPrice returns the current dynamicfee module gas price * for specified denom. */ GasPrice(request: GasPriceRequest): Promise; /** * GasPrices returns the current dynamicfee module list of gas prices * in all available denoms. */ GasPrices(request?: GasPricesRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: TxRpc); Params(request?: ParamsRequest): Promise; State(request?: StateRequest): Promise; GasPrice(request: GasPriceRequest): Promise; GasPrices(request?: GasPricesRequest): Promise; }