// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ethermint/feemarket/v1/query.proto (package ethermint.feemarket.v1, 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 { Params } from "./feemarket_pb.js"; /** * QueryParamsRequest defines the request type for querying x/evm parameters. * * @generated from message ethermint.feemarket.v1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.feemarket.v1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse defines the response type for querying x/evm parameters. * * @generated from message ethermint.feemarket.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params define the evm module parameters. * * @generated from field: ethermint.feemarket.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.feemarket.v1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } } /** * QueryBaseFeeRequest defines the request type for querying the EIP1559 base * fee. * * @generated from message ethermint.feemarket.v1.QueryBaseFeeRequest */ export class QueryBaseFeeRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.feemarket.v1.QueryBaseFeeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromJsonString(jsonString, options); } static equals(a: QueryBaseFeeRequest | PlainMessage | undefined, b: QueryBaseFeeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseFeeRequest, a, b); } } /** * QueryBaseFeeResponse returns the EIP1559 base fee. * * @generated from message ethermint.feemarket.v1.QueryBaseFeeResponse */ export class QueryBaseFeeResponse extends Message { /** * base_fee is the EIP1559 base fee * * @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 = "ethermint.feemarket.v1.QueryBaseFeeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromJsonString(jsonString, options); } static equals(a: QueryBaseFeeResponse | PlainMessage | undefined, b: QueryBaseFeeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseFeeResponse, a, b); } } /** * QueryBlockGasRequest defines the request type for querying the EIP1559 base * fee. * * @generated from message ethermint.feemarket.v1.QueryBlockGasRequest */ export class QueryBlockGasRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.feemarket.v1.QueryBlockGasRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBlockGasRequest { return new QueryBlockGasRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBlockGasRequest { return new QueryBlockGasRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBlockGasRequest { return new QueryBlockGasRequest().fromJsonString(jsonString, options); } static equals(a: QueryBlockGasRequest | PlainMessage | undefined, b: QueryBlockGasRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBlockGasRequest, a, b); } } /** * QueryBlockGasResponse returns block gas used for a given height. * * @generated from message ethermint.feemarket.v1.QueryBlockGasResponse */ export class QueryBlockGasResponse extends Message { /** * gas is the returned block gas * * @generated from field: int64 gas = 1; */ gas = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.feemarket.v1.QueryBlockGasResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "gas", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBlockGasResponse { return new QueryBlockGasResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBlockGasResponse { return new QueryBlockGasResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBlockGasResponse { return new QueryBlockGasResponse().fromJsonString(jsonString, options); } static equals(a: QueryBlockGasResponse | PlainMessage | undefined, b: QueryBlockGasResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBlockGasResponse, a, b); } }