@injectivelabs/sdk-ts 1.20.26 → 1.20.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/cjs/{BaseGrpcConsumer-me9h4XPt.d.cts → BaseGrpcConsumer-D-Ocoffv.d.cts} +1 -1
  2. package/dist/cjs/{MsgSetDenomMetadata-tA6IVCia.cjs → MsgSetDenomMetadata-DNaPq8w6.cjs} +477 -49
  3. package/dist/cjs/SocialTradingGrpcApi-Cm79vDb5.cjs +158 -0
  4. package/dist/cjs/{StreamManagerV2-DqJ4fWu_.cjs → StreamManagerV2-B6TX-Isx.cjs} +4 -0
  5. package/dist/cjs/client/abacus.d.cts +5 -5
  6. package/dist/cjs/client/chain.d.cts +15 -14
  7. package/dist/cjs/client/indexer.cjs +1 -1
  8. package/dist/cjs/client/indexer.d.cts +16 -15
  9. package/dist/cjs/client/olp.d.cts +5 -5
  10. package/dist/cjs/client/platformServices.cjs +8 -0
  11. package/dist/cjs/client/platformServices.d.cts +6 -0
  12. package/dist/cjs/client/tcAbacus.d.cts +5 -5
  13. package/dist/cjs/client/wasm.d.cts +4 -4
  14. package/dist/cjs/core/accounts.d.cts +15 -14
  15. package/dist/cjs/core/modules.cjs +8 -2
  16. package/dist/cjs/core/modules.d.cts +16 -15
  17. package/dist/cjs/core/tx.cjs +1 -1
  18. package/dist/cjs/core/tx.d.cts +15 -14
  19. package/dist/cjs/cosmjs.cjs +2 -2
  20. package/dist/cjs/cosmjs.d.cts +2 -2
  21. package/dist/cjs/exports.cjs +2 -2
  22. package/dist/cjs/exports.d.cts +2 -2
  23. package/dist/cjs/{index-kR_oqvag.d.cts → index-B674D7pD.d.cts} +4 -4
  24. package/dist/cjs/{index-q5FdLZwj.d.cts → index-BSIx102w.d.cts} +10840 -10249
  25. package/dist/cjs/{index-J9cwHdjs.d.cts → index-BURuy3tW.d.cts} +1 -1
  26. package/dist/cjs/{index-BORRXTW4.d.cts → index-BZDon-tA.d.cts} +2 -2
  27. package/dist/cjs/{index-pjxJkZI4.d.cts → index-Bnw2tGrY.d.cts} +1 -1
  28. package/dist/cjs/{index-CFiDirCt.d.cts → index-C3kDJwt_.d.cts} +1 -1
  29. package/dist/cjs/{index-CEkvXgP3.d.cts → index-C9A-6Kpk.d.cts} +6 -6
  30. package/dist/cjs/{index-Dnv1vSBK.d.cts → index-Cbl-NhtN.d.cts} +1 -1
  31. package/dist/cjs/index-yXqxYazb.d.cts +305 -0
  32. package/dist/cjs/index.cjs +12 -4
  33. package/dist/cjs/index.d.cts +16 -15
  34. package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
  35. package/dist/cjs/service.cjs +1 -1
  36. package/dist/cjs/service.d.cts +4 -4
  37. package/dist/cjs/{tx_pb-wznwSZgU.d.cts → tx_pb-BzYfNmn2.d.cts} +4 -4
  38. package/dist/cjs/types/light.d.cts +1 -1
  39. package/dist/cjs/types.d.cts +3 -3
  40. package/dist/cjs/utils/address.d.cts +1 -1
  41. package/dist/cjs/utils/constants.d.cts +1 -1
  42. package/dist/cjs/utils/encoding.d.cts +1 -1
  43. package/dist/cjs/utils/light.d.cts +4 -4
  44. package/dist/cjs/utils.d.cts +15 -14
  45. package/dist/esm/{AbacusGrpcApi-DVO7c0mB.js → AbacusGrpcApi-yHhbSjrF.js} +2 -2
  46. package/dist/esm/{BaseGrpcConsumer-Ci8sUY5h.js → BaseGrpcConsumer-6MH_z0ci.js} +3 -3
  47. package/dist/esm/{BaseGrpcConsumer-BRgferJ5.d.ts → BaseGrpcConsumer-BEeBd9vk.d.ts} +1 -1
  48. package/dist/esm/{BaseIndexerGrpcConsumer-MGB306RP.js → BaseIndexerGrpcConsumer-CPx95BY0.js} +1 -1
  49. package/dist/esm/{ChainGrpcExchangeApi-S5nJzebX.js → ChainGrpcExchangeApi-CGspD5dV.js} +4 -4
  50. package/dist/esm/{ChainRestTendermintApi-D_FQwKrf.js → ChainRestTendermintApi-C3N6b45h.js} +5 -5
  51. package/dist/esm/{DirectEthSecp256k1Wallet-D-KJbto6.js → DirectEthSecp256k1Wallet-CpbdozpK.js} +3 -3
  52. package/dist/esm/{ExecArgNeptuneWithdraw-ljDnPI2p.js → ExecArgNeptuneWithdraw-DmYVr5B4.js} +4 -4
  53. package/dist/esm/{IndexerGrpcWeb3GwApi-BWuDmOjX.js → IndexerGrpcWeb3GwApi-ER1GujRh.js} +4 -4
  54. package/dist/esm/{MsgBase-CishJWMN.js → MsgBase-DYaDzmLm.js} +1 -1
  55. package/dist/esm/{MsgSetDenomMetadata-DGdnd-QI.js → MsgSetDenomMetadata-OfZ7D1U-.js} +449 -58
  56. package/dist/esm/{OLPGrpcApi-BSFkBk80.js → OLPGrpcApi-Kp0vZ0Pu.js} +2 -2
  57. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-C47sauu5.js → QueryTradingStrategyContractTotalStrategies-Bl44Zu8U.js} +4 -4
  58. package/dist/esm/SocialTradingGrpcApi-Gvt1eym5.js +151 -0
  59. package/dist/esm/{StreamManagerV2-CxVdNAtc.js → StreamManagerV2-CFg9pADw.js} +13 -9
  60. package/dist/esm/{TcAbacusGrpcApi-k3COziPh.js → TcAbacusGrpcApi-D4HZcXCV.js} +2 -2
  61. package/dist/esm/{accounts-3rypojw1.js → accounts-D7g8pgWl.js} +6 -6
  62. package/dist/esm/{chain-CQHfHLCM.js → chain-ChIDr_pP.js} +6 -6
  63. package/dist/esm/client/abacus.d.ts +5 -5
  64. package/dist/esm/client/abacus.js +6 -6
  65. package/dist/esm/client/chain.d.ts +15 -14
  66. package/dist/esm/client/chain.js +14 -14
  67. package/dist/esm/client/indexer.d.ts +16 -15
  68. package/dist/esm/client/indexer.js +15 -15
  69. package/dist/esm/client/olp.d.ts +5 -5
  70. package/dist/esm/client/olp.js +7 -7
  71. package/dist/esm/client/platformServices.d.ts +6 -0
  72. package/dist/esm/client/platformServices.js +8 -0
  73. package/dist/esm/client/tcAbacus.d.ts +5 -5
  74. package/dist/esm/client/tcAbacus.js +6 -6
  75. package/dist/esm/client/wasm.d.ts +4 -4
  76. package/dist/esm/client/wasm.js +17 -17
  77. package/dist/esm/core/accounts.d.ts +15 -14
  78. package/dist/esm/core/accounts.js +9 -9
  79. package/dist/esm/core/modules.d.ts +16 -15
  80. package/dist/esm/core/modules.js +21 -21
  81. package/dist/esm/core/tx.d.ts +15 -14
  82. package/dist/esm/core/tx.js +17 -17
  83. package/dist/esm/cosmjs.d.ts +2 -2
  84. package/dist/esm/cosmjs.js +18 -18
  85. package/dist/esm/exports.d.ts +2 -2
  86. package/dist/esm/exports.js +18 -18
  87. package/dist/esm/{index-BqmPYCxy.d.ts → index-B0keqriy.d.ts} +6 -6
  88. package/dist/esm/{index-o-N-zxKg.d.ts → index-BX0RYyak.d.ts} +2 -2
  89. package/dist/esm/{index-DjJS2GlY.d.ts → index-CUuBRId3.d.ts} +1 -1
  90. package/dist/esm/{index-VDXk-hTA.d.ts → index-Cp-Ayqjs.d.ts} +1 -1
  91. package/dist/esm/{index-Bbgn_zqu.d.ts → index-D8HsSSPt.d.ts} +4 -4
  92. package/dist/esm/{index-EwPuu2Cr.d.ts → index-DYBPtGG-.d.ts} +1 -1
  93. package/dist/esm/{index-CGReRoZv.d.ts → index-D_iauVcE.d.ts} +10840 -10249
  94. package/dist/esm/{index-DmQ5vaqU.d.ts → index-Do1evAZC.d.ts} +1 -1
  95. package/dist/esm/index-tsEWBsAJ.d.ts +305 -0
  96. package/dist/esm/index.d.ts +16 -15
  97. package/dist/esm/index.js +30 -29
  98. package/dist/esm/proto/cosmos-tx.d.ts +1 -1
  99. package/dist/esm/{service-BER-mZkG.js → service-ByVrhiMR.js} +3 -3
  100. package/dist/esm/service.d.ts +4 -4
  101. package/dist/esm/service.js +11 -11
  102. package/dist/esm/{tx-Pg714BW8.js → tx-C3kGdMjp.js} +7 -7
  103. package/dist/esm/{tx_pb-DZQILTFk.d.ts → tx_pb-DMlxbcd8.d.ts} +4 -4
  104. package/dist/esm/types/light.d.ts +1 -1
  105. package/dist/esm/types/light.js +1 -1
  106. package/dist/esm/types.d.ts +3 -3
  107. package/dist/esm/types.js +3 -3
  108. package/dist/esm/utils/address.d.ts +1 -1
  109. package/dist/esm/utils/address.js +1 -1
  110. package/dist/esm/utils/constants.d.ts +1 -1
  111. package/dist/esm/utils/constants.js +1 -1
  112. package/dist/esm/utils/encoding.d.ts +1 -1
  113. package/dist/esm/utils/encoding.js +1 -1
  114. package/dist/esm/utils/light.d.ts +4 -4
  115. package/dist/esm/utils/light.js +4 -4
  116. package/dist/esm/{utils-B3t50ZnB.js → utils-BPuX8T_g.js} +1 -1
  117. package/dist/esm/utils.d.ts +15 -14
  118. package/dist/esm/utils.js +6 -6
  119. package/package.json +27 -6
  120. /package/dist/cjs/{DirectEthSecp256k1Wallet-BpU2M9A8.cjs → DirectEthSecp256k1Wallet-DMVCWKfg.cjs} +0 -0
  121. /package/dist/cjs/{address-light-B5-DYwES.d.cts → address-light-CnSMr-vR.d.cts} +0 -0
  122. /package/dist/cjs/{coins-JbAREn6e.d.cts → coins-CSrwziXH.d.cts} +0 -0
  123. /package/dist/cjs/{constants-DSzHAIp3.d.cts → constants-DQTrjP5R.d.cts} +0 -0
  124. /package/dist/cjs/{encoding-light-CrQ0cICT.d.cts → encoding-light-D-6m9tHO.d.cts} +0 -0
  125. /package/dist/cjs/{light-4nNsYXxr.d.cts → light-B-3BDUJ7.d.cts} +0 -0
  126. /package/dist/cjs/{service-nm5Ct4_w.cjs → service-DAfIXxMj.cjs} +0 -0
  127. /package/dist/cjs/{tx-BlFLQ52d.cjs → tx-D8W0e6qZ.cjs} +0 -0
  128. /package/dist/esm/{BaseRestConsumer-L3j9-i4T.js → BaseRestConsumer-BjN9JApr.js} +0 -0
  129. /package/dist/esm/{address-light-C9skTx0P.js → address-light-B2JvY3Or.js} +0 -0
  130. /package/dist/esm/{address-light-BcZDS-ks.d.ts → address-light-DEMtolvF.d.ts} +0 -0
  131. /package/dist/esm/{coins-ceq0Id0M.d.ts → coins-EA0hT1HY.d.ts} +0 -0
  132. /package/dist/esm/{coins-D4vONigS.js → coins-MO-ob9NV.js} +0 -0
  133. /package/dist/esm/{constants-BZ28P_pH.d.ts → constants-Cde3Np7d.d.ts} +0 -0
  134. /package/dist/esm/{constants-CCVyqUU9.js → constants-J9ftgKqC.js} +0 -0
  135. /package/dist/esm/{defineProperty-C0TI9N8m.js → defineProperty-BwBXXd7t.js} +0 -0
  136. /package/dist/esm/{encoding-light-18k0e_8v.d.ts → encoding-light--y1VYXkX.d.ts} +0 -0
  137. /package/dist/esm/{encoding-light-DHtTGSg1.js → encoding-light-BpntDob-.js} +0 -0
  138. /package/dist/esm/{grpc-aI_RLGoG.js → grpc-D2EQHGkK.js} +0 -0
  139. /package/dist/esm/{light-BflupdEX.js → light-BBrX6IRm.js} +0 -0
  140. /package/dist/esm/{light-Cr4m0DAA.d.ts → light-BFGvKXwS.d.ts} +0 -0
  141. /package/dist/esm/{stream-BhshHZxL.js → stream-AVOxjM-h.js} +0 -0
  142. /package/dist/esm/{types-BAV0654v.js → types-CD1KNXoO.js} +0 -0
@@ -1,11 +1,11 @@
1
- import { f as toUtf8, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-DHtTGSg1.js";
2
- import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
3
- import { I as Address, j as createAny } from "./accounts-3rypojw1.js";
4
- import { G as numberToCosmosSdkDecString, Ot as safeBigIntStringify, _t as bigIntToString, it as domainHash, ot as messageHash } from "./utils-B3t50ZnB.js";
5
- import { a as getEthereumAddress } from "./address-light-C9skTx0P.js";
6
- import { a as objectKeysToEip712Types, n as prepareSignBytes, o as patchOrderTypesWithExpirationBlock, t as MsgBase } from "./MsgBase-CishJWMN.js";
7
- import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-S5nJzebX.js";
8
- import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-ljDnPI2p.js";
1
+ import { f as toUtf8, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-BpntDob-.js";
2
+ import { t as _defineProperty } from "./defineProperty-BwBXXd7t.js";
3
+ import { I as Address, j as createAny } from "./accounts-D7g8pgWl.js";
4
+ import { G as numberToCosmosSdkDecString, Ot as safeBigIntStringify, _t as bigIntToString, it as domainHash, ot as messageHash } from "./utils-BPuX8T_g.js";
5
+ import { a as getEthereumAddress } from "./address-light-B2JvY3Or.js";
6
+ import { a as objectKeysToEip712Types, n as prepareSignBytes, o as patchOrderTypesWithExpirationBlock, t as MsgBase } from "./MsgBase-DYaDzmLm.js";
7
+ import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-CGspD5dV.js";
8
+ import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-DmYVr5B4.js";
9
9
  import { keccak256 } from "viem";
10
10
  import { BigNumber, DEFAULT_BRIDGE_FEE_AMOUNT, DEFAULT_BRIDGE_FEE_DENOM, toBigNumber, toChainFormat, toPascalCase } from "@injectivelabs/utils";
11
11
  import { GeneralException } from "@injectivelabs/exceptions";
@@ -16,6 +16,7 @@ import * as InjectiveExchangeV2TxPb from "@injectivelabs/core-proto-ts-v2/genera
16
16
  import * as InjectiveExchangeV1Beta1ExchangePb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/exchange_pb";
17
17
  import * as InjectiveExchangeV2OrderPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v2/order_pb";
18
18
  import * as InjectiveExchangeV2ProposalPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v2/proposal_pb";
19
+ import * as InjectiveExchangeV2ExchangePb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v2/exchange_pb";
19
20
  import * as InjectiveOracleV1Beta1OraclePb from "@injectivelabs/core-proto-ts-v2/generated/injective/oracle/v1beta1/oracle_pb";
20
21
  import * as InjectiveExchangeV2MarketPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v2/market_pb";
21
22
  import { getNetworkEndpoints } from "@injectivelabs/networks";
@@ -534,6 +535,61 @@ var MsgExternalTransfer = class MsgExternalTransfer extends MsgBase {
534
535
  }
535
536
  };
536
537
 
538
+ //#endregion
539
+ //#region src/core/modules/exchange/msgs/MsgOffsetPositionV2.ts
540
+ /**
541
+ * @category Messages
542
+ */
543
+ var MsgOffsetPositionV2 = class MsgOffsetPositionV2 extends MsgBase {
544
+ static fromJSON(params) {
545
+ return new MsgOffsetPositionV2(params);
546
+ }
547
+ toProto() {
548
+ const { params } = this;
549
+ return InjectiveExchangeV2TxPb.MsgOffsetPosition.create({
550
+ sender: params.sender,
551
+ subaccountId: params.subaccountId,
552
+ marketId: params.marketId,
553
+ offsettingSubaccountIds: params.offsettingSubaccountIds
554
+ });
555
+ }
556
+ toData() {
557
+ const proto = this.toProto();
558
+ return {
559
+ "@type": "/injective.exchange.v2.MsgOffsetPosition",
560
+ ...proto
561
+ };
562
+ }
563
+ toAmino() {
564
+ const proto = this.toProto();
565
+ return {
566
+ type: "exchange/MsgOffsetPosition",
567
+ value: {
568
+ sender: proto.sender,
569
+ subaccount_id: proto.subaccountId,
570
+ market_id: proto.marketId,
571
+ offsetting_subaccount_ids: proto.offsettingSubaccountIds
572
+ }
573
+ };
574
+ }
575
+ toWeb3Gw() {
576
+ const { value } = this.toAmino();
577
+ return {
578
+ "@type": "/injective.exchange.v2.MsgOffsetPosition",
579
+ ...value
580
+ };
581
+ }
582
+ toDirectSign() {
583
+ return {
584
+ type: "/injective.exchange.v2.MsgOffsetPosition",
585
+ message: this.toProto()
586
+ };
587
+ }
588
+ toBinary() {
589
+ return InjectiveExchangeV2TxPb.MsgOffsetPosition.toBinary(this.toProto());
590
+ }
591
+ };
592
+
537
593
  //#endregion
538
594
  //#region src/core/modules/exchange/msgs/MsgBatchUpdateOrders.ts
539
595
  const createSpotOrder$1 = (args) => {
@@ -1053,13 +1109,7 @@ var MsgUpdateSpotMarketV2 = class MsgUpdateSpotMarketV2 extends MsgBase {
1053
1109
  return new MsgUpdateSpotMarketV2(params);
1054
1110
  }
1055
1111
  toProto() {
1056
- const { params: initialParams } = this;
1057
- return createMessage$11({
1058
- ...initialParams,
1059
- newMinNotional: toChainFormat(initialParams.newMinNotional || "0").toFixed(),
1060
- newMinQuantityTickSize: toChainFormat(initialParams.newMinQuantityTickSize || "0").toFixed(),
1061
- newMinPriceTickSize: toChainFormat(initialParams.newMinPriceTickSize || "0").toFixed()
1062
- });
1112
+ return createMessage$11(this.params);
1063
1113
  }
1064
1114
  toData() {
1065
1115
  const proto = this.toProto();
@@ -1707,6 +1757,61 @@ var MsgCancelPostOnlyModeV2 = class MsgCancelPostOnlyModeV2 extends MsgBase {
1707
1757
  }
1708
1758
  };
1709
1759
 
1760
+ //#endregion
1761
+ //#region src/core/modules/exchange/msgs/MsgSubaccountTransferV2.ts
1762
+ /**
1763
+ * @category Messages
1764
+ */
1765
+ var MsgSubaccountTransferV2 = class MsgSubaccountTransferV2 extends MsgBase {
1766
+ static fromJSON(params) {
1767
+ return new MsgSubaccountTransferV2(params);
1768
+ }
1769
+ toProto() {
1770
+ const { params } = this;
1771
+ return InjectiveExchangeV2TxPb.MsgSubaccountTransfer.create({
1772
+ sender: params.sender,
1773
+ sourceSubaccountId: params.sourceSubaccountId,
1774
+ destinationSubaccountId: params.destinationSubaccountId,
1775
+ amount: CosmosBaseV1Beta1CoinPb.Coin.create(params.amount)
1776
+ });
1777
+ }
1778
+ toData() {
1779
+ const proto = this.toProto();
1780
+ return {
1781
+ "@type": "/injective.exchange.v2.MsgSubaccountTransfer",
1782
+ ...proto
1783
+ };
1784
+ }
1785
+ toAmino() {
1786
+ const proto = this.toProto();
1787
+ return {
1788
+ type: "exchange/MsgSubaccountTransfer",
1789
+ value: {
1790
+ sender: proto.sender,
1791
+ source_subaccount_id: proto.sourceSubaccountId,
1792
+ destination_subaccount_id: proto.destinationSubaccountId,
1793
+ amount: proto.amount
1794
+ }
1795
+ };
1796
+ }
1797
+ toWeb3Gw() {
1798
+ const { value } = this.toAmino();
1799
+ return {
1800
+ "@type": "/injective.exchange.v2.MsgSubaccountTransfer",
1801
+ ...value
1802
+ };
1803
+ }
1804
+ toDirectSign() {
1805
+ return {
1806
+ type: "/injective.exchange.v2.MsgSubaccountTransfer",
1807
+ message: this.toProto()
1808
+ };
1809
+ }
1810
+ toBinary() {
1811
+ return InjectiveExchangeV2TxPb.MsgSubaccountTransfer.toBinary(this.toProto());
1812
+ }
1813
+ };
1814
+
1710
1815
  //#endregion
1711
1816
  //#region src/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.ts
1712
1817
  const createLimitOrder$5 = (params) => {
@@ -1918,13 +2023,40 @@ var MsgReclaimLockedFundsV2 = class MsgReclaimLockedFundsV2 extends MsgBase {
1918
2023
  };
1919
2024
  }
1920
2025
  toWeb3Gw() {
1921
- throw new GeneralException(/* @__PURE__ */ new Error("EIP712 is not supported for MsgReclaimLockedFunds."));
2026
+ const { value } = this.toAmino();
2027
+ return {
2028
+ "@type": "/injective.exchange.v2.MsgReclaimLockedFunds",
2029
+ ...value
2030
+ };
1922
2031
  }
1923
2032
  toEip712() {
1924
- throw new GeneralException(/* @__PURE__ */ new Error("EIP712 is not supported for MsgReclaimLockedFunds."));
2033
+ const proto = this.toProto();
2034
+ return {
2035
+ type: "exchange/MsgReclaimLockedFunds",
2036
+ value: {
2037
+ sender: proto.sender,
2038
+ lockedAccountPubKey: Array.from(proto.lockedAccountPubKey),
2039
+ signature: Array.from(proto.signature)
2040
+ }
2041
+ };
1925
2042
  }
1926
- toEip712V2() {
1927
- throw new GeneralException(/* @__PURE__ */ new Error("EIP712 is not supported for MsgReclaimLockedFunds."));
2043
+ toEip712Types() {
2044
+ const map = /* @__PURE__ */ new Map();
2045
+ map.set("MsgValue", [
2046
+ {
2047
+ name: "sender",
2048
+ type: "string"
2049
+ },
2050
+ {
2051
+ name: "lockedAccountPubKey",
2052
+ type: "uint8[]"
2053
+ },
2054
+ {
2055
+ name: "signature",
2056
+ type: "uint8[]"
2057
+ }
2058
+ ]);
2059
+ return map;
1928
2060
  }
1929
2061
  toDirectSign() {
1930
2062
  return {
@@ -1937,6 +2069,57 @@ var MsgReclaimLockedFundsV2 = class MsgReclaimLockedFundsV2 extends MsgBase {
1937
2069
  }
1938
2070
  };
1939
2071
 
2072
+ //#endregion
2073
+ //#region src/core/modules/exchange/msgs/MsgActivateStakeGrantV2.ts
2074
+ /**
2075
+ * @category Messages
2076
+ */
2077
+ var MsgActivateStakeGrantV2 = class MsgActivateStakeGrantV2 extends MsgBase {
2078
+ static fromJSON(params) {
2079
+ return new MsgActivateStakeGrantV2(params);
2080
+ }
2081
+ toProto() {
2082
+ const { params } = this;
2083
+ return InjectiveExchangeV2TxPb.MsgActivateStakeGrant.create({
2084
+ sender: params.sender,
2085
+ granter: params.granter
2086
+ });
2087
+ }
2088
+ toData() {
2089
+ const proto = this.toProto();
2090
+ return {
2091
+ "@type": "/injective.exchange.v2.MsgActivateStakeGrant",
2092
+ ...proto
2093
+ };
2094
+ }
2095
+ toAmino() {
2096
+ const proto = this.toProto();
2097
+ return {
2098
+ type: "exchange/MsgActivateStakeGrant",
2099
+ value: {
2100
+ sender: proto.sender,
2101
+ granter: proto.granter
2102
+ }
2103
+ };
2104
+ }
2105
+ toWeb3Gw() {
2106
+ const { value } = this.toAmino();
2107
+ return {
2108
+ "@type": "/injective.exchange.v2.MsgActivateStakeGrant",
2109
+ ...value
2110
+ };
2111
+ }
2112
+ toDirectSign() {
2113
+ return {
2114
+ type: "/injective.exchange.v2.MsgActivateStakeGrant",
2115
+ message: this.toProto()
2116
+ };
2117
+ }
2118
+ toBinary() {
2119
+ return InjectiveExchangeV2TxPb.MsgActivateStakeGrant.toBinary(this.toProto());
2120
+ }
2121
+ };
2122
+
1940
2123
  //#endregion
1941
2124
  //#region src/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.ts
1942
2125
  /**
@@ -2357,6 +2540,68 @@ var MsgCreateSpotLimitOrderV2 = class MsgCreateSpotLimitOrderV2 extends MsgBase
2357
2540
  }
2358
2541
  };
2359
2542
 
2543
+ //#endregion
2544
+ //#region src/core/modules/exchange/msgs/MsgActivatePostOnlyModeV2.ts
2545
+ /**
2546
+ * @category Messages
2547
+ */
2548
+ var MsgActivatePostOnlyModeV2 = class MsgActivatePostOnlyModeV2 extends MsgBase {
2549
+ static fromJSON(params) {
2550
+ return new MsgActivatePostOnlyModeV2(params);
2551
+ }
2552
+ toProto() {
2553
+ const { params } = this;
2554
+ return InjectiveExchangeV2TxPb.MsgActivatePostOnlyMode.create({
2555
+ sender: params.sender,
2556
+ blocksAmount: params.blocksAmount
2557
+ });
2558
+ }
2559
+ toData() {
2560
+ const proto = this.toProto();
2561
+ return {
2562
+ "@type": "/injective.exchange.v2.MsgActivatePostOnlyMode",
2563
+ ...proto
2564
+ };
2565
+ }
2566
+ toAmino() {
2567
+ const proto = this.toProto();
2568
+ return {
2569
+ type: "exchange/MsgActivatePostOnlyMode",
2570
+ value: {
2571
+ sender: proto.sender,
2572
+ blocks_amount: proto.blocksAmount
2573
+ }
2574
+ };
2575
+ }
2576
+ toWeb3Gw() {
2577
+ const { value } = this.toAmino();
2578
+ return {
2579
+ "@type": "/injective.exchange.v2.MsgActivatePostOnlyMode",
2580
+ ...value
2581
+ };
2582
+ }
2583
+ toDirectSign() {
2584
+ return {
2585
+ type: "/injective.exchange.v2.MsgActivatePostOnlyMode",
2586
+ message: this.toProto()
2587
+ };
2588
+ }
2589
+ toBinary() {
2590
+ return InjectiveExchangeV2TxPb.MsgActivatePostOnlyMode.toBinary(this.toProto());
2591
+ }
2592
+ toEip712Types() {
2593
+ const map = /* @__PURE__ */ new Map();
2594
+ map.set("MsgValue", [{
2595
+ name: "sender",
2596
+ type: "string"
2597
+ }, {
2598
+ name: "blocks_amount",
2599
+ type: "uint32"
2600
+ }]);
2601
+ return map;
2602
+ }
2603
+ };
2604
+
2360
2605
  //#endregion
2361
2606
  //#region src/core/modules/exchange/msgs/MsgInstantSpotMarketLaunch.ts
2362
2607
  const createMessage$8 = (params) => {
@@ -2702,6 +2947,17 @@ var MsgCreateSpotMarketOrderV2 = class MsgCreateSpotMarketOrderV2 extends MsgBas
2702
2947
  }
2703
2948
  };
2704
2949
 
2950
+ //#endregion
2951
+ //#region src/core/modules/exchange/msgs/utils/openNotionalCap.ts
2952
+ const toOpenNotionalCap = (openNotionalCap, formatValue = (value) => value) => {
2953
+ if (!openNotionalCap) return;
2954
+ const { cap } = openNotionalCap;
2955
+ if (!cap) throw new Error("Invalid OpenNotionalCap: missing cap union value");
2956
+ if (cap.oneofKind === "uncapped") return { uncapped: {} };
2957
+ if (cap.oneofKind === "capped") return { capped: { value: formatValue(cap.capped.value) } };
2958
+ throw new Error(`Invalid OpenNotionalCap: unsupported cap kind ${cap.oneofKind}`);
2959
+ };
2960
+
2705
2961
  //#endregion
2706
2962
  //#region src/core/modules/exchange/msgs/MsgUpdateDerivativeMarketV2.ts
2707
2963
  const defaultCrossMarginEligibility = InjectiveExchangeV2ProposalPb.CrossMarginEligibility.CM_ELIGIBILITY_UNSPECIFIED;
@@ -2717,6 +2973,7 @@ const createMessage$7 = (params) => {
2717
2973
  newInitialMarginRatio: params.newInitialMarginRatio || "0",
2718
2974
  newMaintenanceMarginRatio: params.newMaintenanceMarginRatio || "0",
2719
2975
  newReduceMarginRatio: params.newReduceMarginRatio || "0",
2976
+ ...params.newOpenNotionalCap && { newOpenNotionalCap: params.newOpenNotionalCap },
2720
2977
  crossMarginEligibility: (_params$crossMarginEl = params.crossMarginEligibility) !== null && _params$crossMarginEl !== void 0 ? _params$crossMarginEl : defaultCrossMarginEligibility
2721
2978
  });
2722
2979
  };
@@ -2728,17 +2985,7 @@ var MsgUpdateDerivativeMarketV2 = class MsgUpdateDerivativeMarketV2 extends MsgB
2728
2985
  return new MsgUpdateDerivativeMarketV2(params);
2729
2986
  }
2730
2987
  toProto() {
2731
- const { params: initialParams } = this;
2732
- return createMessage$7({
2733
- ...initialParams,
2734
- newMinNotional: toChainFormat(initialParams.newMinNotional || "0").toFixed(),
2735
- newMinQuantityTickSize: toChainFormat(initialParams.newMinQuantityTickSize || "0").toFixed(),
2736
- newMinPriceTickSize: toChainFormat(initialParams.newMinPriceTickSize || "0").toFixed(),
2737
- newInitialMarginRatio: toChainFormat(initialParams.newInitialMarginRatio || "0").toFixed(),
2738
- newMaintenanceMarginRatio: toChainFormat(initialParams.newMaintenanceMarginRatio || "0").toFixed(),
2739
- newReduceMarginRatio: toChainFormat(initialParams.newReduceMarginRatio || "0").toFixed(),
2740
- crossMarginEligibility: initialParams.crossMarginEligibility
2741
- });
2988
+ return createMessage$7(this.params);
2742
2989
  }
2743
2990
  toData() {
2744
2991
  const proto = this.toProto();
@@ -2762,6 +3009,7 @@ var MsgUpdateDerivativeMarketV2 = class MsgUpdateDerivativeMarketV2 extends MsgB
2762
3009
  new_initial_margin_ratio: params.newInitialMarginRatio,
2763
3010
  new_maintenance_margin_ratio: params.newMaintenanceMarginRatio,
2764
3011
  new_reduce_margin_ratio: params.newReduceMarginRatio,
3012
+ ...params.newOpenNotionalCap && { new_open_notional_cap: toOpenNotionalCap(params.newOpenNotionalCap) },
2765
3013
  cross_margin_eligibility: (_params$crossMarginEl2 = params.crossMarginEligibility) !== null && _params$crossMarginEl2 !== void 0 ? _params$crossMarginEl2 : defaultCrossMarginEligibility
2766
3014
  }
2767
3015
  };
@@ -2781,7 +3029,7 @@ var MsgUpdateDerivativeMarketV2 = class MsgUpdateDerivativeMarketV2 extends MsgB
2781
3029
  };
2782
3030
  }
2783
3031
  toEip712V2() {
2784
- var _params$crossMarginEl3;
3032
+ var _toOpenNotionalCap, _params$crossMarginEl3;
2785
3033
  const { params } = this;
2786
3034
  return {
2787
3035
  "@type": "/injective.exchange.v2.MsgUpdateDerivativeMarket",
@@ -2794,7 +3042,7 @@ var MsgUpdateDerivativeMarketV2 = class MsgUpdateDerivativeMarketV2 extends MsgB
2794
3042
  new_initial_margin_ratio: numberToCosmosSdkDecString(params.newInitialMarginRatio || "0"),
2795
3043
  new_maintenance_margin_ratio: numberToCosmosSdkDecString(params.newMaintenanceMarginRatio || "0"),
2796
3044
  new_reduce_margin_ratio: numberToCosmosSdkDecString(params.newReduceMarginRatio || "0"),
2797
- new_open_notional_cap: {},
3045
+ new_open_notional_cap: (_toOpenNotionalCap = toOpenNotionalCap(params.newOpenNotionalCap, numberToCosmosSdkDecString)) !== null && _toOpenNotionalCap !== void 0 ? _toOpenNotionalCap : {},
2798
3046
  cross_margin_eligibility: InjectiveExchangeV2ProposalPb.CrossMarginEligibility[(_params$crossMarginEl3 = params.crossMarginEligibility) !== null && _params$crossMarginEl3 !== void 0 ? _params$crossMarginEl3 : defaultCrossMarginEligibility]
2799
3047
  };
2800
3048
  }
@@ -3051,16 +3299,7 @@ var MsgInstantSpotMarketLaunchV2 = class MsgInstantSpotMarketLaunchV2 extends Ms
3051
3299
  return new MsgInstantSpotMarketLaunchV2(params);
3052
3300
  }
3053
3301
  toProto() {
3054
- const { params: initialParams } = this;
3055
- return createMessage$4({
3056
- ...initialParams,
3057
- market: {
3058
- ...initialParams.market,
3059
- minPriceTickSize: toChainFormat(initialParams.market.minPriceTickSize).toFixed(),
3060
- minQuantityTickSize: toChainFormat(initialParams.market.minQuantityTickSize).toFixed(),
3061
- minNotional: toChainFormat(initialParams.market.minNotional).toFixed()
3062
- }
3063
- });
3302
+ return createMessage$4(this.params);
3064
3303
  }
3065
3304
  toData() {
3066
3305
  const proto = this.toProto();
@@ -3125,6 +3364,59 @@ var MsgInstantSpotMarketLaunchV2 = class MsgInstantSpotMarketLaunchV2 extends Ms
3125
3364
  }
3126
3365
  };
3127
3366
 
3367
+ //#endregion
3368
+ //#region src/core/modules/exchange/msgs/MsgLiquidateCrossMarginPoolV2.ts
3369
+ /**
3370
+ * @category Messages
3371
+ */
3372
+ var MsgLiquidateCrossMarginPoolV2 = class MsgLiquidateCrossMarginPoolV2 extends MsgBase {
3373
+ static fromJSON(params) {
3374
+ return new MsgLiquidateCrossMarginPoolV2(params);
3375
+ }
3376
+ toProto() {
3377
+ const { params } = this;
3378
+ return InjectiveExchangeV2TxPb.MsgLiquidateCrossMarginPool.create({
3379
+ sender: params.sender,
3380
+ subaccountId: params.subaccountId,
3381
+ quoteDenom: params.quoteDenom
3382
+ });
3383
+ }
3384
+ toData() {
3385
+ const proto = this.toProto();
3386
+ return {
3387
+ "@type": "/injective.exchange.v2.MsgLiquidateCrossMarginPool",
3388
+ ...proto
3389
+ };
3390
+ }
3391
+ toAmino() {
3392
+ const proto = this.toProto();
3393
+ return {
3394
+ type: "exchange/MsgLiquidateCrossMarginPool",
3395
+ value: {
3396
+ sender: proto.sender,
3397
+ subaccount_id: proto.subaccountId,
3398
+ quote_denom: proto.quoteDenom
3399
+ }
3400
+ };
3401
+ }
3402
+ toWeb3Gw() {
3403
+ const { value } = this.toAmino();
3404
+ return {
3405
+ "@type": "/injective.exchange.v2.MsgLiquidateCrossMarginPool",
3406
+ ...value
3407
+ };
3408
+ }
3409
+ toDirectSign() {
3410
+ return {
3411
+ type: "/injective.exchange.v2.MsgLiquidateCrossMarginPool",
3412
+ message: this.toProto()
3413
+ };
3414
+ }
3415
+ toBinary() {
3416
+ return InjectiveExchangeV2TxPb.MsgLiquidateCrossMarginPool.toBinary(this.toProto());
3417
+ }
3418
+ };
3419
+
3128
3420
  //#endregion
3129
3421
  //#region src/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.ts
3130
3422
  const createLimitOrder$3 = (params) => {
@@ -3950,6 +4242,113 @@ var MsgCreateDerivativeMarketOrderV2 = class MsgCreateDerivativeMarketOrderV2 ex
3950
4242
  }
3951
4243
  };
3952
4244
 
4245
+ //#endregion
4246
+ //#region src/core/modules/exchange/msgs/MsgUpdateSubaccountRiskProfileV2.ts
4247
+ const riskProfileToWeb3Gw = (riskProfile, useEnumNames = false) => {
4248
+ if (!riskProfile) return;
4249
+ return {
4250
+ mode: useEnumNames ? `RISK_MODE_${InjectiveExchangeV2ExchangePb.RiskMode[riskProfile.mode]}` : riskProfile.mode,
4251
+ reservation_policy: useEnumNames ? `RESERVATION_POLICY_${InjectiveExchangeV2ExchangePb.ReservationPolicy[riskProfile.reservationPolicy]}` : riskProfile.reservationPolicy,
4252
+ credit_line_id: riskProfile.creditLineId
4253
+ };
4254
+ };
4255
+ /**
4256
+ * @category Messages
4257
+ */
4258
+ var MsgUpdateSubaccountRiskProfileV2 = class MsgUpdateSubaccountRiskProfileV2 extends MsgBase {
4259
+ static fromJSON(params) {
4260
+ return new MsgUpdateSubaccountRiskProfileV2(params);
4261
+ }
4262
+ toProto() {
4263
+ const { params } = this;
4264
+ return InjectiveExchangeV2TxPb.MsgUpdateSubaccountRiskProfile.create({
4265
+ sender: params.sender,
4266
+ subaccountId: params.subaccountId,
4267
+ riskProfile: params.riskProfile
4268
+ });
4269
+ }
4270
+ toData() {
4271
+ const proto = this.toProto();
4272
+ return {
4273
+ "@type": "/injective.exchange.v2.MsgUpdateSubaccountRiskProfile",
4274
+ ...proto
4275
+ };
4276
+ }
4277
+ toAmino() {
4278
+ const proto = this.toProto();
4279
+ return {
4280
+ type: "exchange/MsgUpdateSubaccountRiskProfile",
4281
+ value: {
4282
+ sender: proto.sender,
4283
+ subaccount_id: proto.subaccountId,
4284
+ risk_profile: riskProfileToWeb3Gw(proto.riskProfile)
4285
+ }
4286
+ };
4287
+ }
4288
+ toWeb3Gw() {
4289
+ const { value } = this.toAmino();
4290
+ return {
4291
+ "@type": "/injective.exchange.v2.MsgUpdateSubaccountRiskProfile",
4292
+ ...value
4293
+ };
4294
+ }
4295
+ toEip712V2() {
4296
+ const { params } = this;
4297
+ return {
4298
+ ...this.toWeb3Gw(),
4299
+ risk_profile: riskProfileToWeb3Gw(params.riskProfile, true)
4300
+ };
4301
+ }
4302
+ toEip712() {
4303
+ const { value, type } = this.toAmino();
4304
+ const riskProfile = value.risk_profile;
4305
+ return {
4306
+ type,
4307
+ value: {
4308
+ ...value,
4309
+ risk_profile: {
4310
+ mode: riskProfile.mode,
4311
+ reservation_policy: riskProfile.reservation_policy
4312
+ }
4313
+ }
4314
+ };
4315
+ }
4316
+ toEip712Types() {
4317
+ const map = /* @__PURE__ */ new Map();
4318
+ map.set("TypeRiskProfile", [{
4319
+ name: "mode",
4320
+ type: "int32"
4321
+ }, {
4322
+ name: "reservation_policy",
4323
+ type: "int32"
4324
+ }]);
4325
+ map.set("MsgValue", [
4326
+ {
4327
+ name: "sender",
4328
+ type: "string"
4329
+ },
4330
+ {
4331
+ name: "subaccount_id",
4332
+ type: "string"
4333
+ },
4334
+ {
4335
+ name: "risk_profile",
4336
+ type: "TypeRiskProfile"
4337
+ }
4338
+ ]);
4339
+ return map;
4340
+ }
4341
+ toDirectSign() {
4342
+ return {
4343
+ type: "/injective.exchange.v2.MsgUpdateSubaccountRiskProfile",
4344
+ message: this.toProto()
4345
+ };
4346
+ }
4347
+ toBinary() {
4348
+ return InjectiveExchangeV2TxPb.MsgUpdateSubaccountRiskProfile.toBinary(this.toProto());
4349
+ }
4350
+ };
4351
+
3953
4352
  //#endregion
3954
4353
  //#region src/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.ts
3955
4354
  const createMessage$3 = (params) => {
@@ -4809,7 +5208,8 @@ const createMessage = (params) => {
4809
5208
  quoteDenom: params.market.quoteDenom,
4810
5209
  minPriceTickSize: params.market.minPriceTickSize,
4811
5210
  minQuantityTickSize: params.market.minQuantityTickSize,
4812
- minNotional: params.market.minNotional
5211
+ minNotional: params.market.minNotional,
5212
+ ...params.market.openNotionalCap && { openNotionalCap: params.market.openNotionalCap }
4813
5213
  });
4814
5214
  };
4815
5215
  /**
@@ -4820,18 +5220,7 @@ var MsgInstantBinaryOptionsMarketLaunchV2 = class MsgInstantBinaryOptionsMarketL
4820
5220
  return new MsgInstantBinaryOptionsMarketLaunchV2(params);
4821
5221
  }
4822
5222
  toProto() {
4823
- const { params: initialParams } = this;
4824
- return createMessage({
4825
- ...initialParams,
4826
- market: {
4827
- ...initialParams.market,
4828
- minPriceTickSize: toChainFormat(initialParams.market.minPriceTickSize).toFixed(),
4829
- makerFeeRate: toChainFormat(initialParams.market.makerFeeRate).toFixed(),
4830
- takerFeeRate: toChainFormat(initialParams.market.takerFeeRate).toFixed(),
4831
- minQuantityTickSize: toChainFormat(initialParams.market.minQuantityTickSize).toFixed(),
4832
- minNotional: toChainFormat(initialParams.market.minNotional).toFixed()
4833
- }
4834
- });
5223
+ return createMessage(this.params);
4835
5224
  }
4836
5225
  toData() {
4837
5226
  const proto = this.toProto();
@@ -4859,7 +5248,8 @@ var MsgInstantBinaryOptionsMarketLaunchV2 = class MsgInstantBinaryOptionsMarketL
4859
5248
  quote_denom: params.market.quoteDenom,
4860
5249
  min_price_tick_size: params.market.minPriceTickSize,
4861
5250
  min_quantity_tick_size: params.market.minQuantityTickSize,
4862
- min_notional: params.market.minNotional
5251
+ min_notional: params.market.minNotional,
5252
+ ...params.market.openNotionalCap && { open_notional_cap: toOpenNotionalCap(params.market.openNotionalCap) }
4863
5253
  }
4864
5254
  };
4865
5255
  }
@@ -4874,6 +5264,7 @@ var MsgInstantBinaryOptionsMarketLaunchV2 = class MsgInstantBinaryOptionsMarketL
4874
5264
  throw new GeneralException(/* @__PURE__ */ new Error("EIP712 v1 is not supported for MsgInstantBinaryOptionsMarketLaunch, use toEip712V2 instead."));
4875
5265
  }
4876
5266
  toEip712V2() {
5267
+ var _toOpenNotionalCap;
4877
5268
  const { params } = this;
4878
5269
  return {
4879
5270
  ...this.toWeb3Gw(),
@@ -4883,7 +5274,7 @@ var MsgInstantBinaryOptionsMarketLaunchV2 = class MsgInstantBinaryOptionsMarketL
4883
5274
  taker_fee_rate: numberToCosmosSdkDecString(params.market.takerFeeRate),
4884
5275
  maker_fee_rate: numberToCosmosSdkDecString(params.market.makerFeeRate),
4885
5276
  oracle_type: InjectiveOracleV1Beta1OraclePb.OracleType[params.market.oracleType],
4886
- open_notional_cap: {}
5277
+ open_notional_cap: (_toOpenNotionalCap = toOpenNotionalCap(params.market.openNotionalCap, numberToCosmosSdkDecString)) !== null && _toOpenNotionalCap !== void 0 ? _toOpenNotionalCap : {}
4887
5278
  };
4888
5279
  }
4889
5280
  toDirectSign() {
@@ -10480,4 +10871,4 @@ var MsgSetDenomMetadata = class MsgSetDenomMetadata extends MsgBase {
10480
10871
  };
10481
10872
 
10482
10873
  //#endregion
10483
- export { ExecArgIncreaseAllowance as $, MsgUpdateDerivativeMarketV2 as $t, MsgCreateRateLimit as A, OrderHashManager as At, MsgExec as B, MsgAdminUpdateBinaryOptionsMarket as Bt, MsgEditValidator as C, MsgCancelSpotOrder as Cn, MsgSubmitProposalPerpetualMarketLaunch as Ct, MsgRelayProviderPrices as D, MsgDepositV2 as Dn, MsgSubmitTextProposal as Dt, MsgBid as E, MsgSignDataV2 as En, MsgSubmitGenericProposal as Et, MsgGrantWithAuthorization as F, MsgInstantBinaryOptionsMarketLaunch as Ft, ExecPrivilegedArgVaultSubscribe as G, MsgCreateDerivativeMarketOrder as Gt, ExecPrivilegedArgOffChainVaultSubscribe as H, MsgBatchCancelDerivativeOrdersV2 as Ht, MsgRevoke as I, MsgSetDelegationTransferReceiversV2 as It, ExecArgCreatePerpGridStrategy as J, MsgCreateDerivativeLimitOrder as Jt, ExecPrivilegedArgVaultRedeem as K, MsgBatchCancelDerivativeOrders as Kt, MsgGrant as L, MsgCreateBinaryOptionsLimitOrderV2 as Lt, ContractExecutionCompatAuthorization as M, MsgCreateBinaryOptionsMarketOrderV2 as Mt, ContractExecutionAuthorization as N, MsgBatchCancelBinaryOptionsOrdersV2 as Nt, MsgRemoveRateLimit as O, MsgWithdraw as On, MsgDeposit as Ot, GenericAuthorization as P, MsgAdminUpdateBinaryOptionsMarketV2 as Pt, ExecArgRemoveGridStrategy as Q, MsgCancelBinaryOptionsOrder as Qt, getGenericAuthorizationFromMessageType as R, MsgCreateBinaryOptionsMarketOrder as Rt, MsgBeginRedelegate as S, MsgRewardsOptOutV2 as Sn, MsgSubmitProposalSpotMarketParamUpdate as St, MsgDelegate as T, MsgWithdrawV2 as Tn, MsgSubmitProposalSpotMarketLaunch as Tt, ExecPrivilegedArgOffChainVaultRedeem as U, MsgCreateBinaryOptionsLimitOrder as Ut, GrantAuthorizationType as V, MsgCreateDerivativeMarketOrderV2 as Vt, ExecArgCW20AdapterRedeemAndTransfer as W, MsgCreateDerivativeLimitOrderV2 as Wt, StrategyType as X, MsgDecreasePositionMarginV2 as Xt, ExitType as Y, MsgInstantSpotMarketLaunchV2 as Yt, MsgPrivilegedExecuteContract as Z, MsgIncreasePositionMarginV2 as Zt, MsgRevokeAllowance as _, MsgReclaimLockedFunds as _n, MsgSend as _t, MsgBurn as a, MsgAuthorizeStakeGrantsV2 as an, ExecArgDepositTokens as at, MsgTransferDelegation as b, MsgBatchUpdateOrders as bn, MsgSubmitProposalExpiryFuturesMarketLaunch as bt, MsgFundCommunityPool as c, MsgBatchCancelSpotOrders as cn, ExecArgCW20Transfer as ct, MsgCreateNamespace as d, MsgCreateSpotLimitOrder as dn, MsgMigrateContract as dt, MsgCreateSpotMarketOrderV2 as en, ExecArgUpdateGridConfig as et, MsgUpdateParams as f, MsgCancelPostOnlyModeV2 as fn, MsgExecuteContract as ft, MsgUnderwrite as g, MsgUpdateSpotMarketV2 as gn, MsgMultiSend as gt, MsgRequestRedemption as h, MsgExternalTransferV2 as hn, MsgStoreCode as ht, MsgMint as i, MsgCreateSpotLimitOrderV2 as in, ExecArgSwapMinOutput as it, MsgSendToEth as j, MsgInstantBinaryOptionsMarketLaunchV2 as jt, MsgUpdateRateLimit as k, MsgDeposit$1 as kn, MsgVote as kt, MsgUpdateActorRoles as l, MsgReclaimLockedFundsV2 as ln, ExecArgCreateRound as lt, MsgCreateInsuranceFund as m, MsgBatchUpdateOrdersV2 as mn, MsgUpdateAdmin as mt, MsgCreateDenom as n, MsgCancelDerivativeOrderV2 as nn, ExecArgSwapExactOutput as nt, MsgWithdrawValidatorCommission as o, MsgCreateSpotMarketOrder as on, MsgInstantiateContract as ot, MsgClaimVoucher as p, MsgLiquidatePositionV2 as pn, ExecArgCW20Send as pt, ExecArgCreateSpotGridStrategy as q, MsgCancelBinaryOptionsOrderV2 as qt, MsgChangeAdmin as r, MsgInstantSpotMarketLaunch as rn, ExecArgCreateCampaign as rt, MsgWithdrawDelegatorReward as s, MsgCancelDerivativeOrder as sn, ExecArgFundCampaign as st, MsgSetDenomMetadata as t, MsgBatchCancelSpotOrdersV2 as tn, ExecArgInitiateTransfer as tt, MsgUpdateNamespace as u, MsgAuthorizeStakeGrants as un, ExecArgSubmitVaa as ut, MsgGrantAllowance as v, MsgCancelSpotOrderV2 as vn, MsgTransfer as vt, MsgUndelegate as w, MsgRewardsOptOut as wn, MsgGrantProviderPrivilegeProposal as wt, MsgCreateValidator as x, MsgExternalTransfer as xn, MsgSubmitProposalPerpetualMarketLaunchV2 as xt, MsgCancelUnbondingDelegation as y, MsgLiquidatePosition as yn, ProposalDecomposer as yt, msgsOrMsgExecMsgs as z, MsgBatchCancelBinaryOptionsOrders as zt };
10874
+ export { ExecArgIncreaseAllowance as $, MsgIncreasePositionMarginV2 as $t, MsgCreateRateLimit as A, MsgRewardsOptOut as An, OrderHashManager as At, MsgExec as B, MsgAdminUpdateBinaryOptionsMarket as Bt, MsgEditValidator as C, MsgCancelSpotOrderV2 as Cn, MsgSubmitProposalPerpetualMarketLaunch as Ct, MsgRelayProviderPrices as D, MsgExternalTransfer as Dn, MsgSubmitTextProposal as Dt, MsgBid as E, MsgOffsetPositionV2 as En, MsgSubmitGenericProposal as Et, MsgGrantWithAuthorization as F, MsgDeposit$1 as Fn, MsgInstantBinaryOptionsMarketLaunch as Ft, ExecPrivilegedArgVaultSubscribe as G, MsgCreateDerivativeLimitOrderV2 as Gt, ExecPrivilegedArgOffChainVaultSubscribe as H, MsgCreateDerivativeMarketOrderV2 as Ht, MsgRevoke as I, MsgSetDelegationTransferReceiversV2 as It, ExecArgCreatePerpGridStrategy as J, MsgCancelBinaryOptionsOrderV2 as Jt, ExecPrivilegedArgVaultRedeem as K, MsgCreateDerivativeMarketOrder as Kt, MsgGrant as L, MsgCreateBinaryOptionsLimitOrderV2 as Lt, ContractExecutionCompatAuthorization as M, MsgSignDataV2 as Mn, MsgCreateBinaryOptionsMarketOrderV2 as Mt, ContractExecutionAuthorization as N, MsgDepositV2 as Nn, MsgBatchCancelBinaryOptionsOrdersV2 as Nt, MsgRemoveRateLimit as O, MsgRewardsOptOutV2 as On, MsgDeposit as Ot, GenericAuthorization as P, MsgWithdraw as Pn, MsgAdminUpdateBinaryOptionsMarketV2 as Pt, ExecArgRemoveGridStrategy as Q, MsgDecreasePositionMarginV2 as Qt, getGenericAuthorizationFromMessageType as R, MsgCreateBinaryOptionsMarketOrder as Rt, MsgBeginRedelegate as S, MsgReclaimLockedFunds as Sn, MsgSubmitProposalSpotMarketParamUpdate as St, MsgDelegate as T, MsgBatchUpdateOrders as Tn, MsgSubmitProposalSpotMarketLaunch as Tt, ExecPrivilegedArgOffChainVaultRedeem as U, MsgBatchCancelDerivativeOrdersV2 as Ut, GrantAuthorizationType as V, MsgUpdateSubaccountRiskProfileV2 as Vt, ExecArgCW20AdapterRedeemAndTransfer as W, MsgCreateBinaryOptionsLimitOrder as Wt, StrategyType as X, MsgLiquidateCrossMarginPoolV2 as Xt, ExitType as Y, MsgCreateDerivativeLimitOrder as Yt, MsgPrivilegedExecuteContract as Z, MsgInstantSpotMarketLaunchV2 as Zt, MsgRevokeAllowance as _, MsgCancelPostOnlyModeV2 as _n, MsgSend as _t, MsgBurn as a, MsgInstantSpotMarketLaunch as an, ExecArgDepositTokens as at, MsgTransferDelegation as b, MsgExternalTransferV2 as bn, MsgSubmitProposalExpiryFuturesMarketLaunch as bt, MsgFundCommunityPool as c, MsgAuthorizeStakeGrantsV2 as cn, ExecArgCW20Transfer as ct, MsgCreateNamespace as d, MsgBatchCancelSpotOrders as dn, MsgMigrateContract as dt, MsgCancelBinaryOptionsOrder as en, ExecArgUpdateGridConfig as et, MsgUpdateParams as f, MsgActivateStakeGrantV2 as fn, MsgExecuteContract as ft, MsgUnderwrite as g, MsgSubaccountTransferV2 as gn, MsgMultiSend as gt, MsgRequestRedemption as h, MsgCreateSpotLimitOrder as hn, MsgStoreCode as ht, MsgMint as i, MsgCancelDerivativeOrderV2 as in, ExecArgSwapMinOutput as it, MsgSendToEth as j, MsgWithdrawV2 as jn, MsgInstantBinaryOptionsMarketLaunchV2 as jt, MsgUpdateRateLimit as k, MsgCancelSpotOrder as kn, MsgVote as kt, MsgUpdateActorRoles as l, MsgCreateSpotMarketOrder as ln, ExecArgCreateRound as lt, MsgCreateInsuranceFund as m, MsgAuthorizeStakeGrants as mn, MsgUpdateAdmin as mt, MsgCreateDenom as n, MsgCreateSpotMarketOrderV2 as nn, ExecArgSwapExactOutput as nt, MsgWithdrawValidatorCommission as o, MsgActivatePostOnlyModeV2 as on, MsgInstantiateContract as ot, MsgClaimVoucher as p, MsgReclaimLockedFundsV2 as pn, ExecArgCW20Send as pt, ExecArgCreateSpotGridStrategy as q, MsgBatchCancelDerivativeOrders as qt, MsgChangeAdmin as r, MsgBatchCancelSpotOrdersV2 as rn, ExecArgCreateCampaign as rt, MsgWithdrawDelegatorReward as s, MsgCreateSpotLimitOrderV2 as sn, ExecArgFundCampaign as st, MsgSetDenomMetadata as t, MsgUpdateDerivativeMarketV2 as tn, ExecArgInitiateTransfer as tt, MsgUpdateNamespace as u, MsgCancelDerivativeOrder as un, ExecArgSubmitVaa as ut, MsgGrantAllowance as v, MsgLiquidatePositionV2 as vn, MsgTransfer as vt, MsgUndelegate as w, MsgLiquidatePosition as wn, MsgGrantProviderPrivilegeProposal as wt, MsgCreateValidator as x, MsgUpdateSpotMarketV2 as xn, MsgSubmitProposalPerpetualMarketLaunchV2 as xt, MsgCancelUnbondingDelegation as y, MsgBatchUpdateOrdersV2 as yn, ProposalDecomposer as yt, msgsOrMsgExecMsgs as z, MsgBatchCancelBinaryOptionsOrders as zt };
@@ -1,5 +1,5 @@
1
- import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
2
- import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
1
+ import { t as _defineProperty } from "./defineProperty-BwBXXd7t.js";
2
+ import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-CPx95BY0.js";
3
3
  import { IndexerErrorModule } from "@injectivelabs/exceptions";
4
4
  import * as DmmPb from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb";
5
5
  import { InjectiveDmmV2Client } from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.client";