// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file haqq/coinomics/v1/query.proto (package haqq.coinomics.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { Params } from "./genesis_pb.js"; /** * @generated from message haqq.coinomics.v1.QueryMaxSupplyRequest */ export class QueryMaxSupplyRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "haqq.coinomics.v1.QueryMaxSupplyRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryMaxSupplyRequest { return new QueryMaxSupplyRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryMaxSupplyRequest { return new QueryMaxSupplyRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryMaxSupplyRequest { return new QueryMaxSupplyRequest().fromJsonString(jsonString, options); } static equals(a: QueryMaxSupplyRequest | PlainMessage | undefined, b: QueryMaxSupplyRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryMaxSupplyRequest, a, b); } } /** * @generated from message haqq.coinomics.v1.QueryMaxSupplyResponse */ export class QueryMaxSupplyResponse extends Message { /** * @generated from field: cosmos.base.v1beta1.Coin max_supply = 1; */ maxSupply?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "haqq.coinomics.v1.QueryMaxSupplyResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "max_supply", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryMaxSupplyResponse { return new QueryMaxSupplyResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryMaxSupplyResponse { return new QueryMaxSupplyResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryMaxSupplyResponse { return new QueryMaxSupplyResponse().fromJsonString(jsonString, options); } static equals(a: QueryMaxSupplyResponse | PlainMessage | undefined, b: QueryMaxSupplyResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryMaxSupplyResponse, a, b); } } /** * @generated from message haqq.coinomics.v1.QueryRewardCoefficientRequest */ export class QueryRewardCoefficientRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "haqq.coinomics.v1.QueryRewardCoefficientRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryRewardCoefficientRequest { return new QueryRewardCoefficientRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryRewardCoefficientRequest { return new QueryRewardCoefficientRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryRewardCoefficientRequest { return new QueryRewardCoefficientRequest().fromJsonString(jsonString, options); } static equals(a: QueryRewardCoefficientRequest | PlainMessage | undefined, b: QueryRewardCoefficientRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryRewardCoefficientRequest, a, b); } } /** * @generated from message haqq.coinomics.v1.QueryRewardCoefficientResponse */ export class QueryRewardCoefficientResponse extends Message { /** * rate by which the total supply increases within one era * * @generated from field: string reward_coefficient = 1; */ rewardCoefficient = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "haqq.coinomics.v1.QueryRewardCoefficientResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "reward_coefficient", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryRewardCoefficientResponse { return new QueryRewardCoefficientResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryRewardCoefficientResponse { return new QueryRewardCoefficientResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryRewardCoefficientResponse { return new QueryRewardCoefficientResponse().fromJsonString(jsonString, options); } static equals(a: QueryRewardCoefficientResponse | PlainMessage | undefined, b: QueryRewardCoefficientResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryRewardCoefficientResponse, a, b); } } /** * @generated from message haqq.coinomics.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 = "haqq.coinomics.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); } } /** * @generated from message haqq.coinomics.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: haqq.coinomics.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "haqq.coinomics.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); } }