import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { QueryCondition } from "../lockup/lock_pb.js"; import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js"; /** * Gauge is an object that stores and distributes yields to recipients who * satisfy certain conditions. Currently gauges support conditions around the * duration for which a given denom is locked. * * @generated from message osmosis.incentives.Gauge */ export declare class Gauge extends Message { /** * id is the unique ID of a Gauge * * @generated from field: uint64 id = 1; */ id: bigint; /** * is_perpetual is a flag to show if it's a perpetual or non-perpetual gauge * Non-perpetual gauges distribute their tokens equally per epoch while the * gauge is in the active period. Perpetual gauges distribute all their tokens * at a single time and only distribute their tokens again once the gauge is * refilled, Intended for use with incentives that get refilled daily. * * @generated from field: bool is_perpetual = 2; */ isPerpetual: boolean; /** * distribute_to is where the gauge rewards are distributed to. * This is queried via lock duration or by timestamp * * @generated from field: osmosis.lockup.QueryCondition distribute_to = 3; */ distributeTo?: QueryCondition; /** * coins is the total amount of coins that have been in the gauge * Can distribute multiple coin denoms * * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 4; */ coins: Coin[]; /** * start_time is the distribution start time * * @generated from field: google.protobuf.Timestamp start_time = 5; */ startTime?: Timestamp; /** * num_epochs_paid_over is the number of total epochs distribution will be * completed over * * @generated from field: uint64 num_epochs_paid_over = 6; */ numEpochsPaidOver: bigint; /** * filled_epochs is the number of epochs distribution has been completed on * already * * @generated from field: uint64 filled_epochs = 7; */ filledEpochs: bigint; /** * distributed_coins are coins that have been distributed already * * @generated from field: repeated cosmos.base.v1beta1.Coin distributed_coins = 8; */ distributedCoins: Coin[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.incentives.Gauge"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Gauge; static fromJson(jsonValue: JsonValue, options?: Partial): Gauge; static fromJsonString(jsonString: string, options?: Partial): Gauge; static equals(a: Gauge | PlainMessage | undefined, b: Gauge | PlainMessage | undefined): boolean; } /** * @generated from message osmosis.incentives.LockableDurationsInfo */ export declare class LockableDurationsInfo extends Message { /** * List of incentivised durations that gauges will pay out to * * @generated from field: repeated google.protobuf.Duration lockable_durations = 1; */ lockableDurations: Duration[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.incentives.LockableDurationsInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LockableDurationsInfo; static fromJson(jsonValue: JsonValue, options?: Partial): LockableDurationsInfo; static fromJsonString(jsonString: string, options?: Partial): LockableDurationsInfo; static equals(a: LockableDurationsInfo | PlainMessage | undefined, b: LockableDurationsInfo | PlainMessage | undefined): boolean; } //# sourceMappingURL=gauge_pb.d.ts.map