// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/lockup/tx.proto (package osmosis.lockup, 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 { PeriodLock } from "./lock_pb.js"; /** * @generated from message osmosis.lockup.MsgLockTokens */ export class MsgLockTokens extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: google.protobuf.Duration duration = 2; */ duration?: Duration; /** * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 3; */ coins: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgLockTokens"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "duration", kind: "message", T: Duration }, { no: 3, name: "coins", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgLockTokens { return new MsgLockTokens().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgLockTokens { return new MsgLockTokens().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgLockTokens { return new MsgLockTokens().fromJsonString(jsonString, options); } static equals(a: MsgLockTokens | PlainMessage | undefined, b: MsgLockTokens | PlainMessage | undefined): boolean { return proto3.util.equals(MsgLockTokens, a, b); } } /** * @generated from message osmosis.lockup.MsgLockTokensResponse */ export class MsgLockTokensResponse extends Message { /** * @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 = "osmosis.lockup.MsgLockTokensResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgLockTokensResponse { return new MsgLockTokensResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgLockTokensResponse { return new MsgLockTokensResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgLockTokensResponse { return new MsgLockTokensResponse().fromJsonString(jsonString, options); } static equals(a: MsgLockTokensResponse | PlainMessage | undefined, b: MsgLockTokensResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgLockTokensResponse, a, b); } } /** * @generated from message osmosis.lockup.MsgBeginUnlockingAll */ export class MsgBeginUnlockingAll extends Message { /** * @generated from field: string owner = 1; */ owner = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgBeginUnlockingAll"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginUnlockingAll { return new MsgBeginUnlockingAll().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginUnlockingAll { return new MsgBeginUnlockingAll().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBeginUnlockingAll { return new MsgBeginUnlockingAll().fromJsonString(jsonString, options); } static equals(a: MsgBeginUnlockingAll | PlainMessage | undefined, b: MsgBeginUnlockingAll | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBeginUnlockingAll, a, b); } } /** * @generated from message osmosis.lockup.MsgBeginUnlockingAllResponse */ export class MsgBeginUnlockingAllResponse extends Message { /** * @generated from field: repeated osmosis.lockup.PeriodLock unlocks = 1; */ unlocks: PeriodLock[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgBeginUnlockingAllResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "unlocks", kind: "message", T: PeriodLock, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginUnlockingAllResponse { return new MsgBeginUnlockingAllResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginUnlockingAllResponse { return new MsgBeginUnlockingAllResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBeginUnlockingAllResponse { return new MsgBeginUnlockingAllResponse().fromJsonString(jsonString, options); } static equals(a: MsgBeginUnlockingAllResponse | PlainMessage | undefined, b: MsgBeginUnlockingAllResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBeginUnlockingAllResponse, a, b); } } /** * @generated from message osmosis.lockup.MsgBeginUnlocking */ export class MsgBeginUnlocking extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: uint64 ID = 2; */ ID = protoInt64.zero; /** * Amount of unlocking coins. Unlock all if not set. * * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 3; */ coins: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgBeginUnlocking"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "coins", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginUnlocking { return new MsgBeginUnlocking().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginUnlocking { return new MsgBeginUnlocking().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBeginUnlocking { return new MsgBeginUnlocking().fromJsonString(jsonString, options); } static equals(a: MsgBeginUnlocking | PlainMessage | undefined, b: MsgBeginUnlocking | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBeginUnlocking, a, b); } } /** * @generated from message osmosis.lockup.MsgBeginUnlockingResponse */ export class MsgBeginUnlockingResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; /** * @generated from field: uint64 unlockingLockID = 2; */ unlockingLockID = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgBeginUnlockingResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "unlockingLockID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBeginUnlockingResponse { return new MsgBeginUnlockingResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBeginUnlockingResponse { return new MsgBeginUnlockingResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBeginUnlockingResponse { return new MsgBeginUnlockingResponse().fromJsonString(jsonString, options); } static equals(a: MsgBeginUnlockingResponse | PlainMessage | undefined, b: MsgBeginUnlockingResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBeginUnlockingResponse, a, b); } } /** * MsgExtendLockup extends the existing lockup's duration. * The new duration is longer than the original. * * @generated from message osmosis.lockup.MsgExtendLockup */ export class MsgExtendLockup extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: uint64 ID = 2; */ ID = protoInt64.zero; /** * duration to be set. fails if lower than the current duration, or is * unlocking * * @generated from field: google.protobuf.Duration duration = 3; */ duration?: Duration; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgExtendLockup"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "duration", kind: "message", T: Duration }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgExtendLockup { return new MsgExtendLockup().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgExtendLockup { return new MsgExtendLockup().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgExtendLockup { return new MsgExtendLockup().fromJsonString(jsonString, options); } static equals(a: MsgExtendLockup | PlainMessage | undefined, b: MsgExtendLockup | PlainMessage | undefined): boolean { return proto3.util.equals(MsgExtendLockup, a, b); } } /** * @generated from message osmosis.lockup.MsgExtendLockupResponse */ export class MsgExtendLockupResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgExtendLockupResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgExtendLockupResponse { return new MsgExtendLockupResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgExtendLockupResponse { return new MsgExtendLockupResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgExtendLockupResponse { return new MsgExtendLockupResponse().fromJsonString(jsonString, options); } static equals(a: MsgExtendLockupResponse | PlainMessage | undefined, b: MsgExtendLockupResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgExtendLockupResponse, a, b); } } /** * MsgForceUnlock unlocks locks immediately for * addresses registered via governance. * * @generated from message osmosis.lockup.MsgForceUnlock */ export class MsgForceUnlock extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: uint64 ID = 2; */ ID = protoInt64.zero; /** * Amount of unlocking coins. Unlock all if not set. * * @generated from field: repeated cosmos.base.v1beta1.Coin coins = 3; */ coins: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgForceUnlock"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "coins", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgForceUnlock { return new MsgForceUnlock().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgForceUnlock { return new MsgForceUnlock().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgForceUnlock { return new MsgForceUnlock().fromJsonString(jsonString, options); } static equals(a: MsgForceUnlock | PlainMessage | undefined, b: MsgForceUnlock | PlainMessage | undefined): boolean { return proto3.util.equals(MsgForceUnlock, a, b); } } /** * @generated from message osmosis.lockup.MsgForceUnlockResponse */ export class MsgForceUnlockResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgForceUnlockResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgForceUnlockResponse { return new MsgForceUnlockResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgForceUnlockResponse { return new MsgForceUnlockResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgForceUnlockResponse { return new MsgForceUnlockResponse().fromJsonString(jsonString, options); } static equals(a: MsgForceUnlockResponse | PlainMessage | undefined, b: MsgForceUnlockResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgForceUnlockResponse, a, b); } } /** * @generated from message osmosis.lockup.MsgSetRewardReceiverAddress */ export class MsgSetRewardReceiverAddress extends Message { /** * @generated from field: string owner = 1; */ owner = ""; /** * @generated from field: uint64 lockID = 2; */ lockID = protoInt64.zero; /** * @generated from field: string reward_receiver = 3; */ rewardReceiver = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgSetRewardReceiverAddress"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "lockID", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "reward_receiver", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetRewardReceiverAddress { return new MsgSetRewardReceiverAddress().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetRewardReceiverAddress { return new MsgSetRewardReceiverAddress().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetRewardReceiverAddress { return new MsgSetRewardReceiverAddress().fromJsonString(jsonString, options); } static equals(a: MsgSetRewardReceiverAddress | PlainMessage | undefined, b: MsgSetRewardReceiverAddress | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetRewardReceiverAddress, a, b); } } /** * @generated from message osmosis.lockup.MsgSetRewardReceiverAddressResponse */ export class MsgSetRewardReceiverAddressResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.lockup.MsgSetRewardReceiverAddressResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetRewardReceiverAddressResponse { return new MsgSetRewardReceiverAddressResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetRewardReceiverAddressResponse { return new MsgSetRewardReceiverAddressResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetRewardReceiverAddressResponse { return new MsgSetRewardReceiverAddressResponse().fromJsonString(jsonString, options); } static equals(a: MsgSetRewardReceiverAddressResponse | PlainMessage | undefined, b: MsgSetRewardReceiverAddressResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetRewardReceiverAddressResponse, a, b); } }