// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/lockup/genesis.proto (package dymensionxyz.dymension.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 } from "./lock_pb.js"; /** * GenesisState defines the lockup module's genesis state. * * @generated from message dymensionxyz.dymension.lockup.GenesisState */ export class GenesisState extends Message { /** * @generated from field: uint64 last_lock_id = 1; */ lastLockId = protoInt64.zero; /** * @generated from field: repeated dymensionxyz.dymension.lockup.PeriodLock locks = 2; */ locks: PeriodLock[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.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 }, ]); 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); } }