// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/exchange/v1beta1/tx.proto (package injective.exchange.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 { DerivativeOrder, MarketStatus, Params, PositionDelta, SpotOrder } from "./exchange_pb.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { OracleType } from "../../oracle/v1beta1/oracle_pb.js"; /** * @generated from message injective.exchange.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 exchange parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.exchange.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.exchange.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.exchange.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.exchange.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); } } /** * MsgDeposit defines a SDK message for transferring coins from the sender's * bank balance into the subaccount's exchange deposits * * @generated from message injective.exchange.v1beta1.MsgDeposit */ export class MsgDeposit extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * (Optional) bytes32 subaccount ID to deposit funds into. If empty, the coin * will be deposited to the sender's default subaccount address. * * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgDeposit"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgDeposit { return new MsgDeposit().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgDeposit { return new MsgDeposit().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgDeposit { return new MsgDeposit().fromJsonString(jsonString, options); } static equals(a: MsgDeposit | PlainMessage | undefined, b: MsgDeposit | PlainMessage | undefined): boolean { return proto3.util.equals(MsgDeposit, a, b); } } /** * MsgDepositResponse defines the Msg/Deposit response type. * * @generated from message injective.exchange.v1beta1.MsgDepositResponse */ export class MsgDepositResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgDepositResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgDepositResponse { return new MsgDepositResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgDepositResponse { return new MsgDepositResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgDepositResponse { return new MsgDepositResponse().fromJsonString(jsonString, options); } static equals(a: MsgDepositResponse | PlainMessage | undefined, b: MsgDepositResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgDepositResponse, a, b); } } /** * MsgWithdraw defines a SDK message for withdrawing coins from a subaccount's * deposits to the user's bank balance * * @generated from message injective.exchange.v1beta1.MsgWithdraw */ export class MsgWithdraw extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * bytes32 subaccount ID to withdraw funds from * * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgWithdraw"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdraw { return new MsgWithdraw().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdraw { return new MsgWithdraw().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdraw { return new MsgWithdraw().fromJsonString(jsonString, options); } static equals(a: MsgWithdraw | PlainMessage | undefined, b: MsgWithdraw | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdraw, a, b); } } /** * MsgWithdraw defines the Msg/Withdraw response type. * * @generated from message injective.exchange.v1beta1.MsgWithdrawResponse */ export class MsgWithdrawResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgWithdrawResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawResponse { return new MsgWithdrawResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawResponse { return new MsgWithdrawResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawResponse { return new MsgWithdrawResponse().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawResponse | PlainMessage | undefined, b: MsgWithdrawResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawResponse, a, b); } } /** * MsgCreateSpotLimitOrder defines a SDK message for creating a new spot limit * order. * * @generated from message injective.exchange.v1beta1.MsgCreateSpotLimitOrder */ export class MsgCreateSpotLimitOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.SpotOrder order = 2; */ order?: SpotOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateSpotLimitOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: SpotOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateSpotLimitOrder { return new MsgCreateSpotLimitOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateSpotLimitOrder { return new MsgCreateSpotLimitOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateSpotLimitOrder { return new MsgCreateSpotLimitOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateSpotLimitOrder | PlainMessage | undefined, b: MsgCreateSpotLimitOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateSpotLimitOrder, a, b); } } /** * MsgCreateSpotLimitOrderResponse defines the Msg/CreateSpotOrder response * type. * * @generated from message injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse */ export class MsgCreateSpotLimitOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateSpotLimitOrderResponse { return new MsgCreateSpotLimitOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateSpotLimitOrderResponse { return new MsgCreateSpotLimitOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateSpotLimitOrderResponse { return new MsgCreateSpotLimitOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateSpotLimitOrderResponse | PlainMessage | undefined, b: MsgCreateSpotLimitOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateSpotLimitOrderResponse, a, b); } } /** * MsgBatchCreateSpotLimitOrders defines a SDK message for creating a new batch * of spot limit orders. * * @generated from message injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders */ export class MsgBatchCreateSpotLimitOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.exchange.v1beta1.SpotOrder orders = 2; */ orders: SpotOrder[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "orders", kind: "message", T: SpotOrder, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCreateSpotLimitOrders { return new MsgBatchCreateSpotLimitOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCreateSpotLimitOrders { return new MsgBatchCreateSpotLimitOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCreateSpotLimitOrders { return new MsgBatchCreateSpotLimitOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchCreateSpotLimitOrders | PlainMessage | undefined, b: MsgBatchCreateSpotLimitOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCreateSpotLimitOrders, a, b); } } /** * MsgBatchCreateSpotLimitOrdersResponse defines the * Msg/BatchCreateSpotLimitOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse */ export class MsgBatchCreateSpotLimitOrdersResponse extends Message { /** * @generated from field: repeated string order_hashes = 1; */ orderHashes: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCreateSpotLimitOrdersResponse { return new MsgBatchCreateSpotLimitOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCreateSpotLimitOrdersResponse { return new MsgBatchCreateSpotLimitOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCreateSpotLimitOrdersResponse { return new MsgBatchCreateSpotLimitOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchCreateSpotLimitOrdersResponse | PlainMessage | undefined, b: MsgBatchCreateSpotLimitOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCreateSpotLimitOrdersResponse, a, b); } } /** * MsgInstantSpotMarketLaunch defines a SDK message for creating a new spot * market by paying listing fee without governance * * @generated from message injective.exchange.v1beta1.MsgInstantSpotMarketLaunch */ export class MsgInstantSpotMarketLaunch extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * Ticker for the spot market. * * @generated from field: string ticker = 2; */ ticker = ""; /** * type of coin to use as the base currency * * @generated from field: string base_denom = 3; */ baseDenom = ""; /** * type of coin to use as the quote currency * * @generated from field: string quote_denom = 4; */ quoteDenom = ""; /** * min_price_tick_size defines the minimum tick size of the order's price * * @generated from field: string min_price_tick_size = 5; */ minPriceTickSize = ""; /** * min_quantity_tick_size defines the minimum tick size of the order's * quantity * * @generated from field: string min_quantity_tick_size = 6; */ minQuantityTickSize = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantSpotMarketLaunch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "base_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "quote_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "min_price_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "min_quantity_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantSpotMarketLaunch { return new MsgInstantSpotMarketLaunch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantSpotMarketLaunch { return new MsgInstantSpotMarketLaunch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantSpotMarketLaunch { return new MsgInstantSpotMarketLaunch().fromJsonString(jsonString, options); } static equals(a: MsgInstantSpotMarketLaunch | PlainMessage | undefined, b: MsgInstantSpotMarketLaunch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantSpotMarketLaunch, a, b); } } /** * MsgInstantSpotMarketLaunchResponse defines the Msg/InstantSpotMarketLaunch * response type. * * @generated from message injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse */ export class MsgInstantSpotMarketLaunchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantSpotMarketLaunchResponse { return new MsgInstantSpotMarketLaunchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantSpotMarketLaunchResponse { return new MsgInstantSpotMarketLaunchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantSpotMarketLaunchResponse { return new MsgInstantSpotMarketLaunchResponse().fromJsonString(jsonString, options); } static equals(a: MsgInstantSpotMarketLaunchResponse | PlainMessage | undefined, b: MsgInstantSpotMarketLaunchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantSpotMarketLaunchResponse, a, b); } } /** * MsgInstantPerpetualMarketLaunch defines a SDK message for creating a new * perpetual futures market by paying listing fee without governance * * @generated from message injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch */ export class MsgInstantPerpetualMarketLaunch extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * Ticker for the derivative market. * * @generated from field: string ticker = 2; */ ticker = ""; /** * type of coin to use as the base currency * * @generated from field: string quote_denom = 3; */ quoteDenom = ""; /** * Oracle base currency * * @generated from field: string oracle_base = 4; */ oracleBase = ""; /** * Oracle quote currency * * @generated from field: string oracle_quote = 5; */ oracleQuote = ""; /** * Scale factor for oracle prices. * * @generated from field: uint32 oracle_scale_factor = 6; */ oracleScaleFactor = 0; /** * Oracle type * * @generated from field: injective.oracle.v1beta1.OracleType oracle_type = 7; */ oracleType = OracleType.Unspecified; /** * maker_fee_rate defines the trade fee rate for makers on the perpetual * market * * @generated from field: string maker_fee_rate = 8; */ makerFeeRate = ""; /** * taker_fee_rate defines the trade fee rate for takers on the perpetual * market * * @generated from field: string taker_fee_rate = 9; */ takerFeeRate = ""; /** * initial_margin_ratio defines the initial margin ratio for the perpetual * market * * @generated from field: string initial_margin_ratio = 10; */ initialMarginRatio = ""; /** * maintenance_margin_ratio defines the maintenance margin ratio for the * perpetual market * * @generated from field: string maintenance_margin_ratio = 11; */ maintenanceMarginRatio = ""; /** * min_price_tick_size defines the minimum tick size of the order's price and * margin * * @generated from field: string min_price_tick_size = 12; */ minPriceTickSize = ""; /** * min_quantity_tick_size defines the minimum tick size of the order's * quantity * * @generated from field: string min_quantity_tick_size = 13; */ minQuantityTickSize = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "quote_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "oracle_base", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "oracle_quote", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "oracle_scale_factor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, { no: 7, name: "oracle_type", kind: "enum", T: proto3.getEnumType(OracleType) }, { no: 8, name: "maker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "taker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 10, name: "initial_margin_ratio", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 11, name: "maintenance_margin_ratio", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 12, name: "min_price_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 13, name: "min_quantity_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantPerpetualMarketLaunch { return new MsgInstantPerpetualMarketLaunch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantPerpetualMarketLaunch { return new MsgInstantPerpetualMarketLaunch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantPerpetualMarketLaunch { return new MsgInstantPerpetualMarketLaunch().fromJsonString(jsonString, options); } static equals(a: MsgInstantPerpetualMarketLaunch | PlainMessage | undefined, b: MsgInstantPerpetualMarketLaunch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantPerpetualMarketLaunch, a, b); } } /** * MsgInstantPerpetualMarketLaunchResponse defines the * Msg/InstantPerpetualMarketLaunchResponse response type. * * @generated from message injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse */ export class MsgInstantPerpetualMarketLaunchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantPerpetualMarketLaunchResponse { return new MsgInstantPerpetualMarketLaunchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantPerpetualMarketLaunchResponse { return new MsgInstantPerpetualMarketLaunchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantPerpetualMarketLaunchResponse { return new MsgInstantPerpetualMarketLaunchResponse().fromJsonString(jsonString, options); } static equals(a: MsgInstantPerpetualMarketLaunchResponse | PlainMessage | undefined, b: MsgInstantPerpetualMarketLaunchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantPerpetualMarketLaunchResponse, a, b); } } /** * MsgInstantBinaryOptionsMarketLaunch defines a SDK message for creating a new * perpetual futures market by paying listing fee without governance * * @generated from message injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch */ export class MsgInstantBinaryOptionsMarketLaunch extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * Ticker for the derivative contract. * * @generated from field: string ticker = 2; */ ticker = ""; /** * Oracle symbol * * @generated from field: string oracle_symbol = 3; */ oracleSymbol = ""; /** * Oracle Provider * * @generated from field: string oracle_provider = 4; */ oracleProvider = ""; /** * Oracle type * * @generated from field: injective.oracle.v1beta1.OracleType oracle_type = 5; */ oracleType = OracleType.Unspecified; /** * Scale factor for oracle prices. * * @generated from field: uint32 oracle_scale_factor = 6; */ oracleScaleFactor = 0; /** * maker_fee_rate defines the trade fee rate for makers on the perpetual * market * * @generated from field: string maker_fee_rate = 7; */ makerFeeRate = ""; /** * taker_fee_rate defines the trade fee rate for takers on the perpetual * market * * @generated from field: string taker_fee_rate = 8; */ takerFeeRate = ""; /** * expiration timestamp * * @generated from field: int64 expiration_timestamp = 9; */ expirationTimestamp = protoInt64.zero; /** * expiration timestamp * * @generated from field: int64 settlement_timestamp = 10; */ settlementTimestamp = protoInt64.zero; /** * admin of the market * * @generated from field: string admin = 11; */ admin = ""; /** * Address of the quote currency denomination for the binary options contract * * @generated from field: string quote_denom = 12; */ quoteDenom = ""; /** * min_price_tick_size defines the minimum tick size that the price and margin * required for orders in the market * * @generated from field: string min_price_tick_size = 13; */ minPriceTickSize = ""; /** * min_quantity_tick_size defines the minimum tick size of the quantity * required for orders in the market * * @generated from field: string min_quantity_tick_size = 14; */ minQuantityTickSize = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "oracle_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "oracle_provider", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "oracle_type", kind: "enum", T: proto3.getEnumType(OracleType) }, { no: 6, name: "oracle_scale_factor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, { no: 7, name: "maker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "taker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "expiration_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 10, name: "settlement_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 11, name: "admin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 12, name: "quote_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 13, name: "min_price_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 14, name: "min_quantity_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantBinaryOptionsMarketLaunch { return new MsgInstantBinaryOptionsMarketLaunch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantBinaryOptionsMarketLaunch { return new MsgInstantBinaryOptionsMarketLaunch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantBinaryOptionsMarketLaunch { return new MsgInstantBinaryOptionsMarketLaunch().fromJsonString(jsonString, options); } static equals(a: MsgInstantBinaryOptionsMarketLaunch | PlainMessage | undefined, b: MsgInstantBinaryOptionsMarketLaunch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantBinaryOptionsMarketLaunch, a, b); } } /** * MsgInstantBinaryOptionsMarketLaunchResponse defines the * Msg/InstantBinaryOptionsMarketLaunchResponse response type. * * @generated from message injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse */ export class MsgInstantBinaryOptionsMarketLaunchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantBinaryOptionsMarketLaunchResponse { return new MsgInstantBinaryOptionsMarketLaunchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantBinaryOptionsMarketLaunchResponse { return new MsgInstantBinaryOptionsMarketLaunchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantBinaryOptionsMarketLaunchResponse { return new MsgInstantBinaryOptionsMarketLaunchResponse().fromJsonString(jsonString, options); } static equals(a: MsgInstantBinaryOptionsMarketLaunchResponse | PlainMessage | undefined, b: MsgInstantBinaryOptionsMarketLaunchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantBinaryOptionsMarketLaunchResponse, a, b); } } /** * MsgInstantExpiryFuturesMarketLaunch defines a SDK message for creating a new * expiry futures market by paying listing fee without governance * * @generated from message injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch */ export class MsgInstantExpiryFuturesMarketLaunch extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * Ticker for the derivative market. * * @generated from field: string ticker = 2; */ ticker = ""; /** * type of coin to use as the quote currency * * @generated from field: string quote_denom = 3; */ quoteDenom = ""; /** * Oracle base currency * * @generated from field: string oracle_base = 4; */ oracleBase = ""; /** * Oracle quote currency * * @generated from field: string oracle_quote = 5; */ oracleQuote = ""; /** * Oracle type * * @generated from field: injective.oracle.v1beta1.OracleType oracle_type = 6; */ oracleType = OracleType.Unspecified; /** * Scale factor for oracle prices. * * @generated from field: uint32 oracle_scale_factor = 7; */ oracleScaleFactor = 0; /** * Expiration time of the market * * @generated from field: int64 expiry = 8; */ expiry = protoInt64.zero; /** * maker_fee_rate defines the trade fee rate for makers on the expiry futures * market * * @generated from field: string maker_fee_rate = 9; */ makerFeeRate = ""; /** * taker_fee_rate defines the trade fee rate for takers on the expiry futures * market * * @generated from field: string taker_fee_rate = 10; */ takerFeeRate = ""; /** * initial_margin_ratio defines the initial margin ratio for the derivative * market * * @generated from field: string initial_margin_ratio = 11; */ initialMarginRatio = ""; /** * maintenance_margin_ratio defines the maintenance margin ratio for the * derivative market * * @generated from field: string maintenance_margin_ratio = 12; */ maintenanceMarginRatio = ""; /** * min_price_tick_size defines the minimum tick size of the order's price and * margin * * @generated from field: string min_price_tick_size = 13; */ minPriceTickSize = ""; /** * min_quantity_tick_size defines the minimum tick size of the order's * quantity * * @generated from field: string min_quantity_tick_size = 14; */ minQuantityTickSize = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "quote_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "oracle_base", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "oracle_quote", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "oracle_type", kind: "enum", T: proto3.getEnumType(OracleType) }, { no: 7, name: "oracle_scale_factor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, { no: 8, name: "expiry", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 9, name: "maker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 10, name: "taker_fee_rate", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 11, name: "initial_margin_ratio", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 12, name: "maintenance_margin_ratio", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 13, name: "min_price_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 14, name: "min_quantity_tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantExpiryFuturesMarketLaunch { return new MsgInstantExpiryFuturesMarketLaunch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantExpiryFuturesMarketLaunch { return new MsgInstantExpiryFuturesMarketLaunch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantExpiryFuturesMarketLaunch { return new MsgInstantExpiryFuturesMarketLaunch().fromJsonString(jsonString, options); } static equals(a: MsgInstantExpiryFuturesMarketLaunch | PlainMessage | undefined, b: MsgInstantExpiryFuturesMarketLaunch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantExpiryFuturesMarketLaunch, a, b); } } /** * MsgInstantExpiryFuturesMarketLaunchResponse defines the * Msg/InstantExpiryFuturesMarketLaunch response type. * * @generated from message injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse */ export class MsgInstantExpiryFuturesMarketLaunchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgInstantExpiryFuturesMarketLaunchResponse { return new MsgInstantExpiryFuturesMarketLaunchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgInstantExpiryFuturesMarketLaunchResponse { return new MsgInstantExpiryFuturesMarketLaunchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgInstantExpiryFuturesMarketLaunchResponse { return new MsgInstantExpiryFuturesMarketLaunchResponse().fromJsonString(jsonString, options); } static equals(a: MsgInstantExpiryFuturesMarketLaunchResponse | PlainMessage | undefined, b: MsgInstantExpiryFuturesMarketLaunchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgInstantExpiryFuturesMarketLaunchResponse, a, b); } } /** * MsgCreateSpotMarketOrder defines a SDK message for creating a new spot market * order. * * @generated from message injective.exchange.v1beta1.MsgCreateSpotMarketOrder */ export class MsgCreateSpotMarketOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.SpotOrder order = 2; */ order?: SpotOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateSpotMarketOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: SpotOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateSpotMarketOrder { return new MsgCreateSpotMarketOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateSpotMarketOrder { return new MsgCreateSpotMarketOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateSpotMarketOrder { return new MsgCreateSpotMarketOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateSpotMarketOrder | PlainMessage | undefined, b: MsgCreateSpotMarketOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateSpotMarketOrder, a, b); } } /** * MsgCreateSpotMarketOrderResponse defines the Msg/CreateSpotMarketLimitOrder * response type. * * @generated from message injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse */ export class MsgCreateSpotMarketOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; /** * @generated from field: injective.exchange.v1beta1.SpotMarketOrderResults results = 2; */ results?: SpotMarketOrderResults; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "results", kind: "message", T: SpotMarketOrderResults }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateSpotMarketOrderResponse { return new MsgCreateSpotMarketOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateSpotMarketOrderResponse { return new MsgCreateSpotMarketOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateSpotMarketOrderResponse { return new MsgCreateSpotMarketOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateSpotMarketOrderResponse | PlainMessage | undefined, b: MsgCreateSpotMarketOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateSpotMarketOrderResponse, a, b); } } /** * @generated from message injective.exchange.v1beta1.SpotMarketOrderResults */ export class SpotMarketOrderResults extends Message { /** * @generated from field: string quantity = 1; */ quantity = ""; /** * @generated from field: string price = 2; */ price = ""; /** * @generated from field: string fee = 3; */ fee = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.SpotMarketOrderResults"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "quantity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "fee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): SpotMarketOrderResults { return new SpotMarketOrderResults().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): SpotMarketOrderResults { return new SpotMarketOrderResults().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): SpotMarketOrderResults { return new SpotMarketOrderResults().fromJsonString(jsonString, options); } static equals(a: SpotMarketOrderResults | PlainMessage | undefined, b: SpotMarketOrderResults | PlainMessage | undefined): boolean { return proto3.util.equals(SpotMarketOrderResults, a, b); } } /** * A Cosmos-SDK MsgCreateDerivativeLimitOrder * * @generated from message injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder */ export class MsgCreateDerivativeLimitOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeOrder order = 2; */ order?: DerivativeOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: DerivativeOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateDerivativeLimitOrder { return new MsgCreateDerivativeLimitOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateDerivativeLimitOrder { return new MsgCreateDerivativeLimitOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateDerivativeLimitOrder { return new MsgCreateDerivativeLimitOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateDerivativeLimitOrder | PlainMessage | undefined, b: MsgCreateDerivativeLimitOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateDerivativeLimitOrder, a, b); } } /** * MsgCreateDerivativeLimitOrderResponse defines the * Msg/CreateDerivativeMarketOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse */ export class MsgCreateDerivativeLimitOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateDerivativeLimitOrderResponse { return new MsgCreateDerivativeLimitOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateDerivativeLimitOrderResponse { return new MsgCreateDerivativeLimitOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateDerivativeLimitOrderResponse { return new MsgCreateDerivativeLimitOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateDerivativeLimitOrderResponse | PlainMessage | undefined, b: MsgCreateDerivativeLimitOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateDerivativeLimitOrderResponse, a, b); } } /** * A Cosmos-SDK MsgCreateBinaryOptionsLimitOrder * * @generated from message injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder */ export class MsgCreateBinaryOptionsLimitOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeOrder order = 2; */ order?: DerivativeOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: DerivativeOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBinaryOptionsLimitOrder { return new MsgCreateBinaryOptionsLimitOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBinaryOptionsLimitOrder { return new MsgCreateBinaryOptionsLimitOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBinaryOptionsLimitOrder { return new MsgCreateBinaryOptionsLimitOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateBinaryOptionsLimitOrder | PlainMessage | undefined, b: MsgCreateBinaryOptionsLimitOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBinaryOptionsLimitOrder, a, b); } } /** * MsgCreateBinaryOptionsLimitOrderResponse defines the * Msg/CreateBinaryOptionsLimitOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse */ export class MsgCreateBinaryOptionsLimitOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBinaryOptionsLimitOrderResponse { return new MsgCreateBinaryOptionsLimitOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBinaryOptionsLimitOrderResponse { return new MsgCreateBinaryOptionsLimitOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBinaryOptionsLimitOrderResponse { return new MsgCreateBinaryOptionsLimitOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateBinaryOptionsLimitOrderResponse | PlainMessage | undefined, b: MsgCreateBinaryOptionsLimitOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBinaryOptionsLimitOrderResponse, a, b); } } /** * A Cosmos-SDK MsgBatchCreateDerivativeLimitOrders * * @generated from message injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders */ export class MsgBatchCreateDerivativeLimitOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.exchange.v1beta1.DerivativeOrder orders = 2; */ orders: DerivativeOrder[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "orders", kind: "message", T: DerivativeOrder, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCreateDerivativeLimitOrders { return new MsgBatchCreateDerivativeLimitOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCreateDerivativeLimitOrders { return new MsgBatchCreateDerivativeLimitOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCreateDerivativeLimitOrders { return new MsgBatchCreateDerivativeLimitOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchCreateDerivativeLimitOrders | PlainMessage | undefined, b: MsgBatchCreateDerivativeLimitOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCreateDerivativeLimitOrders, a, b); } } /** * MsgBatchCreateDerivativeLimitOrdersResponse defines the * Msg/BatchCreateDerivativeLimitOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse */ export class MsgBatchCreateDerivativeLimitOrdersResponse extends Message { /** * @generated from field: repeated string order_hashes = 1; */ orderHashes: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCreateDerivativeLimitOrdersResponse { return new MsgBatchCreateDerivativeLimitOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCreateDerivativeLimitOrdersResponse { return new MsgBatchCreateDerivativeLimitOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCreateDerivativeLimitOrdersResponse { return new MsgBatchCreateDerivativeLimitOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchCreateDerivativeLimitOrdersResponse | PlainMessage | undefined, b: MsgBatchCreateDerivativeLimitOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCreateDerivativeLimitOrdersResponse, a, b); } } /** * MsgCancelSpotOrder defines the Msg/CancelSpotOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCancelSpotOrder */ export class MsgCancelSpotOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string market_id = 2; */ marketId = ""; /** * @generated from field: string subaccount_id = 3; */ subaccountId = ""; /** * @generated from field: string order_hash = 4; */ orderHash = ""; /** * @generated from field: string cid = 5; */ cid = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelSpotOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelSpotOrder { return new MsgCancelSpotOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelSpotOrder { return new MsgCancelSpotOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelSpotOrder { return new MsgCancelSpotOrder().fromJsonString(jsonString, options); } static equals(a: MsgCancelSpotOrder | PlainMessage | undefined, b: MsgCancelSpotOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelSpotOrder, a, b); } } /** * MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCancelSpotOrderResponse */ export class MsgCancelSpotOrderResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelSpotOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelSpotOrderResponse { return new MsgCancelSpotOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelSpotOrderResponse { return new MsgCancelSpotOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelSpotOrderResponse { return new MsgCancelSpotOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCancelSpotOrderResponse | PlainMessage | undefined, b: MsgCancelSpotOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelSpotOrderResponse, a, b); } } /** * MsgBatchCancelSpotOrders defines the Msg/BatchCancelSpotOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelSpotOrders */ export class MsgBatchCancelSpotOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData data = 2; */ data: OrderData[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelSpotOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "data", kind: "message", T: OrderData, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelSpotOrders { return new MsgBatchCancelSpotOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelSpotOrders { return new MsgBatchCancelSpotOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelSpotOrders { return new MsgBatchCancelSpotOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelSpotOrders | PlainMessage | undefined, b: MsgBatchCancelSpotOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelSpotOrders, a, b); } } /** * MsgBatchCancelSpotOrdersResponse defines the Msg/BatchCancelSpotOrders * response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse */ export class MsgBatchCancelSpotOrdersResponse extends Message { /** * @generated from field: repeated bool success = 1; */ success: boolean[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelSpotOrdersResponse { return new MsgBatchCancelSpotOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelSpotOrdersResponse { return new MsgBatchCancelSpotOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelSpotOrdersResponse { return new MsgBatchCancelSpotOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelSpotOrdersResponse | PlainMessage | undefined, b: MsgBatchCancelSpotOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelSpotOrdersResponse, a, b); } } /** * MsgBatchCancelBinaryOptionsOrders defines the * Msg/BatchCancelBinaryOptionsOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders */ export class MsgBatchCancelBinaryOptionsOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData data = 2; */ data: OrderData[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "data", kind: "message", T: OrderData, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelBinaryOptionsOrders { return new MsgBatchCancelBinaryOptionsOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelBinaryOptionsOrders { return new MsgBatchCancelBinaryOptionsOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelBinaryOptionsOrders { return new MsgBatchCancelBinaryOptionsOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelBinaryOptionsOrders | PlainMessage | undefined, b: MsgBatchCancelBinaryOptionsOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelBinaryOptionsOrders, a, b); } } /** * BatchCancelBinaryOptionsOrdersResponse defines the * Msg/BatchCancelBinaryOptionsOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse */ export class MsgBatchCancelBinaryOptionsOrdersResponse extends Message { /** * @generated from field: repeated bool success = 1; */ success: boolean[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelBinaryOptionsOrdersResponse { return new MsgBatchCancelBinaryOptionsOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelBinaryOptionsOrdersResponse { return new MsgBatchCancelBinaryOptionsOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelBinaryOptionsOrdersResponse { return new MsgBatchCancelBinaryOptionsOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelBinaryOptionsOrdersResponse | PlainMessage | undefined, b: MsgBatchCancelBinaryOptionsOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelBinaryOptionsOrdersResponse, a, b); } } /** * MsgBatchUpdateOrders defines the Msg/BatchUpdateOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchUpdateOrders */ export class MsgBatchUpdateOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * subaccount_id only used for the spot_market_ids_to_cancel_all and * derivative_market_ids_to_cancel_all. * * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: repeated string spot_market_ids_to_cancel_all = 3; */ spotMarketIdsToCancelAll: string[] = []; /** * @generated from field: repeated string derivative_market_ids_to_cancel_all = 4; */ derivativeMarketIdsToCancelAll: string[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData spot_orders_to_cancel = 5; */ spotOrdersToCancel: OrderData[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData derivative_orders_to_cancel = 6; */ derivativeOrdersToCancel: OrderData[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.SpotOrder spot_orders_to_create = 7; */ spotOrdersToCreate: SpotOrder[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.DerivativeOrder derivative_orders_to_create = 8; */ derivativeOrdersToCreate: DerivativeOrder[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData binary_options_orders_to_cancel = 9; */ binaryOptionsOrdersToCancel: OrderData[] = []; /** * @generated from field: repeated string binary_options_market_ids_to_cancel_all = 10; */ binaryOptionsMarketIdsToCancelAll: string[] = []; /** * @generated from field: repeated injective.exchange.v1beta1.DerivativeOrder binary_options_orders_to_create = 11; */ binaryOptionsOrdersToCreate: DerivativeOrder[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchUpdateOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "spot_market_ids_to_cancel_all", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "derivative_market_ids_to_cancel_all", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 5, name: "spot_orders_to_cancel", kind: "message", T: OrderData, repeated: true }, { no: 6, name: "derivative_orders_to_cancel", kind: "message", T: OrderData, repeated: true }, { no: 7, name: "spot_orders_to_create", kind: "message", T: SpotOrder, repeated: true }, { no: 8, name: "derivative_orders_to_create", kind: "message", T: DerivativeOrder, repeated: true }, { no: 9, name: "binary_options_orders_to_cancel", kind: "message", T: OrderData, repeated: true }, { no: 10, name: "binary_options_market_ids_to_cancel_all", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 11, name: "binary_options_orders_to_create", kind: "message", T: DerivativeOrder, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchUpdateOrders { return new MsgBatchUpdateOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchUpdateOrders { return new MsgBatchUpdateOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchUpdateOrders { return new MsgBatchUpdateOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchUpdateOrders | PlainMessage | undefined, b: MsgBatchUpdateOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchUpdateOrders, a, b); } } /** * MsgBatchUpdateOrdersResponse defines the Msg/BatchUpdateOrders response type. * * @generated from message injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse */ export class MsgBatchUpdateOrdersResponse extends Message { /** * @generated from field: repeated bool spot_cancel_success = 1; */ spotCancelSuccess: boolean[] = []; /** * @generated from field: repeated bool derivative_cancel_success = 2; */ derivativeCancelSuccess: boolean[] = []; /** * @generated from field: repeated string spot_order_hashes = 3; */ spotOrderHashes: string[] = []; /** * @generated from field: repeated string derivative_order_hashes = 4; */ derivativeOrderHashes: string[] = []; /** * @generated from field: repeated bool binary_options_cancel_success = 5; */ binaryOptionsCancelSuccess: boolean[] = []; /** * @generated from field: repeated string binary_options_order_hashes = 6; */ binaryOptionsOrderHashes: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "spot_cancel_success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, { no: 2, name: "derivative_cancel_success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, { no: 3, name: "spot_order_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "derivative_order_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 5, name: "binary_options_cancel_success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, { no: 6, name: "binary_options_order_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchUpdateOrdersResponse { return new MsgBatchUpdateOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchUpdateOrdersResponse { return new MsgBatchUpdateOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchUpdateOrdersResponse { return new MsgBatchUpdateOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchUpdateOrdersResponse | PlainMessage | undefined, b: MsgBatchUpdateOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchUpdateOrdersResponse, a, b); } } /** * A Cosmos-SDK MsgCreateDerivativeMarketOrder * * @generated from message injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder */ export class MsgCreateDerivativeMarketOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeOrder order = 2; */ order?: DerivativeOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: DerivativeOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateDerivativeMarketOrder { return new MsgCreateDerivativeMarketOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateDerivativeMarketOrder { return new MsgCreateDerivativeMarketOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateDerivativeMarketOrder { return new MsgCreateDerivativeMarketOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateDerivativeMarketOrder | PlainMessage | undefined, b: MsgCreateDerivativeMarketOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateDerivativeMarketOrder, a, b); } } /** * MsgCreateDerivativeMarketOrderResponse defines the * Msg/CreateDerivativeMarketOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse */ export class MsgCreateDerivativeMarketOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeMarketOrderResults results = 2; */ results?: DerivativeMarketOrderResults; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "results", kind: "message", T: DerivativeMarketOrderResults }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateDerivativeMarketOrderResponse { return new MsgCreateDerivativeMarketOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateDerivativeMarketOrderResponse { return new MsgCreateDerivativeMarketOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateDerivativeMarketOrderResponse { return new MsgCreateDerivativeMarketOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateDerivativeMarketOrderResponse | PlainMessage | undefined, b: MsgCreateDerivativeMarketOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateDerivativeMarketOrderResponse, a, b); } } /** * @generated from message injective.exchange.v1beta1.DerivativeMarketOrderResults */ export class DerivativeMarketOrderResults extends Message { /** * @generated from field: string quantity = 1; */ quantity = ""; /** * @generated from field: string price = 2; */ price = ""; /** * @generated from field: string fee = 3; */ fee = ""; /** * @generated from field: injective.exchange.v1beta1.PositionDelta position_delta = 4; */ positionDelta?: PositionDelta; /** * @generated from field: string payout = 5; */ payout = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.DerivativeMarketOrderResults"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "quantity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "fee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "position_delta", kind: "message", T: PositionDelta }, { no: 5, name: "payout", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DerivativeMarketOrderResults { return new DerivativeMarketOrderResults().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DerivativeMarketOrderResults { return new DerivativeMarketOrderResults().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DerivativeMarketOrderResults { return new DerivativeMarketOrderResults().fromJsonString(jsonString, options); } static equals(a: DerivativeMarketOrderResults | PlainMessage | undefined, b: DerivativeMarketOrderResults | PlainMessage | undefined): boolean { return proto3.util.equals(DerivativeMarketOrderResults, a, b); } } /** * A Cosmos-SDK MsgCreateBinaryOptionsMarketOrder * * @generated from message injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder */ export class MsgCreateBinaryOptionsMarketOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeOrder order = 2; */ order?: DerivativeOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "order", kind: "message", T: DerivativeOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBinaryOptionsMarketOrder { return new MsgCreateBinaryOptionsMarketOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBinaryOptionsMarketOrder { return new MsgCreateBinaryOptionsMarketOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBinaryOptionsMarketOrder { return new MsgCreateBinaryOptionsMarketOrder().fromJsonString(jsonString, options); } static equals(a: MsgCreateBinaryOptionsMarketOrder | PlainMessage | undefined, b: MsgCreateBinaryOptionsMarketOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBinaryOptionsMarketOrder, a, b); } } /** * MsgCreateBinaryOptionsMarketOrderResponse defines the * Msg/CreateBinaryOptionsMarketOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse */ export class MsgCreateBinaryOptionsMarketOrderResponse extends Message { /** * @generated from field: string order_hash = 1; */ orderHash = ""; /** * @generated from field: injective.exchange.v1beta1.DerivativeMarketOrderResults results = 2; */ results?: DerivativeMarketOrderResults; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "results", kind: "message", T: DerivativeMarketOrderResults }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBinaryOptionsMarketOrderResponse { return new MsgCreateBinaryOptionsMarketOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBinaryOptionsMarketOrderResponse { return new MsgCreateBinaryOptionsMarketOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBinaryOptionsMarketOrderResponse { return new MsgCreateBinaryOptionsMarketOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateBinaryOptionsMarketOrderResponse | PlainMessage | undefined, b: MsgCreateBinaryOptionsMarketOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBinaryOptionsMarketOrderResponse, a, b); } } /** * MsgCancelDerivativeOrder defines the Msg/CancelDerivativeOrder response type. * * @generated from message injective.exchange.v1beta1.MsgCancelDerivativeOrder */ export class MsgCancelDerivativeOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string market_id = 2; */ marketId = ""; /** * @generated from field: string subaccount_id = 3; */ subaccountId = ""; /** * @generated from field: string order_hash = 4; */ orderHash = ""; /** * bitwise combination of OrderMask enum values * * @generated from field: int32 order_mask = 5; */ orderMask = 0; /** * @generated from field: string cid = 6; */ cid = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelDerivativeOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "order_mask", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 6, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelDerivativeOrder { return new MsgCancelDerivativeOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelDerivativeOrder { return new MsgCancelDerivativeOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelDerivativeOrder { return new MsgCancelDerivativeOrder().fromJsonString(jsonString, options); } static equals(a: MsgCancelDerivativeOrder | PlainMessage | undefined, b: MsgCancelDerivativeOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelDerivativeOrder, a, b); } } /** * MsgCancelDerivativeOrderResponse defines the * Msg/CancelDerivativeOrderResponse response type. * * @generated from message injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse */ export class MsgCancelDerivativeOrderResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelDerivativeOrderResponse { return new MsgCancelDerivativeOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelDerivativeOrderResponse { return new MsgCancelDerivativeOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelDerivativeOrderResponse { return new MsgCancelDerivativeOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCancelDerivativeOrderResponse | PlainMessage | undefined, b: MsgCancelDerivativeOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelDerivativeOrderResponse, a, b); } } /** * MsgCancelBinaryOptionsOrder defines the Msg/CancelBinaryOptionsOrder response * type. * * @generated from message injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder */ export class MsgCancelBinaryOptionsOrder extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string market_id = 2; */ marketId = ""; /** * @generated from field: string subaccount_id = 3; */ subaccountId = ""; /** * @generated from field: string order_hash = 4; */ orderHash = ""; /** * bitwise combination of OrderMask enum values * * @generated from field: int32 order_mask = 5; */ orderMask = 0; /** * @generated from field: string cid = 6; */ cid = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "order_mask", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 6, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelBinaryOptionsOrder { return new MsgCancelBinaryOptionsOrder().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelBinaryOptionsOrder { return new MsgCancelBinaryOptionsOrder().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelBinaryOptionsOrder { return new MsgCancelBinaryOptionsOrder().fromJsonString(jsonString, options); } static equals(a: MsgCancelBinaryOptionsOrder | PlainMessage | undefined, b: MsgCancelBinaryOptionsOrder | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelBinaryOptionsOrder, a, b); } } /** * MsgCancelBinaryOptionsOrderResponse defines the * Msg/CancelBinaryOptionsOrderResponse response type. * * @generated from message injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse */ export class MsgCancelBinaryOptionsOrderResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelBinaryOptionsOrderResponse { return new MsgCancelBinaryOptionsOrderResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelBinaryOptionsOrderResponse { return new MsgCancelBinaryOptionsOrderResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelBinaryOptionsOrderResponse { return new MsgCancelBinaryOptionsOrderResponse().fromJsonString(jsonString, options); } static equals(a: MsgCancelBinaryOptionsOrderResponse | PlainMessage | undefined, b: MsgCancelBinaryOptionsOrderResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelBinaryOptionsOrderResponse, a, b); } } /** * @generated from message injective.exchange.v1beta1.OrderData */ export class OrderData extends Message { /** * @generated from field: string market_id = 1; */ marketId = ""; /** * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: string order_hash = 3; */ orderHash = ""; /** * bitwise combination of OrderMask enum values * * @generated from field: int32 order_mask = 4; */ orderMask = 0; /** * @generated from field: string cid = 5; */ cid = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.OrderData"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order_mask", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 5, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): OrderData { return new OrderData().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderData { return new OrderData().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderData { return new OrderData().fromJsonString(jsonString, options); } static equals(a: OrderData | PlainMessage | undefined, b: OrderData | PlainMessage | undefined): boolean { return proto3.util.equals(OrderData, a, b); } } /** * MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders * response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders */ export class MsgBatchCancelDerivativeOrders extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.exchange.v1beta1.OrderData data = 2; */ data: OrderData[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "data", kind: "message", T: OrderData, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelDerivativeOrders { return new MsgBatchCancelDerivativeOrders().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelDerivativeOrders { return new MsgBatchCancelDerivativeOrders().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelDerivativeOrders { return new MsgBatchCancelDerivativeOrders().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelDerivativeOrders | PlainMessage | undefined, b: MsgBatchCancelDerivativeOrders | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelDerivativeOrders, a, b); } } /** * MsgBatchCancelDerivativeOrdersResponse defines the * Msg/CancelDerivativeOrderResponse response type. * * @generated from message injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse */ export class MsgBatchCancelDerivativeOrdersResponse extends Message { /** * @generated from field: repeated bool success = 1; */ success: boolean[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgBatchCancelDerivativeOrdersResponse { return new MsgBatchCancelDerivativeOrdersResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgBatchCancelDerivativeOrdersResponse { return new MsgBatchCancelDerivativeOrdersResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgBatchCancelDerivativeOrdersResponse { return new MsgBatchCancelDerivativeOrdersResponse().fromJsonString(jsonString, options); } static equals(a: MsgBatchCancelDerivativeOrdersResponse | PlainMessage | undefined, b: MsgBatchCancelDerivativeOrdersResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgBatchCancelDerivativeOrdersResponse, a, b); } } /** * A Cosmos-SDK MsgSubaccountTransfer * * @generated from message injective.exchange.v1beta1.MsgSubaccountTransfer */ export class MsgSubaccountTransfer extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string source_subaccount_id = 2; */ sourceSubaccountId = ""; /** * @generated from field: string destination_subaccount_id = 3; */ destinationSubaccountId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 4; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgSubaccountTransfer"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "source_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "destination_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSubaccountTransfer { return new MsgSubaccountTransfer().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSubaccountTransfer { return new MsgSubaccountTransfer().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSubaccountTransfer { return new MsgSubaccountTransfer().fromJsonString(jsonString, options); } static equals(a: MsgSubaccountTransfer | PlainMessage | undefined, b: MsgSubaccountTransfer | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSubaccountTransfer, a, b); } } /** * MsgSubaccountTransferResponse defines the Msg/SubaccountTransfer response * type. * * @generated from message injective.exchange.v1beta1.MsgSubaccountTransferResponse */ export class MsgSubaccountTransferResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgSubaccountTransferResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSubaccountTransferResponse { return new MsgSubaccountTransferResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSubaccountTransferResponse { return new MsgSubaccountTransferResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSubaccountTransferResponse { return new MsgSubaccountTransferResponse().fromJsonString(jsonString, options); } static equals(a: MsgSubaccountTransferResponse | PlainMessage | undefined, b: MsgSubaccountTransferResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSubaccountTransferResponse, a, b); } } /** * A Cosmos-SDK MsgExternalTransfer * * @generated from message injective.exchange.v1beta1.MsgExternalTransfer */ export class MsgExternalTransfer extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string source_subaccount_id = 2; */ sourceSubaccountId = ""; /** * @generated from field: string destination_subaccount_id = 3; */ destinationSubaccountId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 4; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgExternalTransfer"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "source_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "destination_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgExternalTransfer { return new MsgExternalTransfer().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgExternalTransfer { return new MsgExternalTransfer().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgExternalTransfer { return new MsgExternalTransfer().fromJsonString(jsonString, options); } static equals(a: MsgExternalTransfer | PlainMessage | undefined, b: MsgExternalTransfer | PlainMessage | undefined): boolean { return proto3.util.equals(MsgExternalTransfer, a, b); } } /** * MsgExternalTransferResponse defines the Msg/ExternalTransfer response type. * * @generated from message injective.exchange.v1beta1.MsgExternalTransferResponse */ export class MsgExternalTransferResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgExternalTransferResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgExternalTransferResponse { return new MsgExternalTransferResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgExternalTransferResponse { return new MsgExternalTransferResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgExternalTransferResponse { return new MsgExternalTransferResponse().fromJsonString(jsonString, options); } static equals(a: MsgExternalTransferResponse | PlainMessage | undefined, b: MsgExternalTransferResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgExternalTransferResponse, a, b); } } /** * A Cosmos-SDK MsgLiquidatePosition * * @generated from message injective.exchange.v1beta1.MsgLiquidatePosition */ export class MsgLiquidatePosition extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: string market_id = 3; */ marketId = ""; /** * optional order to provide for liquidation * * @generated from field: injective.exchange.v1beta1.DerivativeOrder order = 4; */ order?: DerivativeOrder; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgLiquidatePosition"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order", kind: "message", T: DerivativeOrder }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgLiquidatePosition { return new MsgLiquidatePosition().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgLiquidatePosition { return new MsgLiquidatePosition().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgLiquidatePosition { return new MsgLiquidatePosition().fromJsonString(jsonString, options); } static equals(a: MsgLiquidatePosition | PlainMessage | undefined, b: MsgLiquidatePosition | PlainMessage | undefined): boolean { return proto3.util.equals(MsgLiquidatePosition, a, b); } } /** * MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type. * * @generated from message injective.exchange.v1beta1.MsgLiquidatePositionResponse */ export class MsgLiquidatePositionResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgLiquidatePositionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgLiquidatePositionResponse { return new MsgLiquidatePositionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgLiquidatePositionResponse { return new MsgLiquidatePositionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgLiquidatePositionResponse { return new MsgLiquidatePositionResponse().fromJsonString(jsonString, options); } static equals(a: MsgLiquidatePositionResponse | PlainMessage | undefined, b: MsgLiquidatePositionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgLiquidatePositionResponse, a, b); } } /** * A Cosmos-SDK MsgEmergencySettleMarket * * @generated from message injective.exchange.v1beta1.MsgEmergencySettleMarket */ export class MsgEmergencySettleMarket extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string subaccount_id = 2; */ subaccountId = ""; /** * @generated from field: string market_id = 3; */ marketId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgEmergencySettleMarket"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgEmergencySettleMarket { return new MsgEmergencySettleMarket().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgEmergencySettleMarket { return new MsgEmergencySettleMarket().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgEmergencySettleMarket { return new MsgEmergencySettleMarket().fromJsonString(jsonString, options); } static equals(a: MsgEmergencySettleMarket | PlainMessage | undefined, b: MsgEmergencySettleMarket | PlainMessage | undefined): boolean { return proto3.util.equals(MsgEmergencySettleMarket, a, b); } } /** * MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket * response type. * * @generated from message injective.exchange.v1beta1.MsgEmergencySettleMarketResponse */ export class MsgEmergencySettleMarketResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgEmergencySettleMarketResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgEmergencySettleMarketResponse { return new MsgEmergencySettleMarketResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgEmergencySettleMarketResponse { return new MsgEmergencySettleMarketResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgEmergencySettleMarketResponse { return new MsgEmergencySettleMarketResponse().fromJsonString(jsonString, options); } static equals(a: MsgEmergencySettleMarketResponse | PlainMessage | undefined, b: MsgEmergencySettleMarketResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgEmergencySettleMarketResponse, a, b); } } /** * A Cosmos-SDK MsgIncreasePositionMargin * * @generated from message injective.exchange.v1beta1.MsgIncreasePositionMargin */ export class MsgIncreasePositionMargin extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string source_subaccount_id = 2; */ sourceSubaccountId = ""; /** * @generated from field: string destination_subaccount_id = 3; */ destinationSubaccountId = ""; /** * @generated from field: string market_id = 4; */ marketId = ""; /** * amount defines the amount of margin to add to the position * * @generated from field: string amount = 5; */ amount = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgIncreasePositionMargin"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "source_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "destination_subaccount_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgIncreasePositionMargin { return new MsgIncreasePositionMargin().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgIncreasePositionMargin { return new MsgIncreasePositionMargin().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgIncreasePositionMargin { return new MsgIncreasePositionMargin().fromJsonString(jsonString, options); } static equals(a: MsgIncreasePositionMargin | PlainMessage | undefined, b: MsgIncreasePositionMargin | PlainMessage | undefined): boolean { return proto3.util.equals(MsgIncreasePositionMargin, a, b); } } /** * MsgIncreasePositionMarginResponse defines the Msg/IncreasePositionMargin * response type. * * @generated from message injective.exchange.v1beta1.MsgIncreasePositionMarginResponse */ export class MsgIncreasePositionMarginResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgIncreasePositionMarginResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgIncreasePositionMarginResponse { return new MsgIncreasePositionMarginResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgIncreasePositionMarginResponse { return new MsgIncreasePositionMarginResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgIncreasePositionMarginResponse { return new MsgIncreasePositionMarginResponse().fromJsonString(jsonString, options); } static equals(a: MsgIncreasePositionMarginResponse | PlainMessage | undefined, b: MsgIncreasePositionMarginResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgIncreasePositionMarginResponse, a, b); } } /** * MsgPrivilegedExecuteContract defines the Msg/Exec message type * * @generated from message injective.exchange.v1beta1.MsgPrivilegedExecuteContract */ export class MsgPrivilegedExecuteContract extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * funds defines the user's bank coins used to fund the execution (e.g. * 100inj). * * @generated from field: string funds = 2; */ funds = ""; /** * contract_address defines the contract address to execute * * @generated from field: string contract_address = 3; */ contractAddress = ""; /** * data defines the call data used when executing the contract * * @generated from field: string data = 4; */ data = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgPrivilegedExecuteContract"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "funds", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgPrivilegedExecuteContract { return new MsgPrivilegedExecuteContract().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgPrivilegedExecuteContract { return new MsgPrivilegedExecuteContract().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgPrivilegedExecuteContract { return new MsgPrivilegedExecuteContract().fromJsonString(jsonString, options); } static equals(a: MsgPrivilegedExecuteContract | PlainMessage | undefined, b: MsgPrivilegedExecuteContract | PlainMessage | undefined): boolean { return proto3.util.equals(MsgPrivilegedExecuteContract, a, b); } } /** * MsgPrivilegedExecuteContractResponse defines the Msg/Exec response type. * * @generated from message injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse */ export class MsgPrivilegedExecuteContractResponse extends Message { /** * @generated from field: repeated cosmos.base.v1beta1.Coin funds_diff = 1; */ fundsDiff: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "funds_diff", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgPrivilegedExecuteContractResponse { return new MsgPrivilegedExecuteContractResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgPrivilegedExecuteContractResponse { return new MsgPrivilegedExecuteContractResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgPrivilegedExecuteContractResponse { return new MsgPrivilegedExecuteContractResponse().fromJsonString(jsonString, options); } static equals(a: MsgPrivilegedExecuteContractResponse | PlainMessage | undefined, b: MsgPrivilegedExecuteContractResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgPrivilegedExecuteContractResponse, a, b); } } /** * A Cosmos-SDK MsgRewardsOptOut * * @generated from message injective.exchange.v1beta1.MsgRewardsOptOut */ export class MsgRewardsOptOut extends Message { /** * @generated from field: string sender = 1; */ sender = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgRewardsOptOut"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRewardsOptOut { return new MsgRewardsOptOut().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRewardsOptOut { return new MsgRewardsOptOut().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRewardsOptOut { return new MsgRewardsOptOut().fromJsonString(jsonString, options); } static equals(a: MsgRewardsOptOut | PlainMessage | undefined, b: MsgRewardsOptOut | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRewardsOptOut, a, b); } } /** * MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type. * * @generated from message injective.exchange.v1beta1.MsgRewardsOptOutResponse */ export class MsgRewardsOptOutResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgRewardsOptOutResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRewardsOptOutResponse { return new MsgRewardsOptOutResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRewardsOptOutResponse { return new MsgRewardsOptOutResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRewardsOptOutResponse { return new MsgRewardsOptOutResponse().fromJsonString(jsonString, options); } static equals(a: MsgRewardsOptOutResponse | PlainMessage | undefined, b: MsgRewardsOptOutResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRewardsOptOutResponse, a, b); } } /** * A Cosmos-SDK MsgReclaimLockedFunds * * @generated from message injective.exchange.v1beta1.MsgReclaimLockedFunds */ export class MsgReclaimLockedFunds extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: bytes lockedAccountPubKey = 2; */ lockedAccountPubKey = new Uint8Array(0); /** * @generated from field: bytes signature = 3; */ signature = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgReclaimLockedFunds"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "lockedAccountPubKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgReclaimLockedFunds { return new MsgReclaimLockedFunds().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgReclaimLockedFunds { return new MsgReclaimLockedFunds().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgReclaimLockedFunds { return new MsgReclaimLockedFunds().fromJsonString(jsonString, options); } static equals(a: MsgReclaimLockedFunds | PlainMessage | undefined, b: MsgReclaimLockedFunds | PlainMessage | undefined): boolean { return proto3.util.equals(MsgReclaimLockedFunds, a, b); } } /** * MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response * type. * * @generated from message injective.exchange.v1beta1.MsgReclaimLockedFundsResponse */ export class MsgReclaimLockedFundsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgReclaimLockedFundsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgReclaimLockedFundsResponse { return new MsgReclaimLockedFundsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgReclaimLockedFundsResponse { return new MsgReclaimLockedFundsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgReclaimLockedFundsResponse { return new MsgReclaimLockedFundsResponse().fromJsonString(jsonString, options); } static equals(a: MsgReclaimLockedFundsResponse | PlainMessage | undefined, b: MsgReclaimLockedFundsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgReclaimLockedFundsResponse, a, b); } } /** * MsgSignData defines an arbitrary, general-purpose, off-chain message * * @generated from message injective.exchange.v1beta1.MsgSignData */ export class MsgSignData extends Message { /** * Signer is the sdk.AccAddress of the message signer * * @generated from field: bytes Signer = 1; */ Signer = new Uint8Array(0); /** * Data represents the raw bytes of the content that is signed (text, json, * etc) * * @generated from field: bytes Data = 2; */ Data = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgSignData"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Signer", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "Data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSignData { return new MsgSignData().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSignData { return new MsgSignData().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSignData { return new MsgSignData().fromJsonString(jsonString, options); } static equals(a: MsgSignData | PlainMessage | undefined, b: MsgSignData | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSignData, a, b); } } /** * MsgSignDoc defines an arbitrary, general-purpose, off-chain message * * @generated from message injective.exchange.v1beta1.MsgSignDoc */ export class MsgSignDoc extends Message { /** * @generated from field: string sign_type = 1; */ signType = ""; /** * @generated from field: injective.exchange.v1beta1.MsgSignData value = 2; */ value?: MsgSignData; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgSignDoc"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sign_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "value", kind: "message", T: MsgSignData }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSignDoc { return new MsgSignDoc().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSignDoc { return new MsgSignDoc().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSignDoc { return new MsgSignDoc().fromJsonString(jsonString, options); } static equals(a: MsgSignDoc | PlainMessage | undefined, b: MsgSignDoc | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSignDoc, a, b); } } /** * MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the * market * * @generated from message injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket */ export class MsgAdminUpdateBinaryOptionsMarket extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string market_id = 2; */ marketId = ""; /** * new price at which market will be settled * * @generated from field: string settlement_price = 3; */ settlementPrice = ""; /** * expiration timestamp * * @generated from field: int64 expiration_timestamp = 4; */ expirationTimestamp = protoInt64.zero; /** * expiration timestamp * * @generated from field: int64 settlement_timestamp = 5; */ settlementTimestamp = protoInt64.zero; /** * Status of the market * * @generated from field: injective.exchange.v1beta1.MarketStatus status = 6; */ status = MarketStatus.Unspecified; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "market_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "settlement_price", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "expiration_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 5, name: "settlement_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "status", kind: "enum", T: proto3.getEnumType(MarketStatus) }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgAdminUpdateBinaryOptionsMarket { return new MsgAdminUpdateBinaryOptionsMarket().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgAdminUpdateBinaryOptionsMarket { return new MsgAdminUpdateBinaryOptionsMarket().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgAdminUpdateBinaryOptionsMarket { return new MsgAdminUpdateBinaryOptionsMarket().fromJsonString(jsonString, options); } static equals(a: MsgAdminUpdateBinaryOptionsMarket | PlainMessage | undefined, b: MsgAdminUpdateBinaryOptionsMarket | PlainMessage | undefined): boolean { return proto3.util.equals(MsgAdminUpdateBinaryOptionsMarket, a, b); } } /** * MsgAdminUpdateBinaryOptionsMarketResponse is the response for * AdminUpdateBinaryOptionsMarket rpc method * * @generated from message injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse */ export class MsgAdminUpdateBinaryOptionsMarketResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgAdminUpdateBinaryOptionsMarketResponse { return new MsgAdminUpdateBinaryOptionsMarketResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgAdminUpdateBinaryOptionsMarketResponse { return new MsgAdminUpdateBinaryOptionsMarketResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgAdminUpdateBinaryOptionsMarketResponse { return new MsgAdminUpdateBinaryOptionsMarketResponse().fromJsonString(jsonString, options); } static equals(a: MsgAdminUpdateBinaryOptionsMarketResponse | PlainMessage | undefined, b: MsgAdminUpdateBinaryOptionsMarketResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgAdminUpdateBinaryOptionsMarketResponse, a, b); } }