// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/auction/v1beta1/tx.proto (package injective.auction.v1beta1, 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 { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { Params } from "./auction_pb.js"; /** * Bid defines a SDK message for placing a bid for an auction * * @generated from message injective.auction.v1beta1.MsgBid */ export class MsgBid extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * amount of the bid in INJ tokens * * @generated from field: cosmos.base.v1beta1.Coin bid_amount = 2; */ bidAmount?: Coin; /** * the current auction round being bid on * * @generated from field: uint64 round = 3; */ round = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.auction.v1beta1.MsgBid"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "bid_amount", kind: "message", T: Coin }, { no: 3, name: "round", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBid { return new MsgBid().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBid { return new MsgBid().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBid { return new MsgBid().fromJsonString(jsonString, options); } static equals(a: MsgBid | PlainMessage | undefined, b: MsgBid | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBid, a, b); } } /** * @generated from message injective.auction.v1beta1.MsgBidResponse */ export class MsgBidResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.auction.v1beta1.MsgBidResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBidResponse { return new MsgBidResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBidResponse { return new MsgBidResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBidResponse { return new MsgBidResponse().fromJsonString(jsonString, options); } static equals(a: MsgBidResponse | PlainMessage | undefined, b: MsgBidResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBidResponse, a, b); } } /** * @generated from message injective.auction.v1beta1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * authority is the address of the governance account. * * @generated from field: string authority = 1; */ authority = ""; /** * params defines the ocr parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.auction.v1beta1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.auction.v1beta1.MsgUpdateParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParams, a, b); } } /** * @generated from message injective.auction.v1beta1.MsgUpdateParamsResponse */ export class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.auction.v1beta1.MsgUpdateParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParamsResponse, a, b); } }