// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/mint/v1beta1/query.proto (package osmosis.mint.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./mint_pb.js"; /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message osmosis.mint.v1beta1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.mint.v1beta1.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 is the response type for the Query/Params RPC method. * * @generated from message osmosis.mint.v1beta1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: osmosis.mint.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.mint.v1beta1.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); } } /** * QueryEpochProvisionsRequest is the request type for the * Query/EpochProvisions RPC method. * * @generated from message osmosis.mint.v1beta1.QueryEpochProvisionsRequest */ export class QueryEpochProvisionsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.mint.v1beta1.QueryEpochProvisionsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryEpochProvisionsRequest { return new QueryEpochProvisionsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryEpochProvisionsRequest { return new QueryEpochProvisionsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryEpochProvisionsRequest { return new QueryEpochProvisionsRequest().fromJsonString(jsonString, options); } static equals(a: QueryEpochProvisionsRequest | PlainMessage | undefined, b: QueryEpochProvisionsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryEpochProvisionsRequest, a, b); } } /** * QueryEpochProvisionsResponse is the response type for the * Query/EpochProvisions RPC method. * * @generated from message osmosis.mint.v1beta1.QueryEpochProvisionsResponse */ export class QueryEpochProvisionsResponse extends Message { /** * epoch_provisions is the current minting per epoch provisions value. * * @generated from field: bytes epoch_provisions = 1; */ epochProvisions = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.mint.v1beta1.QueryEpochProvisionsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "epoch_provisions", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryEpochProvisionsResponse { return new QueryEpochProvisionsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryEpochProvisionsResponse { return new QueryEpochProvisionsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryEpochProvisionsResponse { return new QueryEpochProvisionsResponse().fromJsonString(jsonString, options); } static equals(a: QueryEpochProvisionsResponse | PlainMessage | undefined, b: QueryEpochProvisionsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryEpochProvisionsResponse, a, b); } }