// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/txfees/v1beta1/query.proto (package osmosis.txfees.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { FeeToken } from "./feetoken_pb.js"; /** * @generated from message osmosis.txfees.v1beta1.QueryFeeTokensRequest */ export class QueryFeeTokensRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryFeeTokensRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeTokensRequest { return new QueryFeeTokensRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeTokensRequest { return new QueryFeeTokensRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryFeeTokensRequest { return new QueryFeeTokensRequest().fromJsonString(jsonString, options); } static equals(a: QueryFeeTokensRequest | PlainMessage | undefined, b: QueryFeeTokensRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryFeeTokensRequest, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryFeeTokensResponse */ export class QueryFeeTokensResponse extends Message { /** * @generated from field: repeated osmosis.txfees.v1beta1.FeeToken fee_tokens = 1; */ feeTokens: FeeToken[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryFeeTokensResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "fee_tokens", kind: "message", T: FeeToken, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeTokensResponse { return new QueryFeeTokensResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeTokensResponse { return new QueryFeeTokensResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryFeeTokensResponse { return new QueryFeeTokensResponse().fromJsonString(jsonString, options); } static equals(a: QueryFeeTokensResponse | PlainMessage | undefined, b: QueryFeeTokensResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryFeeTokensResponse, a, b); } } /** * QueryDenomSpotPriceRequest defines grpc request structure for querying spot * price for the specified tx fee denom * * @generated from message osmosis.txfees.v1beta1.QueryDenomSpotPriceRequest */ export class QueryDenomSpotPriceRequest extends Message { /** * @generated from field: string denom = 1; */ denom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryDenomSpotPriceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomSpotPriceRequest { return new QueryDenomSpotPriceRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomSpotPriceRequest { return new QueryDenomSpotPriceRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomSpotPriceRequest { return new QueryDenomSpotPriceRequest().fromJsonString(jsonString, options); } static equals(a: QueryDenomSpotPriceRequest | PlainMessage | undefined, b: QueryDenomSpotPriceRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomSpotPriceRequest, a, b); } } /** * QueryDenomSpotPriceRequest defines grpc response structure for querying spot * price for the specified tx fee denom * * @generated from message osmosis.txfees.v1beta1.QueryDenomSpotPriceResponse */ export class QueryDenomSpotPriceResponse extends Message { /** * @generated from field: uint64 poolID = 1; */ poolID = protoInt64.zero; /** * @generated from field: string spot_price = 2; */ spotPrice = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryDenomSpotPriceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "poolID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "spot_price", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomSpotPriceResponse { return new QueryDenomSpotPriceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomSpotPriceResponse { return new QueryDenomSpotPriceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomSpotPriceResponse { return new QueryDenomSpotPriceResponse().fromJsonString(jsonString, options); } static equals(a: QueryDenomSpotPriceResponse | PlainMessage | undefined, b: QueryDenomSpotPriceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomSpotPriceResponse, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryDenomPoolIdRequest */ export class QueryDenomPoolIdRequest extends Message { /** * @generated from field: string denom = 1; */ denom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryDenomPoolIdRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomPoolIdRequest { return new QueryDenomPoolIdRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomPoolIdRequest { return new QueryDenomPoolIdRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomPoolIdRequest { return new QueryDenomPoolIdRequest().fromJsonString(jsonString, options); } static equals(a: QueryDenomPoolIdRequest | PlainMessage | undefined, b: QueryDenomPoolIdRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomPoolIdRequest, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryDenomPoolIdResponse */ export class QueryDenomPoolIdResponse extends Message { /** * @generated from field: uint64 poolID = 1; */ poolID = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryDenomPoolIdResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "poolID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomPoolIdResponse { return new QueryDenomPoolIdResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomPoolIdResponse { return new QueryDenomPoolIdResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomPoolIdResponse { return new QueryDenomPoolIdResponse().fromJsonString(jsonString, options); } static equals(a: QueryDenomPoolIdResponse | PlainMessage | undefined, b: QueryDenomPoolIdResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomPoolIdResponse, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryBaseDenomRequest */ export class QueryBaseDenomRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryBaseDenomRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseDenomRequest { return new QueryBaseDenomRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseDenomRequest { return new QueryBaseDenomRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseDenomRequest { return new QueryBaseDenomRequest().fromJsonString(jsonString, options); } static equals(a: QueryBaseDenomRequest | PlainMessage | undefined, b: QueryBaseDenomRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseDenomRequest, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryBaseDenomResponse */ export class QueryBaseDenomResponse extends Message { /** * @generated from field: string base_denom = 1; */ baseDenom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryBaseDenomResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseDenomResponse { return new QueryBaseDenomResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseDenomResponse { return new QueryBaseDenomResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseDenomResponse { return new QueryBaseDenomResponse().fromJsonString(jsonString, options); } static equals(a: QueryBaseDenomResponse | PlainMessage | undefined, b: QueryBaseDenomResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseDenomResponse, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryEipBaseFeeRequest */ export class QueryEipBaseFeeRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryEipBaseFeeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryEipBaseFeeRequest { return new QueryEipBaseFeeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryEipBaseFeeRequest { return new QueryEipBaseFeeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryEipBaseFeeRequest { return new QueryEipBaseFeeRequest().fromJsonString(jsonString, options); } static equals(a: QueryEipBaseFeeRequest | PlainMessage | undefined, b: QueryEipBaseFeeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryEipBaseFeeRequest, a, b); } } /** * @generated from message osmosis.txfees.v1beta1.QueryEipBaseFeeResponse */ export class QueryEipBaseFeeResponse extends Message { /** * @generated from field: string base_fee = 1; */ baseFee = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.txfees.v1beta1.QueryEipBaseFeeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryEipBaseFeeResponse { return new QueryEipBaseFeeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryEipBaseFeeResponse { return new QueryEipBaseFeeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryEipBaseFeeResponse { return new QueryEipBaseFeeResponse().fromJsonString(jsonString, options); } static equals(a: QueryEipBaseFeeResponse | PlainMessage | undefined, b: QueryEipBaseFeeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryEipBaseFeeResponse, a, b); } }