// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/lockup/genesis.proto (package osmosis.lockup, 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 { PeriodLock, SyntheticLock } from "./lock_pb.js"; import { Params } from "./params_pb.js"; /** * GenesisState defines the lockup module's genesis state. * * @generated from message osmosis.lockup.GenesisState */ export class GenesisState extends Message { /** * @generated from field: uint64 last_lock_id = 1; */ lastLockId = protoInt64.zero; /** * @generated from field: repeated osmosis.lockup.PeriodLock locks = 2; */ locks: PeriodLock[] = []; /** * @generated from field: repeated osmosis.lockup.SyntheticLock synthetic_locks = 3; */ syntheticLocks: SyntheticLock[] = []; /** * @generated from field: osmosis.lockup.Params params = 4; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.GenesisState"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "last_lock_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "locks", kind: "message", T: PeriodLock, repeated: true }, { no: 3, name: "synthetic_locks", kind: "message", T: SyntheticLock, repeated: true }, { no: 4, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GenesisState { return new GenesisState().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GenesisState { return new GenesisState().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GenesisState { return new GenesisState().fromJsonString(jsonString, options); } static equals(a: GenesisState | PlainMessage | undefined, b: GenesisState | PlainMessage | undefined): boolean { return proto3.util.equals(GenesisState, a, b); } }