// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/incentives/query.proto (package dymensionxyz.dymension.incentives, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Duration, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js"; import { Gauge } from "./gauge_pb.js"; import { PageRequest, PageResponse } from "../../cosmos/base/query/v1beta1/pagination_pb.js"; /** * @generated from message dymensionxyz.dymension.incentives.ModuleToDistributeCoinsRequest */ export class ModuleToDistributeCoinsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ModuleToDistributeCoinsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): ModuleToDistributeCoinsRequest { return new ModuleToDistributeCoinsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ModuleToDistributeCoinsRequest { return new ModuleToDistributeCoinsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ModuleToDistributeCoinsRequest { return new ModuleToDistributeCoinsRequest().fromJsonString(jsonString, options); } static equals(a: ModuleToDistributeCoinsRequest | PlainMessage | undefined, b: ModuleToDistributeCoinsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ModuleToDistributeCoinsRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.ModuleToDistributeCoinsResponse */ export class ModuleToDistributeCoinsResponse extends Message { /** * Coins that have yet to be distributed * * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 1; */ coins: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ModuleToDistributeCoinsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "coins", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ModuleToDistributeCoinsResponse { return new ModuleToDistributeCoinsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ModuleToDistributeCoinsResponse { return new ModuleToDistributeCoinsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ModuleToDistributeCoinsResponse { return new ModuleToDistributeCoinsResponse().fromJsonString(jsonString, options); } static equals(a: ModuleToDistributeCoinsResponse | PlainMessage | undefined, b: ModuleToDistributeCoinsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(ModuleToDistributeCoinsResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.GaugeByIDRequest */ export class GaugeByIDRequest extends Message { /** * Gague ID being queried * * @generated from field: uint64 id = 1; */ id = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.GaugeByIDRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GaugeByIDRequest { return new GaugeByIDRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GaugeByIDRequest { return new GaugeByIDRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GaugeByIDRequest { return new GaugeByIDRequest().fromJsonString(jsonString, options); } static equals(a: GaugeByIDRequest | PlainMessage | undefined, b: GaugeByIDRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GaugeByIDRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.GaugeByIDResponse */ export class GaugeByIDResponse extends Message { /** * Gauge that corresponds to provided gague ID * * @generated from field: dymensionxyz.dymension.incentives.Gauge gauge = 1; */ gauge?: Gauge; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.GaugeByIDResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "gauge", kind: "message", T: Gauge }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GaugeByIDResponse { return new GaugeByIDResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GaugeByIDResponse { return new GaugeByIDResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GaugeByIDResponse { return new GaugeByIDResponse().fromJsonString(jsonString, options); } static equals(a: GaugeByIDResponse | PlainMessage | undefined, b: GaugeByIDResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GaugeByIDResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.GaugesRequest */ export class GaugesRequest extends Message { /** * Pagination defines pagination for the request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.GaugesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GaugesRequest { return new GaugesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GaugesRequest { return new GaugesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GaugesRequest { return new GaugesRequest().fromJsonString(jsonString, options); } static equals(a: GaugesRequest | PlainMessage | undefined, b: GaugesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GaugesRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.GaugesResponse */ export class GaugesResponse extends Message { /** * Upcoming and active gauges * * @generated from field: repeated dymensionxyz.dymension.incentives.Gauge data = 1; */ data: Gauge[] = []; /** * Pagination defines pagination for the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.GaugesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "message", T: Gauge, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GaugesResponse { return new GaugesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GaugesResponse { return new GaugesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GaugesResponse { return new GaugesResponse().fromJsonString(jsonString, options); } static equals(a: GaugesResponse | PlainMessage | undefined, b: GaugesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GaugesResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.ActiveGaugesRequest */ export class ActiveGaugesRequest extends Message { /** * Pagination defines pagination for the request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ActiveGaugesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ActiveGaugesRequest { return new ActiveGaugesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ActiveGaugesRequest { return new ActiveGaugesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ActiveGaugesRequest { return new ActiveGaugesRequest().fromJsonString(jsonString, options); } static equals(a: ActiveGaugesRequest | PlainMessage | undefined, b: ActiveGaugesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ActiveGaugesRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.ActiveGaugesResponse */ export class ActiveGaugesResponse extends Message { /** * Active gagues only * * @generated from field: repeated dymensionxyz.dymension.incentives.Gauge data = 1; */ data: Gauge[] = []; /** * Pagination defines pagination for the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ActiveGaugesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "message", T: Gauge, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ActiveGaugesResponse { return new ActiveGaugesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ActiveGaugesResponse { return new ActiveGaugesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ActiveGaugesResponse { return new ActiveGaugesResponse().fromJsonString(jsonString, options); } static equals(a: ActiveGaugesResponse | PlainMessage | undefined, b: ActiveGaugesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(ActiveGaugesResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.ActiveGaugesPerDenomRequest */ export class ActiveGaugesPerDenomRequest extends Message { /** * Desired denom when querying active gagues * * @generated from field: string denom = 1; */ denom = ""; /** * Pagination defines pagination for the request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ActiveGaugesPerDenomRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ActiveGaugesPerDenomRequest { return new ActiveGaugesPerDenomRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ActiveGaugesPerDenomRequest { return new ActiveGaugesPerDenomRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ActiveGaugesPerDenomRequest { return new ActiveGaugesPerDenomRequest().fromJsonString(jsonString, options); } static equals(a: ActiveGaugesPerDenomRequest | PlainMessage | undefined, b: ActiveGaugesPerDenomRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ActiveGaugesPerDenomRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.ActiveGaugesPerDenomResponse */ export class ActiveGaugesPerDenomResponse extends Message { /** * Active gagues that match denom in query * * @generated from field: repeated dymensionxyz.dymension.incentives.Gauge data = 1; */ data: Gauge[] = []; /** * Pagination defines pagination for the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.ActiveGaugesPerDenomResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "message", T: Gauge, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ActiveGaugesPerDenomResponse { return new ActiveGaugesPerDenomResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ActiveGaugesPerDenomResponse { return new ActiveGaugesPerDenomResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ActiveGaugesPerDenomResponse { return new ActiveGaugesPerDenomResponse().fromJsonString(jsonString, options); } static equals(a: ActiveGaugesPerDenomResponse | PlainMessage | undefined, b: ActiveGaugesPerDenomResponse | PlainMessage | undefined): boolean { return proto3.util.equals(ActiveGaugesPerDenomResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.UpcomingGaugesRequest */ export class UpcomingGaugesRequest extends Message { /** * Pagination defines pagination for the request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.UpcomingGaugesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpcomingGaugesRequest { return new UpcomingGaugesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpcomingGaugesRequest { return new UpcomingGaugesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpcomingGaugesRequest { return new UpcomingGaugesRequest().fromJsonString(jsonString, options); } static equals(a: UpcomingGaugesRequest | PlainMessage | undefined, b: UpcomingGaugesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpcomingGaugesRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.UpcomingGaugesResponse */ export class UpcomingGaugesResponse extends Message { /** * Gauges whose distribution is upcoming * * @generated from field: repeated dymensionxyz.dymension.incentives.Gauge data = 1; */ data: Gauge[] = []; /** * Pagination defines pagination for the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.UpcomingGaugesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "message", T: Gauge, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpcomingGaugesResponse { return new UpcomingGaugesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpcomingGaugesResponse { return new UpcomingGaugesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpcomingGaugesResponse { return new UpcomingGaugesResponse().fromJsonString(jsonString, options); } static equals(a: UpcomingGaugesResponse | PlainMessage | undefined, b: UpcomingGaugesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpcomingGaugesResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.UpcomingGaugesPerDenomRequest */ export class UpcomingGaugesPerDenomRequest extends Message { /** * Filter for upcoming gagues that match specific denom * * @generated from field: string denom = 1; */ denom = ""; /** * Pagination defines pagination for the request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.UpcomingGaugesPerDenomRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpcomingGaugesPerDenomRequest { return new UpcomingGaugesPerDenomRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpcomingGaugesPerDenomRequest { return new UpcomingGaugesPerDenomRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpcomingGaugesPerDenomRequest { return new UpcomingGaugesPerDenomRequest().fromJsonString(jsonString, options); } static equals(a: UpcomingGaugesPerDenomRequest | PlainMessage | undefined, b: UpcomingGaugesPerDenomRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpcomingGaugesPerDenomRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.UpcomingGaugesPerDenomResponse */ export class UpcomingGaugesPerDenomResponse extends Message { /** * Upcoming gagues that match denom in query * * @generated from field: repeated dymensionxyz.dymension.incentives.Gauge upcoming_gauges = 1; */ upcomingGauges: Gauge[] = []; /** * Pagination defines pagination for the response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.UpcomingGaugesPerDenomResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "upcoming_gauges", kind: "message", T: Gauge, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpcomingGaugesPerDenomResponse { return new UpcomingGaugesPerDenomResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpcomingGaugesPerDenomResponse { return new UpcomingGaugesPerDenomResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpcomingGaugesPerDenomResponse { return new UpcomingGaugesPerDenomResponse().fromJsonString(jsonString, options); } static equals(a: UpcomingGaugesPerDenomResponse | PlainMessage | undefined, b: UpcomingGaugesPerDenomResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpcomingGaugesPerDenomResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.RewardsEstRequest */ export class RewardsEstRequest extends Message { /** * Address that is being queried for future estimated rewards * * @generated from field: string owner = 1; */ owner = ""; /** * Lock IDs included in future reward estimation * * @generated from field: repeated uint64 lock_ids = 2; */ lockIds: bigint[] = []; /** * Upper time limit of reward estimation * Lower limit is current epoch * * @generated from field: int64 end_epoch = 3; */ endEpoch = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.RewardsEstRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "lock_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 3, name: "end_epoch", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): RewardsEstRequest { return new RewardsEstRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): RewardsEstRequest { return new RewardsEstRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): RewardsEstRequest { return new RewardsEstRequest().fromJsonString(jsonString, options); } static equals(a: RewardsEstRequest | PlainMessage | undefined, b: RewardsEstRequest | PlainMessage | undefined): boolean { return proto3.util.equals(RewardsEstRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.RewardsEstResponse */ export class RewardsEstResponse extends Message { /** * Estimated coin rewards that will be recieved at provided address * from specified locks between current time and end epoch * * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 1; */ coins: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.RewardsEstResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "coins", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): RewardsEstResponse { return new RewardsEstResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): RewardsEstResponse { return new RewardsEstResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): RewardsEstResponse { return new RewardsEstResponse().fromJsonString(jsonString, options); } static equals(a: RewardsEstResponse | PlainMessage | undefined, b: RewardsEstResponse | PlainMessage | undefined): boolean { return proto3.util.equals(RewardsEstResponse, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.QueryLockableDurationsRequest */ export class QueryLockableDurationsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.QueryLockableDurationsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLockableDurationsRequest { return new QueryLockableDurationsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLockableDurationsRequest { return new QueryLockableDurationsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLockableDurationsRequest { return new QueryLockableDurationsRequest().fromJsonString(jsonString, options); } static equals(a: QueryLockableDurationsRequest | PlainMessage | undefined, b: QueryLockableDurationsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLockableDurationsRequest, a, b); } } /** * @generated from message dymensionxyz.dymension.incentives.QueryLockableDurationsResponse */ export class QueryLockableDurationsResponse extends Message { /** * Time durations that users can lock coins for in order to recieve rewards * * @generated from field: repeated google.protobuf.Duration lockable_durations = 1; */ lockableDurations: Duration[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.incentives.QueryLockableDurationsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "lockable_durations", kind: "message", T: Duration, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLockableDurationsResponse { return new QueryLockableDurationsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLockableDurationsResponse { return new QueryLockableDurationsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLockableDurationsResponse { return new QueryLockableDurationsResponse().fromJsonString(jsonString, options); } static equals(a: QueryLockableDurationsResponse | PlainMessage | undefined, b: QueryLockableDurationsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLockableDurationsResponse, a, b); } }