@nadohq/engine-client 0.50.0 → 0.52.0

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 (136) hide show
  1. package/dist/{EngineBaseClient-B8AGzScB.d.ts → EngineBaseClient-CjoiEm02.d.ts} +5 -5
  2. package/dist/{EngineBaseClient-B8AGzScB.d.ts.map → EngineBaseClient-CjoiEm02.d.ts.map} +1 -1
  3. package/dist/{EngineBaseClient-DOtVIiNB.d.cts → EngineBaseClient-Cxc6BZIi.d.cts} +5 -5
  4. package/dist/{EngineBaseClient-DOtVIiNB.d.cts.map → EngineBaseClient-Cxc6BZIi.d.cts.map} +1 -1
  5. package/dist/EngineBaseClient.d.cts +1 -1
  6. package/dist/EngineBaseClient.d.ts +1 -1
  7. package/dist/EngineClient.d.cts +4 -4
  8. package/dist/EngineClient.d.ts +4 -4
  9. package/dist/{EngineEdgeQueryClient-CwvxddRg.d.cts → EngineEdgeQueryClient-Bq_XjCl7.d.cts} +4 -4
  10. package/dist/{EngineEdgeQueryClient-CwvxddRg.d.cts.map → EngineEdgeQueryClient-Bq_XjCl7.d.cts.map} +1 -1
  11. package/dist/{EngineEdgeQueryClient-B47wXrBE.d.ts → EngineEdgeQueryClient-CGPNiYNf.d.ts} +4 -4
  12. package/dist/{EngineEdgeQueryClient-B47wXrBE.d.ts.map → EngineEdgeQueryClient-CGPNiYNf.d.ts.map} +1 -1
  13. package/dist/EngineEdgeQueryClient.d.cts +1 -1
  14. package/dist/EngineEdgeQueryClient.d.ts +1 -1
  15. package/dist/{EngineExecuteBuilder-89AP85fJ.d.ts → EngineExecuteBuilder-CJE3bMf2.d.ts} +12 -4
  16. package/dist/EngineExecuteBuilder-CJE3bMf2.d.ts.map +1 -0
  17. package/dist/{EngineExecuteBuilder-BKO2APye.d.cts → EngineExecuteBuilder-ySU-JZWq.d.cts} +12 -4
  18. package/dist/EngineExecuteBuilder-ySU-JZWq.d.cts.map +1 -0
  19. package/dist/EngineExecuteBuilder.cjs +16 -1
  20. package/dist/EngineExecuteBuilder.cjs.map +1 -1
  21. package/dist/EngineExecuteBuilder.d.cts +1 -1
  22. package/dist/EngineExecuteBuilder.d.ts +1 -1
  23. package/dist/EngineExecuteBuilder.js +16 -1
  24. package/dist/EngineExecuteBuilder.js.map +1 -1
  25. package/dist/{EngineExecuteClient-BcdUDCAl.d.ts → EngineExecuteClient-DG_pj7dE.d.cts} +14 -5
  26. package/dist/{EngineExecuteClient-CtotzpcZ.d.cts.map → EngineExecuteClient-DG_pj7dE.d.cts.map} +1 -1
  27. package/dist/{EngineExecuteClient-CtotzpcZ.d.cts → EngineExecuteClient-Dc-nshM9.d.ts} +14 -5
  28. package/dist/{EngineExecuteClient-BcdUDCAl.d.ts.map → EngineExecuteClient-Dc-nshM9.d.ts.map} +1 -1
  29. package/dist/EngineExecuteClient.cjs +11 -0
  30. package/dist/EngineExecuteClient.cjs.map +1 -1
  31. package/dist/EngineExecuteClient.d.cts +1 -1
  32. package/dist/EngineExecuteClient.d.ts +1 -1
  33. package/dist/EngineExecuteClient.js +11 -0
  34. package/dist/EngineExecuteClient.js.map +1 -1
  35. package/dist/{EngineQueryClient-kc0UgD75.d.cts → EngineQueryClient-Bb_dQxl9.d.cts} +21 -4
  36. package/dist/EngineQueryClient-Bb_dQxl9.d.cts.map +1 -0
  37. package/dist/{EngineQueryClient-DAMp444j.d.ts → EngineQueryClient-CyLOXvEQ.d.ts} +21 -4
  38. package/dist/EngineQueryClient-CyLOXvEQ.d.ts.map +1 -0
  39. package/dist/EngineQueryClient.cjs +48 -8
  40. package/dist/EngineQueryClient.cjs.map +1 -1
  41. package/dist/EngineQueryClient.d.cts +1 -1
  42. package/dist/EngineQueryClient.d.ts +1 -1
  43. package/dist/EngineQueryClient.js +48 -8
  44. package/dist/EngineQueryClient.js.map +1 -1
  45. package/dist/{EngineServerFailureError-DDGAIrxD.d.cts → EngineServerFailureError-D6FhNLZ1.d.cts} +3 -3
  46. package/dist/{EngineServerFailureError-DDGAIrxD.d.cts.map → EngineServerFailureError-D6FhNLZ1.d.cts.map} +1 -1
  47. package/dist/{EngineServerFailureError-CPIwlURB.d.ts → EngineServerFailureError-DmeIkcaO.d.ts} +3 -3
  48. package/dist/{EngineServerFailureError-CPIwlURB.d.ts.map → EngineServerFailureError-DmeIkcaO.d.ts.map} +1 -1
  49. package/dist/{EngineWebClient-BrLeJdIc.d.ts → EngineWebClient-5TyQwF9e.d.ts} +3 -3
  50. package/dist/{EngineWebClient-BrLeJdIc.d.ts.map → EngineWebClient-5TyQwF9e.d.ts.map} +1 -1
  51. package/dist/{EngineWebClient-xGhtI73z.d.cts → EngineWebClient-sirYCWks.d.cts} +3 -3
  52. package/dist/{EngineWebClient-xGhtI73z.d.cts.map → EngineWebClient-sirYCWks.d.cts.map} +1 -1
  53. package/dist/EngineWebClient.d.cts +1 -1
  54. package/dist/EngineWebClient.d.ts +1 -1
  55. package/dist/{clientExecuteTypes-uaCtufYV.d.cts → clientExecuteTypes-DdTonPFz.d.cts} +29 -5
  56. package/dist/clientExecuteTypes-DdTonPFz.d.cts.map +1 -0
  57. package/dist/{clientExecuteTypes-Cw5pE8eT.d.ts → clientExecuteTypes-fh0QGFm3.d.ts} +29 -5
  58. package/dist/clientExecuteTypes-fh0QGFm3.d.ts.map +1 -0
  59. package/dist/{clientQueryTypes-dyLCw-ip.d.ts → clientQueryTypes-86sEMdWH.d.cts} +42 -3
  60. package/dist/{clientQueryTypes-OyjAl55K.d.cts.map → clientQueryTypes-86sEMdWH.d.cts.map} +1 -1
  61. package/dist/{clientQueryTypes-OyjAl55K.d.cts → clientQueryTypes-BRmW-hwV.d.ts} +42 -3
  62. package/dist/{clientQueryTypes-dyLCw-ip.d.ts.map → clientQueryTypes-BRmW-hwV.d.ts.map} +1 -1
  63. package/dist/{engineErrorCodes-CLqQyhgn.d.ts → engineErrorCodes-T0t1nfq2.d.cts} +3 -2
  64. package/dist/{engineErrorCodes-CLqQyhgn.d.cts.map → engineErrorCodes-T0t1nfq2.d.cts.map} +1 -1
  65. package/dist/{engineErrorCodes-CLqQyhgn.d.cts → engineErrorCodes-T0t1nfq2.d.ts} +3 -2
  66. package/dist/{engineErrorCodes-CLqQyhgn.d.ts.map → engineErrorCodes-T0t1nfq2.d.ts.map} +1 -1
  67. package/dist/index.d.cts +10 -10
  68. package/dist/index.d.ts +10 -10
  69. package/dist/{queryDataMappers-CuEl5lX4.d.cts → queryDataMappers-Dv41azb7.d.cts} +4 -4
  70. package/dist/{queryDataMappers-CuEl5lX4.d.cts.map → queryDataMappers-Dv41azb7.d.cts.map} +1 -1
  71. package/dist/{queryDataMappers-CjWrw8mN.d.ts → queryDataMappers-DwyNNcWZ.d.ts} +4 -4
  72. package/dist/{queryDataMappers-CjWrw8mN.d.ts.map → queryDataMappers-DwyNNcWZ.d.ts.map} +1 -1
  73. package/dist/{serverEdgeQueryTypes-DkJ9JY9x.d.cts → serverEdgeQueryTypes-BaMFzyz8.d.cts} +2 -2
  74. package/dist/{serverEdgeQueryTypes-DkJ9JY9x.d.cts.map → serverEdgeQueryTypes-BaMFzyz8.d.cts.map} +1 -1
  75. package/dist/{serverEdgeQueryTypes-Del7970K.d.ts → serverEdgeQueryTypes-BuVoqyAf.d.ts} +2 -2
  76. package/dist/{serverEdgeQueryTypes-Del7970K.d.ts.map → serverEdgeQueryTypes-BuVoqyAf.d.ts.map} +1 -1
  77. package/dist/{serverExecuteTypes-D10ujnwM.d.cts → serverExecuteTypes-B5TGnwV0.d.cts} +15 -3
  78. package/dist/serverExecuteTypes-B5TGnwV0.d.cts.map +1 -0
  79. package/dist/{serverExecuteTypes-CXA3Be63.d.ts → serverExecuteTypes-DMNnEFf7.d.ts} +15 -3
  80. package/dist/serverExecuteTypes-DMNnEFf7.d.ts.map +1 -0
  81. package/dist/{serverQueryTypes-BvuH0UhW.d.ts → serverQueryTypes-B310vOgF.d.ts} +32 -2
  82. package/dist/serverQueryTypes-B310vOgF.d.ts.map +1 -0
  83. package/dist/{serverQueryTypes-CB0z7-gj.d.cts → serverQueryTypes-Z9L5CzzX.d.cts} +32 -2
  84. package/dist/serverQueryTypes-Z9L5CzzX.d.cts.map +1 -0
  85. package/dist/{serverSubscriptionEventTypes-BBqRApAk.d.ts → serverSubscriptionEventTypes-C3X3GUTW.d.ts} +3 -3
  86. package/dist/{serverSubscriptionEventTypes-BBqRApAk.d.ts.map → serverSubscriptionEventTypes-C3X3GUTW.d.ts.map} +1 -1
  87. package/dist/{serverSubscriptionEventTypes-DLWGxy3a.d.cts → serverSubscriptionEventTypes-D4PkREoN.d.cts} +3 -3
  88. package/dist/{serverSubscriptionEventTypes-DLWGxy3a.d.cts.map → serverSubscriptionEventTypes-D4PkREoN.d.cts.map} +1 -1
  89. package/dist/types/EngineServerFailureError.d.cts +1 -1
  90. package/dist/types/EngineServerFailureError.d.ts +1 -1
  91. package/dist/types/clientExecuteTypes.d.cts +2 -2
  92. package/dist/types/clientExecuteTypes.d.ts +2 -2
  93. package/dist/types/clientQueryTypes.d.cts +2 -2
  94. package/dist/types/clientQueryTypes.d.ts +2 -2
  95. package/dist/types/engineErrorCodes.cjs +3 -1
  96. package/dist/types/engineErrorCodes.cjs.map +1 -1
  97. package/dist/types/engineErrorCodes.d.cts +1 -1
  98. package/dist/types/engineErrorCodes.d.ts +1 -1
  99. package/dist/types/engineErrorCodes.js +3 -1
  100. package/dist/types/engineErrorCodes.js.map +1 -1
  101. package/dist/types/index.d.cts +9 -9
  102. package/dist/types/index.d.ts +9 -9
  103. package/dist/types/serverEdgeQueryTypes.d.cts +1 -1
  104. package/dist/types/serverEdgeQueryTypes.d.ts +1 -1
  105. package/dist/types/serverExecuteTypes.d.cts +1 -1
  106. package/dist/types/serverExecuteTypes.d.ts +1 -1
  107. package/dist/types/serverQueryTypes.cjs.map +1 -1
  108. package/dist/types/serverQueryTypes.d.cts +2 -2
  109. package/dist/types/serverQueryTypes.d.ts +2 -2
  110. package/dist/types/serverQueryTypes.js.map +1 -1
  111. package/dist/types/serverSubscriptionEventTypes.d.cts +1 -1
  112. package/dist/types/serverSubscriptionEventTypes.d.ts +1 -1
  113. package/dist/utils/index.d.cts +1 -1
  114. package/dist/utils/index.d.ts +1 -1
  115. package/dist/utils/queryDataMappers.d.cts +1 -1
  116. package/dist/utils/queryDataMappers.d.ts +1 -1
  117. package/package.json +3 -3
  118. package/src/EngineExecuteBuilder.ts +24 -0
  119. package/src/EngineExecuteClient.ts +17 -0
  120. package/src/EngineQueryClient.ts +77 -1
  121. package/src/types/clientExecuteTypes.ts +28 -1
  122. package/src/types/clientQueryTypes.ts +48 -0
  123. package/src/types/engineErrorCodes.ts +2 -0
  124. package/src/types/serverExecuteTypes.ts +14 -1
  125. package/src/types/serverQueryTypes.ts +40 -0
  126. package/src/types/serverSubscriptionEventTypes.ts +1 -0
  127. package/dist/EngineExecuteBuilder-89AP85fJ.d.ts.map +0 -1
  128. package/dist/EngineExecuteBuilder-BKO2APye.d.cts.map +0 -1
  129. package/dist/EngineQueryClient-DAMp444j.d.ts.map +0 -1
  130. package/dist/EngineQueryClient-kc0UgD75.d.cts.map +0 -1
  131. package/dist/clientExecuteTypes-Cw5pE8eT.d.ts.map +0 -1
  132. package/dist/clientExecuteTypes-uaCtufYV.d.cts.map +0 -1
  133. package/dist/serverExecuteTypes-CXA3Be63.d.ts.map +0 -1
  134. package/dist/serverExecuteTypes-D10ujnwM.d.cts.map +0 -1
  135. package/dist/serverQueryTypes-BvuH0UhW.d.ts.map +0 -1
  136. package/dist/serverQueryTypes-CB0z7-gj.d.cts.map +0 -1
@@ -1,2 +1,2 @@
1
- import { _ as WithBaseEngineExecuteParams, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as SignatureParamsOrSignature, h as EngineWithdrawCollateralV2Params, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithSignature } from "../clientExecuteTypes-Cw5pE8eT.js";
2
- export { EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMintNlpParams, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EngineTransferQuoteParams, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, SignatureParamsOrSignature, WithBaseEngineExecuteParams, WithSignature };
1
+ import { _ as SignatureParamsOrSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as EngineWithdrawCollateralV2Params, h as EngineWithdrawCollateralParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineTransferQuoteV2Params, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithBaseEngineExecuteParams, y as WithSignature } from "../clientExecuteTypes-fh0QGFm3.js";
2
+ export { EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMintNlpParams, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EngineTransferQuoteParams, EngineTransferQuoteV2Params, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, SignatureParamsOrSignature, WithBaseEngineExecuteParams, WithSignature };
@@ -1,2 +1,2 @@
1
- import { $ as GetEngineSubaccountProductOrdersResponse, A as GetEngineMarketPriceResponse, B as GetEngineMaxWithdrawableResponse, C as GetEngineIsolatedPositionsParams, D as GetEngineMarketLiquidityParams, E as GetEngineLinkedSignerResponse, F as GetEngineMaxMintNlpAmountParams, G as GetEngineNoncesResponse, H as GetEngineNlpLockedBalancesResponse, I as GetEngineMaxMintNlpAmountResponse, J as GetEngineSubaccountFeeRatesParams, K as GetEngineOrderParams, L as GetEngineMaxOrderSizeParams, M as GetEngineMarketPricesResponse, N as GetEngineMaxBurnNlpAmountParams, O as GetEngineMarketLiquidityResponse, P as GetEngineMaxBurnNlpAmountResponse, Q as GetEngineSubaccountProductOrdersParams, R as GetEngineMaxOrderSizeResponse, S as GetEngineIpBlockStatusResponse, T as GetEngineLinkedSignerParams, U as GetEngineNlpPoolInfoResponse, V as GetEngineNlpLockedBalancesParams, W as GetEngineNoncesParams, X as GetEngineSubaccountOrdersParams, Y as GetEngineSubaccountFeeRatesResponse, Z as GetEngineSubaccountOrdersResponse, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as SubaccountIsolatedPosition, b as GetEngineHealthGroupsResponse, c as EnginePingResponse, ct as SubaccountSummaryState, d as EngineSymbol, dt as ValidateEngineOrderResponse, et as GetEngineSubaccountSummaryParams, f as EngineSymbolsResponse, ft as ValidateSignedEngineOrderParams, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, i as EngineNlpBalance, it as NlpPool, j as GetEngineMarketPricesParams, k as GetEngineMarketPriceParams, l as EnginePriceTickLiquidity, lt as SubaccountTx, m as GetEngineCachedBboHistoryParams, n as EngineCachedTimeParams, nt as GetEngineSymbolsParams, o as EngineOrder, ot as SubaccountOrderFeeRates, p as GetEngineAllMarketsResponse, q as GetEngineOrderResponse, r as EngineMarketPrice, rt as GetEngineTimeResponse, s as EnginePingParams, st as SubaccountProductDeltaTx, t as EngineBboHistorySample, tt as GetEngineSubaccountSummaryResponse, u as EngineSubaccountOrders, ut as ValidateEngineOrderParams, v as GetEngineCountryCodeResponse, w as GetEngineIsolatedPositionsResponse, x as GetEngineInsuranceResponse, y as GetEngineEstimatedSubaccountSummaryParams, z as GetEngineMaxWithdrawableParams } from "../clientQueryTypes-OyjAl55K.cjs";
2
- export { EngineBboHistorySample, EngineCachedTimeParams, EngineMarketPrice, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EnginePingParams, EnginePingResponse, EnginePriceTickLiquidity, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams };
1
+ import { $ as GetEngineSubaccountOrdersParams, A as GetEngineMarketLiquidityResponse, B as GetEngineMaxOrderSizeResponse, C as GetEngineInsuranceResponse, D as GetEngineLinkedSignerParams, E as GetEngineIsolatedPositionsResponse, F as GetEngineMaxBurnNlpAmountParams, G as GetEngineNlpLockedBalancesResponse, H as GetEngineMaxWithdrawableResponse, I as GetEngineMaxBurnNlpAmountResponse, J as GetEngineNoncesResponse, K as GetEngineNlpPoolInfoResponse, L as GetEngineMaxMintNlpAmountParams, M as GetEngineMarketPriceResponse, N as GetEngineMarketPricesParams, O as GetEngineLinkedSignerResponse, P as GetEngineMarketPricesResponse, Q as GetEngineSubaccountFeeRatesResponse, R as GetEngineMaxMintNlpAmountResponse, S as GetEngineHealthGroupsResponse, T as GetEngineIsolatedPositionsParams, U as GetEngineMaxWithdrawableWithDynamicFeeResponse, V as GetEngineMaxWithdrawableParams, W as GetEngineNlpLockedBalancesParams, X as GetEngineOrderResponse, Y as GetEngineOrderParams, Z as GetEngineSubaccountFeeRatesParams, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as GetEngineSymbolsParams, b as GetEngineDynamicFeeQuoteResponse, c as EnginePingResponse, ct as SubaccountIsolatedPosition, d as EngineSymbol, dt as SubaccountSummaryState, et as GetEngineSubaccountOrdersResponse, f as EngineSymbolsResponse, ft as SubaccountTx, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, ht as ValidateSignedEngineOrderParams, i as EngineNlpBalance, it as GetEngineSubaccountSummaryResponse, j as GetEngineMarketPriceParams, k as GetEngineMarketLiquidityParams, l as EnginePriceTickLiquidity, lt as SubaccountOrderFeeRates, m as GetEngineCachedBboHistoryParams, mt as ValidateEngineOrderResponse, n as EngineCachedTimeParams, nt as GetEngineSubaccountProductOrdersResponse, o as EngineOrder, ot as GetEngineTimeResponse, p as GetEngineAllMarketsResponse, pt as ValidateEngineOrderParams, q as GetEngineNoncesParams, r as EngineMarketPrice, rt as GetEngineSubaccountSummaryParams, s as EnginePingParams, st as NlpPool, t as EngineBboHistorySample, tt as GetEngineSubaccountProductOrdersParams, u as EngineSubaccountOrders, ut as SubaccountProductDeltaTx, v as GetEngineCountryCodeResponse, w as GetEngineIpBlockStatusResponse, x as GetEngineEstimatedSubaccountSummaryParams, y as GetEngineDynamicFeeQuoteParams, z as GetEngineMaxOrderSizeParams } from "../clientQueryTypes-86sEMdWH.cjs";
2
+ export { EngineBboHistorySample, EngineCachedTimeParams, EngineMarketPrice, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EnginePingParams, EnginePingResponse, EnginePriceTickLiquidity, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineDynamicFeeQuoteParams, GetEngineDynamicFeeQuoteResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineMaxWithdrawableWithDynamicFeeResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams };
@@ -1,2 +1,2 @@
1
- import { $ as GetEngineSubaccountProductOrdersResponse, A as GetEngineMarketPriceResponse, B as GetEngineMaxWithdrawableResponse, C as GetEngineIsolatedPositionsParams, D as GetEngineMarketLiquidityParams, E as GetEngineLinkedSignerResponse, F as GetEngineMaxMintNlpAmountParams, G as GetEngineNoncesResponse, H as GetEngineNlpLockedBalancesResponse, I as GetEngineMaxMintNlpAmountResponse, J as GetEngineSubaccountFeeRatesParams, K as GetEngineOrderParams, L as GetEngineMaxOrderSizeParams, M as GetEngineMarketPricesResponse, N as GetEngineMaxBurnNlpAmountParams, O as GetEngineMarketLiquidityResponse, P as GetEngineMaxBurnNlpAmountResponse, Q as GetEngineSubaccountProductOrdersParams, R as GetEngineMaxOrderSizeResponse, S as GetEngineIpBlockStatusResponse, T as GetEngineLinkedSignerParams, U as GetEngineNlpPoolInfoResponse, V as GetEngineNlpLockedBalancesParams, W as GetEngineNoncesParams, X as GetEngineSubaccountOrdersParams, Y as GetEngineSubaccountFeeRatesResponse, Z as GetEngineSubaccountOrdersResponse, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as SubaccountIsolatedPosition, b as GetEngineHealthGroupsResponse, c as EnginePingResponse, ct as SubaccountSummaryState, d as EngineSymbol, dt as ValidateEngineOrderResponse, et as GetEngineSubaccountSummaryParams, f as EngineSymbolsResponse, ft as ValidateSignedEngineOrderParams, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, i as EngineNlpBalance, it as NlpPool, j as GetEngineMarketPricesParams, k as GetEngineMarketPriceParams, l as EnginePriceTickLiquidity, lt as SubaccountTx, m as GetEngineCachedBboHistoryParams, n as EngineCachedTimeParams, nt as GetEngineSymbolsParams, o as EngineOrder, ot as SubaccountOrderFeeRates, p as GetEngineAllMarketsResponse, q as GetEngineOrderResponse, r as EngineMarketPrice, rt as GetEngineTimeResponse, s as EnginePingParams, st as SubaccountProductDeltaTx, t as EngineBboHistorySample, tt as GetEngineSubaccountSummaryResponse, u as EngineSubaccountOrders, ut as ValidateEngineOrderParams, v as GetEngineCountryCodeResponse, w as GetEngineIsolatedPositionsResponse, x as GetEngineInsuranceResponse, y as GetEngineEstimatedSubaccountSummaryParams, z as GetEngineMaxWithdrawableParams } from "../clientQueryTypes-dyLCw-ip.js";
2
- export { EngineBboHistorySample, EngineCachedTimeParams, EngineMarketPrice, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EnginePingParams, EnginePingResponse, EnginePriceTickLiquidity, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams };
1
+ import { $ as GetEngineSubaccountOrdersParams, A as GetEngineMarketLiquidityResponse, B as GetEngineMaxOrderSizeResponse, C as GetEngineInsuranceResponse, D as GetEngineLinkedSignerParams, E as GetEngineIsolatedPositionsResponse, F as GetEngineMaxBurnNlpAmountParams, G as GetEngineNlpLockedBalancesResponse, H as GetEngineMaxWithdrawableResponse, I as GetEngineMaxBurnNlpAmountResponse, J as GetEngineNoncesResponse, K as GetEngineNlpPoolInfoResponse, L as GetEngineMaxMintNlpAmountParams, M as GetEngineMarketPriceResponse, N as GetEngineMarketPricesParams, O as GetEngineLinkedSignerResponse, P as GetEngineMarketPricesResponse, Q as GetEngineSubaccountFeeRatesResponse, R as GetEngineMaxMintNlpAmountResponse, S as GetEngineHealthGroupsResponse, T as GetEngineIsolatedPositionsParams, U as GetEngineMaxWithdrawableWithDynamicFeeResponse, V as GetEngineMaxWithdrawableParams, W as GetEngineNlpLockedBalancesParams, X as GetEngineOrderResponse, Y as GetEngineOrderParams, Z as GetEngineSubaccountFeeRatesParams, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as GetEngineSymbolsParams, b as GetEngineDynamicFeeQuoteResponse, c as EnginePingResponse, ct as SubaccountIsolatedPosition, d as EngineSymbol, dt as SubaccountSummaryState, et as GetEngineSubaccountOrdersResponse, f as EngineSymbolsResponse, ft as SubaccountTx, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, ht as ValidateSignedEngineOrderParams, i as EngineNlpBalance, it as GetEngineSubaccountSummaryResponse, j as GetEngineMarketPriceParams, k as GetEngineMarketLiquidityParams, l as EnginePriceTickLiquidity, lt as SubaccountOrderFeeRates, m as GetEngineCachedBboHistoryParams, mt as ValidateEngineOrderResponse, n as EngineCachedTimeParams, nt as GetEngineSubaccountProductOrdersResponse, o as EngineOrder, ot as GetEngineTimeResponse, p as GetEngineAllMarketsResponse, pt as ValidateEngineOrderParams, q as GetEngineNoncesParams, r as EngineMarketPrice, rt as GetEngineSubaccountSummaryParams, s as EnginePingParams, st as NlpPool, t as EngineBboHistorySample, tt as GetEngineSubaccountProductOrdersParams, u as EngineSubaccountOrders, ut as SubaccountProductDeltaTx, v as GetEngineCountryCodeResponse, w as GetEngineIpBlockStatusResponse, x as GetEngineEstimatedSubaccountSummaryParams, y as GetEngineDynamicFeeQuoteParams, z as GetEngineMaxOrderSizeParams } from "../clientQueryTypes-BRmW-hwV.js";
2
+ export { EngineBboHistorySample, EngineCachedTimeParams, EngineMarketPrice, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EnginePingParams, EnginePingResponse, EnginePriceTickLiquidity, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineDynamicFeeQuoteParams, GetEngineDynamicFeeQuoteResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineMaxWithdrawableWithDynamicFeeResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams };
@@ -253,7 +253,9 @@ const ENGINE_ERROR_CODES = {
253
253
  /** Maximum of 10 isolated positions reached. */
254
254
  ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,
255
255
  /** No eligible trigger found for the dependency digest. */
256
- NO_ELIGIBLE_TRIGGER: 2126
256
+ NO_ELIGIBLE_TRIGGER: 2126,
257
+ /** Dynamic fee at execution exceeded `max_fee_x18`; re-quote and resubmit. */
258
+ FEE_TOO_LOW: 2135
257
259
  };
258
260
  //#endregion
259
261
  exports.ENGINE_ERROR_CODES = ENGINE_ERROR_CODES;
@@ -1 +1 @@
1
- {"version":3,"file":"engineErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/engineErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the engine service API. Codes shared across all Nado backend\n * services (see {@link NADO_ERROR_CODES}) are inlined via spread; engine-specific codes are in\n * the 2xxx range and come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`).\n *\n * These codes are returned in the `error_code` field of both `/query` and `/execute` failure\n * responses — see {@link EngineServerQueryFailureResponse} and\n * {@link EngineServerExecuteFailureResult}. The trigger service reuses the same 2xxx codes via\n * {@link TRIGGER_ERROR_CODES}.\n */\nexport const ENGINE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n\n // *** Query/Execute errors (2xxx) — engine & trigger ***\n /** Order price not divisible by the market's price increment. */\n INVALID_PRICE_INCREMENT: 2000,\n /** Order amount not divisible by the market's size increment. */\n INVALID_AMOUNT_INCREMENT: 2001,\n /** Order amount is zero. */\n ZERO_AMOUNT: 2002,\n /** Order amount is below the market's minimum size. */\n ORDER_AMOUNT_TOO_SMALL: 2003,\n /** Order has already expired. */\n ORDER_EXPIRED: 2004,\n /** Maximum open orders limit reached for the market. */\n MAX_ORDERS_LIMIT_REACHED: 2005,\n /** Order would lower account health below the required threshold. */\n UNHEALTHY_ORDER: 2006,\n /** Order price is outside the allowed oracle price deviation range. */\n ORACLE_PRICE_DIFFERENCE: 2007,\n /** Post-only order would cross the book. */\n POST_ONLY_ORDER_CROSSES_BOOK: 2008,\n /** Order type is not supported. */\n ORDER_TYPE_NOT_SUPPORTED: 2009,\n /** Taker health checks failed at match time. */\n INVALID_TAKER: 2010,\n /** Request received after its `recv_time`. */\n LATE_RECV_EXECUTION: 2011,\n /** Request received more than 100s before its `recv_time`. */\n EARLY_RECV_EXECUTION: 2012,\n /** An order with the same digest already exists. */\n DIGEST_ALREADY_EXISTS: 2013,\n /** Cancellation request targets an order from a different subaccount. */\n UNAUTHORIZED_SUBACCOUNT_CANCELLATION: 2014,\n /** Market for the given product/ticker ID was not found. */\n MARKET_NOT_FOUND: 2015,\n /** Invalid product ID. */\n INVALID_PRODUCT_ID: 2016,\n /** Spot execute without leverage would exceed the borrow limit. */\n SPOT_EXECUTE_EXCEEDS_BORROW_LIMIT: 2017,\n /** Product ID must refer to a spot market. */\n INVALID_SPOT_PRODUCT_ID: 2018,\n /** Spot leverage flag applied to a non-spot product. */\n INAPPROPRIATE_SPOT_LEVERAGE: 2019,\n /** Order with the given digest was not found. */\n ORDER_NOT_FOUND: 2020,\n /** Address risk too high. */\n ADDRESS_RISK_TOO_HIGH: 2021,\n /** Invalid nonce. */\n INVALID_NONCE: 2022,\n /** Address risk screening is still pending. */\n ADDRESS_SCREENING_PENDING: 2023,\n /** Address has no prior deposits. */\n NO_PRIOR_DEPOSIT: 2024,\n /** Single-signature session requires a minimum account value. */\n SINGLE_SIGNATURE_INSUFFICIENT_ACCOUNT_VALUE: 2025,\n /** Attempted to link the same signer address twice. */\n DUPLICATE_SIGNER_LINKING: 2026,\n /** Signature is the wrong length. */\n SIGNATURE_LENGTH: 2027,\n // 2028 INVALID_SIGNER is in NADO_ERROR_CODES (shared across all signed services).\n /** Signer address cannot be zero. */\n INVALID_SIGNER_ZERO: 2029,\n /** Linked signer update rate limit exceeded. */\n LINKED_SIGNER_UPDATE_LIMIT_EXCEEDED: 2030,\n /** Fill-or-kill order could not be fully filled. */\n FILL_OR_KILL_NOT_FILLED: 2031,\n /** No sender field in the signed payload. */\n SENDER_MISSING_IN_PAYLOAD: 2032,\n /** No nonce field in the signed payload. */\n NONCE_MISSING_IN_PAYLOAD: 2033,\n /** Invalid signature `v` value. */\n INVALID_SIGNATURE_V: 2034,\n /** Generic signature verification error. */\n SIGNATURE_ERROR: 2035,\n /** Subaccount health is too low for the operation. */\n SUBACCOUNT_HEALTH_TOO_LOW: 2036,\n /** Attempted to burn more LP tokens than owned. */\n EXCESSIVE_LP_TOKEN_BURN: 2037,\n /** Invalid execute message format. */\n INVALID_EXECUTE_MESSAGE: 2038,\n /** digests and product_ids arrays have mismatched lengths. */\n MISMATCHED_DIGESTS_AND_PRODUCT_IDS_LENGTH: 2039,\n /** Invalid boolean value in the request. */\n INVALID_BOOL: 2040,\n /** Rebate execute subaccounts/amounts arrays have mismatched lengths. */\n REBATE_EXECUTE_FORMATTING: 2041,\n /** Account is not eligible for liquidation. */\n NOT_LIQUIDATABLE: 2042,\n /** Liquidator's health is too low. */\n LIQUIDATOR_HEALTH_TOO_LOW: 2043,\n /** Liquidation amount exceeds the available amount. */\n LIQUIDATION_AMOUNT_TOO_MUCH: 2044,\n /** Invalid liquidation parameters. */\n INVALID_LIQUIDATION_PARAMETERS: 2045,\n /** Perp liquidation amount not divisible by size increment. */\n PERP_LIQUIDATION_SIZE_INCREMENT_MISMATCH: 2046,\n /** Liquidation amount is too small, too large, or has a sign mismatch. */\n INVALID_LIQUIDATION_AMOUNT: 2047,\n /** Cannot liquidate liabilities before perps. */\n LIABILITIES_BEFORE_PERPS_LIQUIDATION_ATTEMPT: 2048,\n /** ERC20 transfer failed on-chain. */\n TRANSFER_FAILED: 2049,\n /** Action is not authorized for the sender. */\n UNAUTHORIZED_ACTION: 2050,\n /** Subaccount is not eligible for finalization. */\n NOT_FINALIZABLE_SUBACCOUNT: 2051,\n /** Maker subaccount is invalid or failed the risk check. */\n INVALID_MAKER: 2052,\n /** Internal matching error: orders cannot be matched. */\n ORDERS_CANNOT_BE_MATCHED: 2053,\n /** Slippage exceeds the allowed maximum. */\n SLIPPAGE_TOO_HIGH: 2054,\n /** Price must be greater than zero. */\n INVALID_PRICE: 2055,\n /** Immediate-or-cancel order does not cross the book. */\n IMMEDIATE_OR_CANCEL_DOES_NOT_CROSS: 2056,\n /** Maximum trigger orders limit reached for the subaccount. */\n MAX_TRIGGER_ORDERS_LIMIT_REACHED: 2057,\n /** Trigger order with the given digest was not found. */\n TRIGGER_ORDER_NOT_FOUND: 2058,\n /** Submitted order is not a trigger order. */\n NOT_TRIGGER_ORDER: 2059,\n /** product_ids contains invalid or duplicate products. */\n INVALID_PRODUCT_IDS: 2060,\n /** product_type must be 'spot' or 'perp'. */\n INVALID_PRODUCT_TYPE: 2061,\n /** product_ids is empty. */\n MISSING_PRODUCT_IDS: 2062,\n /** Invalid query response. */\n INVALID_QUERY_RESPONSE: 2063,\n /** Reduce-only order would increase the position. */\n REDUCE_ONLY_INCREASES_POSITION: 2064,\n /** Bits 15-64 of the order appendix must be unset. */\n INVALID_APPENDIX_BITS: 2065,\n /** Cancel-and-place request has mismatched sender/signer between cancel and place. */\n CANCEL_AND_PLACE_DIFFERENT_SENDER_OR_SIGNER: 2066,\n /** Only taker orders can be reduce-only. */\n REDUCE_ONLY_NOT_TAKER: 2067,\n /** Invalid timestamp in spot/perp tick. */\n INVALID_TIME: 2068,\n /** Trading is blocked for this market. */\n MARKET_TRADING_BLOCKED: 2069,\n /** Market has reached its maximum open interest. */\n MARKET_MAX_OPEN_INTEREST: 2070,\n /** Product is at maximum utilization. */\n MAX_UTILIZATION: 2071,\n /** Order batch exceeds the maximum batch size. */\n ORDER_BATCH_EXCEED_LIMIT: 2072,\n /** Self-match (matching against own order) is not allowed. */\n SELF_MATCH_NOT_ALLOWED: 2073,\n /** Product IDs in the request do not match. */\n MISMATCHED_PRODUCT_IDS: 2074,\n // 2075-2076 are reserved/skipped in the backend.\n /** Transfer quote amount is below the 5 USDT0 minimum. */\n TRANSFER_QUOTE_AMOUNT_TOO_SMALL: 2077,\n /** New recipient limit for transfer quotes exceeded; wait 24h. */\n TRANSFER_QUOTE_NEW_RECIPIENT_LIMIT_EXCEEDED: 2078,\n /** Self-transfer quote is not allowed. */\n SELF_TRANSFER_QUOTE_NOT_ALLOWED: 2079,\n /** WebSocket requires `permessage-deflate` compression header. */\n WEBSOCKET_COMPRESSION_REQUIRED: 2080,\n /** Isolated subaccount cannot place orders. */\n ISOLATED_SUBACCOUNT_CANNOT_PLACE_ORDER: 2081,\n /** Invalid product ID for an isolated subaccount. */\n ISOLATED_SUBACCOUNT_INVALID_PRODUCT: 2082,\n /** Isolated orders cannot be placed on spot markets. */\n INVALID_ISOLATED_SPOT_ORDER: 2083,\n // 2084-2085 are reserved/skipped in the backend.\n /** Isolated margin must be non-negative. */\n INVALID_ISOLATED_MARGIN: 2086,\n /** Failed to create an isolated subaccount. */\n FAILED_TO_CREATE_ISOLATED_SUBACCOUNT: 2087,\n // 2088 is reserved/skipped in the backend.\n /** Cannot link a signer to an isolated subaccount. */\n INVALID_LINK_SIGNER_SENDER: 2089,\n /** NLP mint amount is below the 1 USDT0 minimum. */\n MINT_NLP_AMOUNT_TOO_SMALL: 2090,\n /** Order amount is too large. */\n AMOUNT_TOO_LARGE: 2091,\n /** N_ACCOUNT health is too low. */\n N_ACCOUNT_HEALTH_TOO_LOW: 2092,\n /** Cannot execute on a non-canonical chain. */\n NOT_CANONICAL_CHAIN: 2093,\n /** Order notional (amount * price) is below the minimum size. */\n ORDER_SIZE_TOO_SMALL: 2094,\n /** Order version in the appendix does not match the expected version. */\n INVALID_ORDER_VERSION: 2095,\n /** Not enough unlocked NLP to perform the operation. */\n UNLOCKED_NLP_INSUFFICIENT: 2096,\n /** Invalid trigger order appendix. */\n INVALID_TRIGGER_ORDER: 2097,\n /** Invalid TWAP order configuration. */\n INVALID_TWAP: 2098,\n /** TWAP order must be immediate-or-cancel. */\n INVALID_TWAP_ORDER_TYPE: 2099,\n /** TWAP number of times is out of range. */\n INVALID_TWAP_TIMES: 2100,\n /** TWAP amount is not divisible by the number of times. */\n INVALID_TWAP_AMOUNT_DISTRIBUTION: 2101,\n /** TWAP expiration exceeds the 25-hour maximum. */\n INVALID_TWAP_EXPIRATION: 2102,\n /** TWAP interval is out of range. */\n INVALID_TWAP_INTERVAL: 2103,\n /** TWAP total duration exceeds 86400 seconds. */\n INVALID_TWAP_TOTAL_DURATION: 2104,\n /** TWAP expiration is before the minimum required time. */\n INVALID_TWAP_EXPIRATION_TIMING: 2105,\n /** TWAP random configuration flags are mismatched. */\n INVALID_TWAP_RANDOM_CONFIGURATION: 2106,\n /** TWAP amount is zero or has a sign mismatch. */\n INVALID_TWAP_AMOUNT: 2107,\n /** TWAP individual amounts do not sum to the order amount. */\n INVALID_TWAP_AMOUNTS_SUM: 2108,\n /** TWAP trigger_amount configuration is mismatched. */\n INVALID_TWAP_TRIGGER_AMOUNT_CONFIGURATION: 2109,\n /** TWAP orders cannot be isolated. */\n INVALID_TWAP_ISOLATED: 2110,\n /** Cannot place more than 50 orders in a single batch. */\n MAX_ORDER_LIMIT_EXCEEDED: 2111,\n /** NLP pool accounts cannot place isolated orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_ISOLATED_ORDER: 2112,\n /** NLP pool accounts cannot place trigger orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_TRIGGER_ORDER: 2113,\n /** Batch orders must have the same sender. */\n BATCH_SENDER_MISMATCH: 2114,\n /** Liquidation was frontrun by an NLP account. */\n LIQUIDATION_FRONTRUN_BY_NLP: 2115,\n /** NLP burn amount is less than or equal to the burning fee. */\n BURN_NLP_AMOUNT_TOO_SMALL: 2116,\n /** Market is in post-only mode. */\n MARKET_POST_ONLY_MODE: 2117,\n /** Invalid builder ID or builder fee. */\n INVALID_BUILDER: 2118,\n /** Market is in reduce-only mode. */\n MARKET_REDUCE_ONLY_MODE: 2119,\n /** Cancel-and-place: place was aborted because the cancel was partially filled. */\n CANCEL_AND_PLACE_ORDER_FILLED: 2120,\n /** Cancel-and-place: place was aborted because the cancel failed. */\n CANCEL_AND_PLACE_CANCEL_FAILED: 2121,\n /** Market is in isolated-only mode. */\n MARKET_ISOLATED_ONLY_MODE: 2122,\n /** `required_unfilled_amount` is only valid for single-order cancellations. */\n REQUIRED_AMOUNT_MULTIPLE_CANCEL_ORDERS: 2123,\n /** Cancel order amount does not match the order's amount. */\n CANCEL_ORDER_AMOUNT_MISMATCH: 2124,\n /** Maximum of 10 isolated positions reached. */\n ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,\n /** No eligible trigger found for the dependency digest. */\n NO_ELIGIBLE_TRIGGER: 2126,\n} as const;\n\n/**\n * Union of all known engine service API error codes.\n */\nexport type EngineErrorCode =\n (typeof ENGINE_ERROR_CODES)[keyof typeof ENGINE_ERROR_CODES];\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;;CAIH,yBAAyB;;CAEzB,0BAA0B;;CAE1B,aAAa;;CAEb,wBAAwB;;CAExB,eAAe;;CAEf,0BAA0B;;CAE1B,iBAAiB;;CAEjB,yBAAyB;;CAEzB,8BAA8B;;CAE9B,0BAA0B;;CAE1B,eAAe;;CAEf,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,sCAAsC;;CAEtC,kBAAkB;;CAElB,oBAAoB;;CAEpB,mCAAmC;;CAEnC,yBAAyB;;CAEzB,6BAA6B;;CAE7B,iBAAiB;;CAEjB,uBAAuB;;CAEvB,eAAe;;CAEf,2BAA2B;;CAE3B,kBAAkB;;CAElB,6CAA6C;;CAE7C,0BAA0B;;CAE1B,kBAAkB;;CAGlB,qBAAqB;;CAErB,qCAAqC;;CAErC,yBAAyB;;CAEzB,2BAA2B;;CAE3B,0BAA0B;;CAE1B,qBAAqB;;CAErB,iBAAiB;;CAEjB,2BAA2B;;CAE3B,yBAAyB;;CAEzB,yBAAyB;;CAEzB,2CAA2C;;CAE3C,cAAc;;CAEd,2BAA2B;;CAE3B,kBAAkB;;CAElB,2BAA2B;;CAE3B,6BAA6B;;CAE7B,gCAAgC;;CAEhC,0CAA0C;;CAE1C,4BAA4B;;CAE5B,8CAA8C;;CAE9C,iBAAiB;;CAEjB,qBAAqB;;CAErB,4BAA4B;;CAE5B,eAAe;;CAEf,0BAA0B;;CAE1B,mBAAmB;;CAEnB,eAAe;;CAEf,oCAAoC;;CAEpC,kCAAkC;;CAElC,yBAAyB;;CAEzB,mBAAmB;;CAEnB,qBAAqB;;CAErB,sBAAsB;;CAEtB,qBAAqB;;CAErB,wBAAwB;;CAExB,gCAAgC;;CAEhC,uBAAuB;;CAEvB,6CAA6C;;CAE7C,uBAAuB;;CAEvB,cAAc;;CAEd,wBAAwB;;CAExB,0BAA0B;;CAE1B,iBAAiB;;CAEjB,0BAA0B;;CAE1B,wBAAwB;;CAExB,wBAAwB;;CAGxB,iCAAiC;;CAEjC,6CAA6C;;CAE7C,iCAAiC;;CAEjC,gCAAgC;;CAEhC,wCAAwC;;CAExC,qCAAqC;;CAErC,6BAA6B;;CAG7B,yBAAyB;;CAEzB,sCAAsC;;CAGtC,4BAA4B;;CAE5B,2BAA2B;;CAE3B,kBAAkB;;CAElB,0BAA0B;;CAE1B,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,2BAA2B;;CAE3B,uBAAuB;;CAEvB,cAAc;;CAEd,yBAAyB;;CAEzB,oBAAoB;;CAEpB,kCAAkC;;CAElC,yBAAyB;;CAEzB,uBAAuB;;CAEvB,6BAA6B;;CAE7B,gCAAgC;;CAEhC,mCAAmC;;CAEnC,qBAAqB;;CAErB,0BAA0B;;CAE1B,2CAA2C;;CAE3C,uBAAuB;;CAEvB,0BAA0B;;CAE1B,+CAA+C;;CAE/C,8CAA8C;;CAE9C,uBAAuB;;CAEvB,6BAA6B;;CAE7B,2BAA2B;;CAE3B,uBAAuB;;CAEvB,iBAAiB;;CAEjB,yBAAyB;;CAEzB,+BAA+B;;CAE/B,gCAAgC;;CAEhC,2BAA2B;;CAE3B,wCAAwC;;CAExC,8BAA8B;;CAE9B,mCAAmC;;CAEnC,qBAAqB;AACvB"}
1
+ {"version":3,"file":"engineErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/engineErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the engine service API. Codes shared across all Nado backend\n * services (see {@link NADO_ERROR_CODES}) are inlined via spread; engine-specific codes are in\n * the 2xxx range and come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`).\n *\n * These codes are returned in the `error_code` field of both `/query` and `/execute` failure\n * responses — see {@link EngineServerQueryFailureResponse} and\n * {@link EngineServerExecuteFailureResult}. The trigger service reuses the same 2xxx codes via\n * {@link TRIGGER_ERROR_CODES}.\n */\nexport const ENGINE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n\n // *** Query/Execute errors (2xxx) — engine & trigger ***\n /** Order price not divisible by the market's price increment. */\n INVALID_PRICE_INCREMENT: 2000,\n /** Order amount not divisible by the market's size increment. */\n INVALID_AMOUNT_INCREMENT: 2001,\n /** Order amount is zero. */\n ZERO_AMOUNT: 2002,\n /** Order amount is below the market's minimum size. */\n ORDER_AMOUNT_TOO_SMALL: 2003,\n /** Order has already expired. */\n ORDER_EXPIRED: 2004,\n /** Maximum open orders limit reached for the market. */\n MAX_ORDERS_LIMIT_REACHED: 2005,\n /** Order would lower account health below the required threshold. */\n UNHEALTHY_ORDER: 2006,\n /** Order price is outside the allowed oracle price deviation range. */\n ORACLE_PRICE_DIFFERENCE: 2007,\n /** Post-only order would cross the book. */\n POST_ONLY_ORDER_CROSSES_BOOK: 2008,\n /** Order type is not supported. */\n ORDER_TYPE_NOT_SUPPORTED: 2009,\n /** Taker health checks failed at match time. */\n INVALID_TAKER: 2010,\n /** Request received after its `recv_time`. */\n LATE_RECV_EXECUTION: 2011,\n /** Request received more than 100s before its `recv_time`. */\n EARLY_RECV_EXECUTION: 2012,\n /** An order with the same digest already exists. */\n DIGEST_ALREADY_EXISTS: 2013,\n /** Cancellation request targets an order from a different subaccount. */\n UNAUTHORIZED_SUBACCOUNT_CANCELLATION: 2014,\n /** Market for the given product/ticker ID was not found. */\n MARKET_NOT_FOUND: 2015,\n /** Invalid product ID. */\n INVALID_PRODUCT_ID: 2016,\n /** Spot execute without leverage would exceed the borrow limit. */\n SPOT_EXECUTE_EXCEEDS_BORROW_LIMIT: 2017,\n /** Product ID must refer to a spot market. */\n INVALID_SPOT_PRODUCT_ID: 2018,\n /** Spot leverage flag applied to a non-spot product. */\n INAPPROPRIATE_SPOT_LEVERAGE: 2019,\n /** Order with the given digest was not found. */\n ORDER_NOT_FOUND: 2020,\n /** Address risk too high. */\n ADDRESS_RISK_TOO_HIGH: 2021,\n /** Invalid nonce. */\n INVALID_NONCE: 2022,\n /** Address risk screening is still pending. */\n ADDRESS_SCREENING_PENDING: 2023,\n /** Address has no prior deposits. */\n NO_PRIOR_DEPOSIT: 2024,\n /** Single-signature session requires a minimum account value. */\n SINGLE_SIGNATURE_INSUFFICIENT_ACCOUNT_VALUE: 2025,\n /** Attempted to link the same signer address twice. */\n DUPLICATE_SIGNER_LINKING: 2026,\n /** Signature is the wrong length. */\n SIGNATURE_LENGTH: 2027,\n // 2028 INVALID_SIGNER is in NADO_ERROR_CODES (shared across all signed services).\n /** Signer address cannot be zero. */\n INVALID_SIGNER_ZERO: 2029,\n /** Linked signer update rate limit exceeded. */\n LINKED_SIGNER_UPDATE_LIMIT_EXCEEDED: 2030,\n /** Fill-or-kill order could not be fully filled. */\n FILL_OR_KILL_NOT_FILLED: 2031,\n /** No sender field in the signed payload. */\n SENDER_MISSING_IN_PAYLOAD: 2032,\n /** No nonce field in the signed payload. */\n NONCE_MISSING_IN_PAYLOAD: 2033,\n /** Invalid signature `v` value. */\n INVALID_SIGNATURE_V: 2034,\n /** Generic signature verification error. */\n SIGNATURE_ERROR: 2035,\n /** Subaccount health is too low for the operation. */\n SUBACCOUNT_HEALTH_TOO_LOW: 2036,\n /** Attempted to burn more LP tokens than owned. */\n EXCESSIVE_LP_TOKEN_BURN: 2037,\n /** Invalid execute message format. */\n INVALID_EXECUTE_MESSAGE: 2038,\n /** digests and product_ids arrays have mismatched lengths. */\n MISMATCHED_DIGESTS_AND_PRODUCT_IDS_LENGTH: 2039,\n /** Invalid boolean value in the request. */\n INVALID_BOOL: 2040,\n /** Rebate execute subaccounts/amounts arrays have mismatched lengths. */\n REBATE_EXECUTE_FORMATTING: 2041,\n /** Account is not eligible for liquidation. */\n NOT_LIQUIDATABLE: 2042,\n /** Liquidator's health is too low. */\n LIQUIDATOR_HEALTH_TOO_LOW: 2043,\n /** Liquidation amount exceeds the available amount. */\n LIQUIDATION_AMOUNT_TOO_MUCH: 2044,\n /** Invalid liquidation parameters. */\n INVALID_LIQUIDATION_PARAMETERS: 2045,\n /** Perp liquidation amount not divisible by size increment. */\n PERP_LIQUIDATION_SIZE_INCREMENT_MISMATCH: 2046,\n /** Liquidation amount is too small, too large, or has a sign mismatch. */\n INVALID_LIQUIDATION_AMOUNT: 2047,\n /** Cannot liquidate liabilities before perps. */\n LIABILITIES_BEFORE_PERPS_LIQUIDATION_ATTEMPT: 2048,\n /** ERC20 transfer failed on-chain. */\n TRANSFER_FAILED: 2049,\n /** Action is not authorized for the sender. */\n UNAUTHORIZED_ACTION: 2050,\n /** Subaccount is not eligible for finalization. */\n NOT_FINALIZABLE_SUBACCOUNT: 2051,\n /** Maker subaccount is invalid or failed the risk check. */\n INVALID_MAKER: 2052,\n /** Internal matching error: orders cannot be matched. */\n ORDERS_CANNOT_BE_MATCHED: 2053,\n /** Slippage exceeds the allowed maximum. */\n SLIPPAGE_TOO_HIGH: 2054,\n /** Price must be greater than zero. */\n INVALID_PRICE: 2055,\n /** Immediate-or-cancel order does not cross the book. */\n IMMEDIATE_OR_CANCEL_DOES_NOT_CROSS: 2056,\n /** Maximum trigger orders limit reached for the subaccount. */\n MAX_TRIGGER_ORDERS_LIMIT_REACHED: 2057,\n /** Trigger order with the given digest was not found. */\n TRIGGER_ORDER_NOT_FOUND: 2058,\n /** Submitted order is not a trigger order. */\n NOT_TRIGGER_ORDER: 2059,\n /** product_ids contains invalid or duplicate products. */\n INVALID_PRODUCT_IDS: 2060,\n /** product_type must be 'spot' or 'perp'. */\n INVALID_PRODUCT_TYPE: 2061,\n /** product_ids is empty. */\n MISSING_PRODUCT_IDS: 2062,\n /** Invalid query response. */\n INVALID_QUERY_RESPONSE: 2063,\n /** Reduce-only order would increase the position. */\n REDUCE_ONLY_INCREASES_POSITION: 2064,\n /** Bits 15-64 of the order appendix must be unset. */\n INVALID_APPENDIX_BITS: 2065,\n /** Cancel-and-place request has mismatched sender/signer between cancel and place. */\n CANCEL_AND_PLACE_DIFFERENT_SENDER_OR_SIGNER: 2066,\n /** Only taker orders can be reduce-only. */\n REDUCE_ONLY_NOT_TAKER: 2067,\n /** Invalid timestamp in spot/perp tick. */\n INVALID_TIME: 2068,\n /** Trading is blocked for this market. */\n MARKET_TRADING_BLOCKED: 2069,\n /** Market has reached its maximum open interest. */\n MARKET_MAX_OPEN_INTEREST: 2070,\n /** Product is at maximum utilization. */\n MAX_UTILIZATION: 2071,\n /** Order batch exceeds the maximum batch size. */\n ORDER_BATCH_EXCEED_LIMIT: 2072,\n /** Self-match (matching against own order) is not allowed. */\n SELF_MATCH_NOT_ALLOWED: 2073,\n /** Product IDs in the request do not match. */\n MISMATCHED_PRODUCT_IDS: 2074,\n // 2075-2076 are reserved/skipped in the backend.\n /** Transfer quote amount is below the 5 USDT0 minimum. */\n TRANSFER_QUOTE_AMOUNT_TOO_SMALL: 2077,\n /** New recipient limit for transfer quotes exceeded; wait 24h. */\n TRANSFER_QUOTE_NEW_RECIPIENT_LIMIT_EXCEEDED: 2078,\n /** Self-transfer quote is not allowed. */\n SELF_TRANSFER_QUOTE_NOT_ALLOWED: 2079,\n /** WebSocket requires `permessage-deflate` compression header. */\n WEBSOCKET_COMPRESSION_REQUIRED: 2080,\n /** Isolated subaccount cannot place orders. */\n ISOLATED_SUBACCOUNT_CANNOT_PLACE_ORDER: 2081,\n /** Invalid product ID for an isolated subaccount. */\n ISOLATED_SUBACCOUNT_INVALID_PRODUCT: 2082,\n /** Isolated orders cannot be placed on spot markets. */\n INVALID_ISOLATED_SPOT_ORDER: 2083,\n // 2084-2085 are reserved/skipped in the backend.\n /** Isolated margin must be non-negative. */\n INVALID_ISOLATED_MARGIN: 2086,\n /** Failed to create an isolated subaccount. */\n FAILED_TO_CREATE_ISOLATED_SUBACCOUNT: 2087,\n // 2088 is reserved/skipped in the backend.\n /** Cannot link a signer to an isolated subaccount. */\n INVALID_LINK_SIGNER_SENDER: 2089,\n /** NLP mint amount is below the 1 USDT0 minimum. */\n MINT_NLP_AMOUNT_TOO_SMALL: 2090,\n /** Order amount is too large. */\n AMOUNT_TOO_LARGE: 2091,\n /** N_ACCOUNT health is too low. */\n N_ACCOUNT_HEALTH_TOO_LOW: 2092,\n /** Cannot execute on a non-canonical chain. */\n NOT_CANONICAL_CHAIN: 2093,\n /** Order notional (amount * price) is below the minimum size. */\n ORDER_SIZE_TOO_SMALL: 2094,\n /** Order version in the appendix does not match the expected version. */\n INVALID_ORDER_VERSION: 2095,\n /** Not enough unlocked NLP to perform the operation. */\n UNLOCKED_NLP_INSUFFICIENT: 2096,\n /** Invalid trigger order appendix. */\n INVALID_TRIGGER_ORDER: 2097,\n /** Invalid TWAP order configuration. */\n INVALID_TWAP: 2098,\n /** TWAP order must be immediate-or-cancel. */\n INVALID_TWAP_ORDER_TYPE: 2099,\n /** TWAP number of times is out of range. */\n INVALID_TWAP_TIMES: 2100,\n /** TWAP amount is not divisible by the number of times. */\n INVALID_TWAP_AMOUNT_DISTRIBUTION: 2101,\n /** TWAP expiration exceeds the 25-hour maximum. */\n INVALID_TWAP_EXPIRATION: 2102,\n /** TWAP interval is out of range. */\n INVALID_TWAP_INTERVAL: 2103,\n /** TWAP total duration exceeds 86400 seconds. */\n INVALID_TWAP_TOTAL_DURATION: 2104,\n /** TWAP expiration is before the minimum required time. */\n INVALID_TWAP_EXPIRATION_TIMING: 2105,\n /** TWAP random configuration flags are mismatched. */\n INVALID_TWAP_RANDOM_CONFIGURATION: 2106,\n /** TWAP amount is zero or has a sign mismatch. */\n INVALID_TWAP_AMOUNT: 2107,\n /** TWAP individual amounts do not sum to the order amount. */\n INVALID_TWAP_AMOUNTS_SUM: 2108,\n /** TWAP trigger_amount configuration is mismatched. */\n INVALID_TWAP_TRIGGER_AMOUNT_CONFIGURATION: 2109,\n /** TWAP orders cannot be isolated. */\n INVALID_TWAP_ISOLATED: 2110,\n /** Cannot place more than 50 orders in a single batch. */\n MAX_ORDER_LIMIT_EXCEEDED: 2111,\n /** NLP pool accounts cannot place isolated orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_ISOLATED_ORDER: 2112,\n /** NLP pool accounts cannot place trigger orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_TRIGGER_ORDER: 2113,\n /** Batch orders must have the same sender. */\n BATCH_SENDER_MISMATCH: 2114,\n /** Liquidation was frontrun by an NLP account. */\n LIQUIDATION_FRONTRUN_BY_NLP: 2115,\n /** NLP burn amount is less than or equal to the burning fee. */\n BURN_NLP_AMOUNT_TOO_SMALL: 2116,\n /** Market is in post-only mode. */\n MARKET_POST_ONLY_MODE: 2117,\n /** Invalid builder ID or builder fee. */\n INVALID_BUILDER: 2118,\n /** Market is in reduce-only mode. */\n MARKET_REDUCE_ONLY_MODE: 2119,\n /** Cancel-and-place: place was aborted because the cancel was partially filled. */\n CANCEL_AND_PLACE_ORDER_FILLED: 2120,\n /** Cancel-and-place: place was aborted because the cancel failed. */\n CANCEL_AND_PLACE_CANCEL_FAILED: 2121,\n /** Market is in isolated-only mode. */\n MARKET_ISOLATED_ONLY_MODE: 2122,\n /** `required_unfilled_amount` is only valid for single-order cancellations. */\n REQUIRED_AMOUNT_MULTIPLE_CANCEL_ORDERS: 2123,\n /** Cancel order amount does not match the order's amount. */\n CANCEL_ORDER_AMOUNT_MISMATCH: 2124,\n /** Maximum of 10 isolated positions reached. */\n ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,\n /** No eligible trigger found for the dependency digest. */\n NO_ELIGIBLE_TRIGGER: 2126,\n /** Dynamic fee at execution exceeded `max_fee_x18`; re-quote and resubmit. */\n FEE_TOO_LOW: 2135,\n} as const;\n\n/**\n * Union of all known engine service API error codes.\n */\nexport type EngineErrorCode =\n (typeof ENGINE_ERROR_CODES)[keyof typeof ENGINE_ERROR_CODES];\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;;CAIH,yBAAyB;;CAEzB,0BAA0B;;CAE1B,aAAa;;CAEb,wBAAwB;;CAExB,eAAe;;CAEf,0BAA0B;;CAE1B,iBAAiB;;CAEjB,yBAAyB;;CAEzB,8BAA8B;;CAE9B,0BAA0B;;CAE1B,eAAe;;CAEf,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,sCAAsC;;CAEtC,kBAAkB;;CAElB,oBAAoB;;CAEpB,mCAAmC;;CAEnC,yBAAyB;;CAEzB,6BAA6B;;CAE7B,iBAAiB;;CAEjB,uBAAuB;;CAEvB,eAAe;;CAEf,2BAA2B;;CAE3B,kBAAkB;;CAElB,6CAA6C;;CAE7C,0BAA0B;;CAE1B,kBAAkB;;CAGlB,qBAAqB;;CAErB,qCAAqC;;CAErC,yBAAyB;;CAEzB,2BAA2B;;CAE3B,0BAA0B;;CAE1B,qBAAqB;;CAErB,iBAAiB;;CAEjB,2BAA2B;;CAE3B,yBAAyB;;CAEzB,yBAAyB;;CAEzB,2CAA2C;;CAE3C,cAAc;;CAEd,2BAA2B;;CAE3B,kBAAkB;;CAElB,2BAA2B;;CAE3B,6BAA6B;;CAE7B,gCAAgC;;CAEhC,0CAA0C;;CAE1C,4BAA4B;;CAE5B,8CAA8C;;CAE9C,iBAAiB;;CAEjB,qBAAqB;;CAErB,4BAA4B;;CAE5B,eAAe;;CAEf,0BAA0B;;CAE1B,mBAAmB;;CAEnB,eAAe;;CAEf,oCAAoC;;CAEpC,kCAAkC;;CAElC,yBAAyB;;CAEzB,mBAAmB;;CAEnB,qBAAqB;;CAErB,sBAAsB;;CAEtB,qBAAqB;;CAErB,wBAAwB;;CAExB,gCAAgC;;CAEhC,uBAAuB;;CAEvB,6CAA6C;;CAE7C,uBAAuB;;CAEvB,cAAc;;CAEd,wBAAwB;;CAExB,0BAA0B;;CAE1B,iBAAiB;;CAEjB,0BAA0B;;CAE1B,wBAAwB;;CAExB,wBAAwB;;CAGxB,iCAAiC;;CAEjC,6CAA6C;;CAE7C,iCAAiC;;CAEjC,gCAAgC;;CAEhC,wCAAwC;;CAExC,qCAAqC;;CAErC,6BAA6B;;CAG7B,yBAAyB;;CAEzB,sCAAsC;;CAGtC,4BAA4B;;CAE5B,2BAA2B;;CAE3B,kBAAkB;;CAElB,0BAA0B;;CAE1B,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,2BAA2B;;CAE3B,uBAAuB;;CAEvB,cAAc;;CAEd,yBAAyB;;CAEzB,oBAAoB;;CAEpB,kCAAkC;;CAElC,yBAAyB;;CAEzB,uBAAuB;;CAEvB,6BAA6B;;CAE7B,gCAAgC;;CAEhC,mCAAmC;;CAEnC,qBAAqB;;CAErB,0BAA0B;;CAE1B,2CAA2C;;CAE3C,uBAAuB;;CAEvB,0BAA0B;;CAE1B,+CAA+C;;CAE/C,8CAA8C;;CAE9C,uBAAuB;;CAEvB,6BAA6B;;CAE7B,2BAA2B;;CAE3B,uBAAuB;;CAEvB,iBAAiB;;CAEjB,yBAAyB;;CAEzB,+BAA+B;;CAE/B,gCAAgC;;CAEhC,2BAA2B;;CAE3B,wCAAwC;;CAExC,8BAA8B;;CAE9B,mCAAmC;;CAEnC,qBAAqB;;CAErB,aAAa;AACf"}
@@ -1,2 +1,2 @@
1
- import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-CLqQyhgn.cjs";
1
+ import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-T0t1nfq2.cjs";
2
2
  export { ENGINE_ERROR_CODES, EngineErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-CLqQyhgn.js";
1
+ import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-T0t1nfq2.js";
2
2
  export { ENGINE_ERROR_CODES, EngineErrorCode };
@@ -253,7 +253,9 @@ const ENGINE_ERROR_CODES = {
253
253
  /** Maximum of 10 isolated positions reached. */
254
254
  ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,
255
255
  /** No eligible trigger found for the dependency digest. */
256
- NO_ELIGIBLE_TRIGGER: 2126
256
+ NO_ELIGIBLE_TRIGGER: 2126,
257
+ /** Dynamic fee at execution exceeded `max_fee_x18`; re-quote and resubmit. */
258
+ FEE_TOO_LOW: 2135
257
259
  };
258
260
  //#endregion
259
261
  export { ENGINE_ERROR_CODES };
@@ -1 +1 @@
1
- {"version":3,"file":"engineErrorCodes.js","names":[],"sources":["../../src/types/engineErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the engine service API. Codes shared across all Nado backend\n * services (see {@link NADO_ERROR_CODES}) are inlined via spread; engine-specific codes are in\n * the 2xxx range and come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`).\n *\n * These codes are returned in the `error_code` field of both `/query` and `/execute` failure\n * responses — see {@link EngineServerQueryFailureResponse} and\n * {@link EngineServerExecuteFailureResult}. The trigger service reuses the same 2xxx codes via\n * {@link TRIGGER_ERROR_CODES}.\n */\nexport const ENGINE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n\n // *** Query/Execute errors (2xxx) — engine & trigger ***\n /** Order price not divisible by the market's price increment. */\n INVALID_PRICE_INCREMENT: 2000,\n /** Order amount not divisible by the market's size increment. */\n INVALID_AMOUNT_INCREMENT: 2001,\n /** Order amount is zero. */\n ZERO_AMOUNT: 2002,\n /** Order amount is below the market's minimum size. */\n ORDER_AMOUNT_TOO_SMALL: 2003,\n /** Order has already expired. */\n ORDER_EXPIRED: 2004,\n /** Maximum open orders limit reached for the market. */\n MAX_ORDERS_LIMIT_REACHED: 2005,\n /** Order would lower account health below the required threshold. */\n UNHEALTHY_ORDER: 2006,\n /** Order price is outside the allowed oracle price deviation range. */\n ORACLE_PRICE_DIFFERENCE: 2007,\n /** Post-only order would cross the book. */\n POST_ONLY_ORDER_CROSSES_BOOK: 2008,\n /** Order type is not supported. */\n ORDER_TYPE_NOT_SUPPORTED: 2009,\n /** Taker health checks failed at match time. */\n INVALID_TAKER: 2010,\n /** Request received after its `recv_time`. */\n LATE_RECV_EXECUTION: 2011,\n /** Request received more than 100s before its `recv_time`. */\n EARLY_RECV_EXECUTION: 2012,\n /** An order with the same digest already exists. */\n DIGEST_ALREADY_EXISTS: 2013,\n /** Cancellation request targets an order from a different subaccount. */\n UNAUTHORIZED_SUBACCOUNT_CANCELLATION: 2014,\n /** Market for the given product/ticker ID was not found. */\n MARKET_NOT_FOUND: 2015,\n /** Invalid product ID. */\n INVALID_PRODUCT_ID: 2016,\n /** Spot execute without leverage would exceed the borrow limit. */\n SPOT_EXECUTE_EXCEEDS_BORROW_LIMIT: 2017,\n /** Product ID must refer to a spot market. */\n INVALID_SPOT_PRODUCT_ID: 2018,\n /** Spot leverage flag applied to a non-spot product. */\n INAPPROPRIATE_SPOT_LEVERAGE: 2019,\n /** Order with the given digest was not found. */\n ORDER_NOT_FOUND: 2020,\n /** Address risk too high. */\n ADDRESS_RISK_TOO_HIGH: 2021,\n /** Invalid nonce. */\n INVALID_NONCE: 2022,\n /** Address risk screening is still pending. */\n ADDRESS_SCREENING_PENDING: 2023,\n /** Address has no prior deposits. */\n NO_PRIOR_DEPOSIT: 2024,\n /** Single-signature session requires a minimum account value. */\n SINGLE_SIGNATURE_INSUFFICIENT_ACCOUNT_VALUE: 2025,\n /** Attempted to link the same signer address twice. */\n DUPLICATE_SIGNER_LINKING: 2026,\n /** Signature is the wrong length. */\n SIGNATURE_LENGTH: 2027,\n // 2028 INVALID_SIGNER is in NADO_ERROR_CODES (shared across all signed services).\n /** Signer address cannot be zero. */\n INVALID_SIGNER_ZERO: 2029,\n /** Linked signer update rate limit exceeded. */\n LINKED_SIGNER_UPDATE_LIMIT_EXCEEDED: 2030,\n /** Fill-or-kill order could not be fully filled. */\n FILL_OR_KILL_NOT_FILLED: 2031,\n /** No sender field in the signed payload. */\n SENDER_MISSING_IN_PAYLOAD: 2032,\n /** No nonce field in the signed payload. */\n NONCE_MISSING_IN_PAYLOAD: 2033,\n /** Invalid signature `v` value. */\n INVALID_SIGNATURE_V: 2034,\n /** Generic signature verification error. */\n SIGNATURE_ERROR: 2035,\n /** Subaccount health is too low for the operation. */\n SUBACCOUNT_HEALTH_TOO_LOW: 2036,\n /** Attempted to burn more LP tokens than owned. */\n EXCESSIVE_LP_TOKEN_BURN: 2037,\n /** Invalid execute message format. */\n INVALID_EXECUTE_MESSAGE: 2038,\n /** digests and product_ids arrays have mismatched lengths. */\n MISMATCHED_DIGESTS_AND_PRODUCT_IDS_LENGTH: 2039,\n /** Invalid boolean value in the request. */\n INVALID_BOOL: 2040,\n /** Rebate execute subaccounts/amounts arrays have mismatched lengths. */\n REBATE_EXECUTE_FORMATTING: 2041,\n /** Account is not eligible for liquidation. */\n NOT_LIQUIDATABLE: 2042,\n /** Liquidator's health is too low. */\n LIQUIDATOR_HEALTH_TOO_LOW: 2043,\n /** Liquidation amount exceeds the available amount. */\n LIQUIDATION_AMOUNT_TOO_MUCH: 2044,\n /** Invalid liquidation parameters. */\n INVALID_LIQUIDATION_PARAMETERS: 2045,\n /** Perp liquidation amount not divisible by size increment. */\n PERP_LIQUIDATION_SIZE_INCREMENT_MISMATCH: 2046,\n /** Liquidation amount is too small, too large, or has a sign mismatch. */\n INVALID_LIQUIDATION_AMOUNT: 2047,\n /** Cannot liquidate liabilities before perps. */\n LIABILITIES_BEFORE_PERPS_LIQUIDATION_ATTEMPT: 2048,\n /** ERC20 transfer failed on-chain. */\n TRANSFER_FAILED: 2049,\n /** Action is not authorized for the sender. */\n UNAUTHORIZED_ACTION: 2050,\n /** Subaccount is not eligible for finalization. */\n NOT_FINALIZABLE_SUBACCOUNT: 2051,\n /** Maker subaccount is invalid or failed the risk check. */\n INVALID_MAKER: 2052,\n /** Internal matching error: orders cannot be matched. */\n ORDERS_CANNOT_BE_MATCHED: 2053,\n /** Slippage exceeds the allowed maximum. */\n SLIPPAGE_TOO_HIGH: 2054,\n /** Price must be greater than zero. */\n INVALID_PRICE: 2055,\n /** Immediate-or-cancel order does not cross the book. */\n IMMEDIATE_OR_CANCEL_DOES_NOT_CROSS: 2056,\n /** Maximum trigger orders limit reached for the subaccount. */\n MAX_TRIGGER_ORDERS_LIMIT_REACHED: 2057,\n /** Trigger order with the given digest was not found. */\n TRIGGER_ORDER_NOT_FOUND: 2058,\n /** Submitted order is not a trigger order. */\n NOT_TRIGGER_ORDER: 2059,\n /** product_ids contains invalid or duplicate products. */\n INVALID_PRODUCT_IDS: 2060,\n /** product_type must be 'spot' or 'perp'. */\n INVALID_PRODUCT_TYPE: 2061,\n /** product_ids is empty. */\n MISSING_PRODUCT_IDS: 2062,\n /** Invalid query response. */\n INVALID_QUERY_RESPONSE: 2063,\n /** Reduce-only order would increase the position. */\n REDUCE_ONLY_INCREASES_POSITION: 2064,\n /** Bits 15-64 of the order appendix must be unset. */\n INVALID_APPENDIX_BITS: 2065,\n /** Cancel-and-place request has mismatched sender/signer between cancel and place. */\n CANCEL_AND_PLACE_DIFFERENT_SENDER_OR_SIGNER: 2066,\n /** Only taker orders can be reduce-only. */\n REDUCE_ONLY_NOT_TAKER: 2067,\n /** Invalid timestamp in spot/perp tick. */\n INVALID_TIME: 2068,\n /** Trading is blocked for this market. */\n MARKET_TRADING_BLOCKED: 2069,\n /** Market has reached its maximum open interest. */\n MARKET_MAX_OPEN_INTEREST: 2070,\n /** Product is at maximum utilization. */\n MAX_UTILIZATION: 2071,\n /** Order batch exceeds the maximum batch size. */\n ORDER_BATCH_EXCEED_LIMIT: 2072,\n /** Self-match (matching against own order) is not allowed. */\n SELF_MATCH_NOT_ALLOWED: 2073,\n /** Product IDs in the request do not match. */\n MISMATCHED_PRODUCT_IDS: 2074,\n // 2075-2076 are reserved/skipped in the backend.\n /** Transfer quote amount is below the 5 USDT0 minimum. */\n TRANSFER_QUOTE_AMOUNT_TOO_SMALL: 2077,\n /** New recipient limit for transfer quotes exceeded; wait 24h. */\n TRANSFER_QUOTE_NEW_RECIPIENT_LIMIT_EXCEEDED: 2078,\n /** Self-transfer quote is not allowed. */\n SELF_TRANSFER_QUOTE_NOT_ALLOWED: 2079,\n /** WebSocket requires `permessage-deflate` compression header. */\n WEBSOCKET_COMPRESSION_REQUIRED: 2080,\n /** Isolated subaccount cannot place orders. */\n ISOLATED_SUBACCOUNT_CANNOT_PLACE_ORDER: 2081,\n /** Invalid product ID for an isolated subaccount. */\n ISOLATED_SUBACCOUNT_INVALID_PRODUCT: 2082,\n /** Isolated orders cannot be placed on spot markets. */\n INVALID_ISOLATED_SPOT_ORDER: 2083,\n // 2084-2085 are reserved/skipped in the backend.\n /** Isolated margin must be non-negative. */\n INVALID_ISOLATED_MARGIN: 2086,\n /** Failed to create an isolated subaccount. */\n FAILED_TO_CREATE_ISOLATED_SUBACCOUNT: 2087,\n // 2088 is reserved/skipped in the backend.\n /** Cannot link a signer to an isolated subaccount. */\n INVALID_LINK_SIGNER_SENDER: 2089,\n /** NLP mint amount is below the 1 USDT0 minimum. */\n MINT_NLP_AMOUNT_TOO_SMALL: 2090,\n /** Order amount is too large. */\n AMOUNT_TOO_LARGE: 2091,\n /** N_ACCOUNT health is too low. */\n N_ACCOUNT_HEALTH_TOO_LOW: 2092,\n /** Cannot execute on a non-canonical chain. */\n NOT_CANONICAL_CHAIN: 2093,\n /** Order notional (amount * price) is below the minimum size. */\n ORDER_SIZE_TOO_SMALL: 2094,\n /** Order version in the appendix does not match the expected version. */\n INVALID_ORDER_VERSION: 2095,\n /** Not enough unlocked NLP to perform the operation. */\n UNLOCKED_NLP_INSUFFICIENT: 2096,\n /** Invalid trigger order appendix. */\n INVALID_TRIGGER_ORDER: 2097,\n /** Invalid TWAP order configuration. */\n INVALID_TWAP: 2098,\n /** TWAP order must be immediate-or-cancel. */\n INVALID_TWAP_ORDER_TYPE: 2099,\n /** TWAP number of times is out of range. */\n INVALID_TWAP_TIMES: 2100,\n /** TWAP amount is not divisible by the number of times. */\n INVALID_TWAP_AMOUNT_DISTRIBUTION: 2101,\n /** TWAP expiration exceeds the 25-hour maximum. */\n INVALID_TWAP_EXPIRATION: 2102,\n /** TWAP interval is out of range. */\n INVALID_TWAP_INTERVAL: 2103,\n /** TWAP total duration exceeds 86400 seconds. */\n INVALID_TWAP_TOTAL_DURATION: 2104,\n /** TWAP expiration is before the minimum required time. */\n INVALID_TWAP_EXPIRATION_TIMING: 2105,\n /** TWAP random configuration flags are mismatched. */\n INVALID_TWAP_RANDOM_CONFIGURATION: 2106,\n /** TWAP amount is zero or has a sign mismatch. */\n INVALID_TWAP_AMOUNT: 2107,\n /** TWAP individual amounts do not sum to the order amount. */\n INVALID_TWAP_AMOUNTS_SUM: 2108,\n /** TWAP trigger_amount configuration is mismatched. */\n INVALID_TWAP_TRIGGER_AMOUNT_CONFIGURATION: 2109,\n /** TWAP orders cannot be isolated. */\n INVALID_TWAP_ISOLATED: 2110,\n /** Cannot place more than 50 orders in a single batch. */\n MAX_ORDER_LIMIT_EXCEEDED: 2111,\n /** NLP pool accounts cannot place isolated orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_ISOLATED_ORDER: 2112,\n /** NLP pool accounts cannot place trigger orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_TRIGGER_ORDER: 2113,\n /** Batch orders must have the same sender. */\n BATCH_SENDER_MISMATCH: 2114,\n /** Liquidation was frontrun by an NLP account. */\n LIQUIDATION_FRONTRUN_BY_NLP: 2115,\n /** NLP burn amount is less than or equal to the burning fee. */\n BURN_NLP_AMOUNT_TOO_SMALL: 2116,\n /** Market is in post-only mode. */\n MARKET_POST_ONLY_MODE: 2117,\n /** Invalid builder ID or builder fee. */\n INVALID_BUILDER: 2118,\n /** Market is in reduce-only mode. */\n MARKET_REDUCE_ONLY_MODE: 2119,\n /** Cancel-and-place: place was aborted because the cancel was partially filled. */\n CANCEL_AND_PLACE_ORDER_FILLED: 2120,\n /** Cancel-and-place: place was aborted because the cancel failed. */\n CANCEL_AND_PLACE_CANCEL_FAILED: 2121,\n /** Market is in isolated-only mode. */\n MARKET_ISOLATED_ONLY_MODE: 2122,\n /** `required_unfilled_amount` is only valid for single-order cancellations. */\n REQUIRED_AMOUNT_MULTIPLE_CANCEL_ORDERS: 2123,\n /** Cancel order amount does not match the order's amount. */\n CANCEL_ORDER_AMOUNT_MISMATCH: 2124,\n /** Maximum of 10 isolated positions reached. */\n ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,\n /** No eligible trigger found for the dependency digest. */\n NO_ELIGIBLE_TRIGGER: 2126,\n} as const;\n\n/**\n * Union of all known engine service API error codes.\n */\nexport type EngineErrorCode =\n (typeof ENGINE_ERROR_CODES)[keyof typeof ENGINE_ERROR_CODES];\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,qBAAqB;CAChC,GAAG;;CAIH,yBAAyB;;CAEzB,0BAA0B;;CAE1B,aAAa;;CAEb,wBAAwB;;CAExB,eAAe;;CAEf,0BAA0B;;CAE1B,iBAAiB;;CAEjB,yBAAyB;;CAEzB,8BAA8B;;CAE9B,0BAA0B;;CAE1B,eAAe;;CAEf,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,sCAAsC;;CAEtC,kBAAkB;;CAElB,oBAAoB;;CAEpB,mCAAmC;;CAEnC,yBAAyB;;CAEzB,6BAA6B;;CAE7B,iBAAiB;;CAEjB,uBAAuB;;CAEvB,eAAe;;CAEf,2BAA2B;;CAE3B,kBAAkB;;CAElB,6CAA6C;;CAE7C,0BAA0B;;CAE1B,kBAAkB;;CAGlB,qBAAqB;;CAErB,qCAAqC;;CAErC,yBAAyB;;CAEzB,2BAA2B;;CAE3B,0BAA0B;;CAE1B,qBAAqB;;CAErB,iBAAiB;;CAEjB,2BAA2B;;CAE3B,yBAAyB;;CAEzB,yBAAyB;;CAEzB,2CAA2C;;CAE3C,cAAc;;CAEd,2BAA2B;;CAE3B,kBAAkB;;CAElB,2BAA2B;;CAE3B,6BAA6B;;CAE7B,gCAAgC;;CAEhC,0CAA0C;;CAE1C,4BAA4B;;CAE5B,8CAA8C;;CAE9C,iBAAiB;;CAEjB,qBAAqB;;CAErB,4BAA4B;;CAE5B,eAAe;;CAEf,0BAA0B;;CAE1B,mBAAmB;;CAEnB,eAAe;;CAEf,oCAAoC;;CAEpC,kCAAkC;;CAElC,yBAAyB;;CAEzB,mBAAmB;;CAEnB,qBAAqB;;CAErB,sBAAsB;;CAEtB,qBAAqB;;CAErB,wBAAwB;;CAExB,gCAAgC;;CAEhC,uBAAuB;;CAEvB,6CAA6C;;CAE7C,uBAAuB;;CAEvB,cAAc;;CAEd,wBAAwB;;CAExB,0BAA0B;;CAE1B,iBAAiB;;CAEjB,0BAA0B;;CAE1B,wBAAwB;;CAExB,wBAAwB;;CAGxB,iCAAiC;;CAEjC,6CAA6C;;CAE7C,iCAAiC;;CAEjC,gCAAgC;;CAEhC,wCAAwC;;CAExC,qCAAqC;;CAErC,6BAA6B;;CAG7B,yBAAyB;;CAEzB,sCAAsC;;CAGtC,4BAA4B;;CAE5B,2BAA2B;;CAE3B,kBAAkB;;CAElB,0BAA0B;;CAE1B,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,2BAA2B;;CAE3B,uBAAuB;;CAEvB,cAAc;;CAEd,yBAAyB;;CAEzB,oBAAoB;;CAEpB,kCAAkC;;CAElC,yBAAyB;;CAEzB,uBAAuB;;CAEvB,6BAA6B;;CAE7B,gCAAgC;;CAEhC,mCAAmC;;CAEnC,qBAAqB;;CAErB,0BAA0B;;CAE1B,2CAA2C;;CAE3C,uBAAuB;;CAEvB,0BAA0B;;CAE1B,+CAA+C;;CAE/C,8CAA8C;;CAE9C,uBAAuB;;CAEvB,6BAA6B;;CAE7B,2BAA2B;;CAE3B,uBAAuB;;CAEvB,iBAAiB;;CAEjB,yBAAyB;;CAEzB,+BAA+B;;CAE/B,gCAAgC;;CAEhC,2BAA2B;;CAE3B,wCAAwC;;CAExC,8BAA8B;;CAE9B,mCAAmC;;CAEnC,qBAAqB;AACvB"}
1
+ {"version":3,"file":"engineErrorCodes.js","names":[],"sources":["../../src/types/engineErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the engine service API. Codes shared across all Nado backend\n * services (see {@link NADO_ERROR_CODES}) are inlined via spread; engine-specific codes are in\n * the 2xxx range and come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`).\n *\n * These codes are returned in the `error_code` field of both `/query` and `/execute` failure\n * responses — see {@link EngineServerQueryFailureResponse} and\n * {@link EngineServerExecuteFailureResult}. The trigger service reuses the same 2xxx codes via\n * {@link TRIGGER_ERROR_CODES}.\n */\nexport const ENGINE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n\n // *** Query/Execute errors (2xxx) — engine & trigger ***\n /** Order price not divisible by the market's price increment. */\n INVALID_PRICE_INCREMENT: 2000,\n /** Order amount not divisible by the market's size increment. */\n INVALID_AMOUNT_INCREMENT: 2001,\n /** Order amount is zero. */\n ZERO_AMOUNT: 2002,\n /** Order amount is below the market's minimum size. */\n ORDER_AMOUNT_TOO_SMALL: 2003,\n /** Order has already expired. */\n ORDER_EXPIRED: 2004,\n /** Maximum open orders limit reached for the market. */\n MAX_ORDERS_LIMIT_REACHED: 2005,\n /** Order would lower account health below the required threshold. */\n UNHEALTHY_ORDER: 2006,\n /** Order price is outside the allowed oracle price deviation range. */\n ORACLE_PRICE_DIFFERENCE: 2007,\n /** Post-only order would cross the book. */\n POST_ONLY_ORDER_CROSSES_BOOK: 2008,\n /** Order type is not supported. */\n ORDER_TYPE_NOT_SUPPORTED: 2009,\n /** Taker health checks failed at match time. */\n INVALID_TAKER: 2010,\n /** Request received after its `recv_time`. */\n LATE_RECV_EXECUTION: 2011,\n /** Request received more than 100s before its `recv_time`. */\n EARLY_RECV_EXECUTION: 2012,\n /** An order with the same digest already exists. */\n DIGEST_ALREADY_EXISTS: 2013,\n /** Cancellation request targets an order from a different subaccount. */\n UNAUTHORIZED_SUBACCOUNT_CANCELLATION: 2014,\n /** Market for the given product/ticker ID was not found. */\n MARKET_NOT_FOUND: 2015,\n /** Invalid product ID. */\n INVALID_PRODUCT_ID: 2016,\n /** Spot execute without leverage would exceed the borrow limit. */\n SPOT_EXECUTE_EXCEEDS_BORROW_LIMIT: 2017,\n /** Product ID must refer to a spot market. */\n INVALID_SPOT_PRODUCT_ID: 2018,\n /** Spot leverage flag applied to a non-spot product. */\n INAPPROPRIATE_SPOT_LEVERAGE: 2019,\n /** Order with the given digest was not found. */\n ORDER_NOT_FOUND: 2020,\n /** Address risk too high. */\n ADDRESS_RISK_TOO_HIGH: 2021,\n /** Invalid nonce. */\n INVALID_NONCE: 2022,\n /** Address risk screening is still pending. */\n ADDRESS_SCREENING_PENDING: 2023,\n /** Address has no prior deposits. */\n NO_PRIOR_DEPOSIT: 2024,\n /** Single-signature session requires a minimum account value. */\n SINGLE_SIGNATURE_INSUFFICIENT_ACCOUNT_VALUE: 2025,\n /** Attempted to link the same signer address twice. */\n DUPLICATE_SIGNER_LINKING: 2026,\n /** Signature is the wrong length. */\n SIGNATURE_LENGTH: 2027,\n // 2028 INVALID_SIGNER is in NADO_ERROR_CODES (shared across all signed services).\n /** Signer address cannot be zero. */\n INVALID_SIGNER_ZERO: 2029,\n /** Linked signer update rate limit exceeded. */\n LINKED_SIGNER_UPDATE_LIMIT_EXCEEDED: 2030,\n /** Fill-or-kill order could not be fully filled. */\n FILL_OR_KILL_NOT_FILLED: 2031,\n /** No sender field in the signed payload. */\n SENDER_MISSING_IN_PAYLOAD: 2032,\n /** No nonce field in the signed payload. */\n NONCE_MISSING_IN_PAYLOAD: 2033,\n /** Invalid signature `v` value. */\n INVALID_SIGNATURE_V: 2034,\n /** Generic signature verification error. */\n SIGNATURE_ERROR: 2035,\n /** Subaccount health is too low for the operation. */\n SUBACCOUNT_HEALTH_TOO_LOW: 2036,\n /** Attempted to burn more LP tokens than owned. */\n EXCESSIVE_LP_TOKEN_BURN: 2037,\n /** Invalid execute message format. */\n INVALID_EXECUTE_MESSAGE: 2038,\n /** digests and product_ids arrays have mismatched lengths. */\n MISMATCHED_DIGESTS_AND_PRODUCT_IDS_LENGTH: 2039,\n /** Invalid boolean value in the request. */\n INVALID_BOOL: 2040,\n /** Rebate execute subaccounts/amounts arrays have mismatched lengths. */\n REBATE_EXECUTE_FORMATTING: 2041,\n /** Account is not eligible for liquidation. */\n NOT_LIQUIDATABLE: 2042,\n /** Liquidator's health is too low. */\n LIQUIDATOR_HEALTH_TOO_LOW: 2043,\n /** Liquidation amount exceeds the available amount. */\n LIQUIDATION_AMOUNT_TOO_MUCH: 2044,\n /** Invalid liquidation parameters. */\n INVALID_LIQUIDATION_PARAMETERS: 2045,\n /** Perp liquidation amount not divisible by size increment. */\n PERP_LIQUIDATION_SIZE_INCREMENT_MISMATCH: 2046,\n /** Liquidation amount is too small, too large, or has a sign mismatch. */\n INVALID_LIQUIDATION_AMOUNT: 2047,\n /** Cannot liquidate liabilities before perps. */\n LIABILITIES_BEFORE_PERPS_LIQUIDATION_ATTEMPT: 2048,\n /** ERC20 transfer failed on-chain. */\n TRANSFER_FAILED: 2049,\n /** Action is not authorized for the sender. */\n UNAUTHORIZED_ACTION: 2050,\n /** Subaccount is not eligible for finalization. */\n NOT_FINALIZABLE_SUBACCOUNT: 2051,\n /** Maker subaccount is invalid or failed the risk check. */\n INVALID_MAKER: 2052,\n /** Internal matching error: orders cannot be matched. */\n ORDERS_CANNOT_BE_MATCHED: 2053,\n /** Slippage exceeds the allowed maximum. */\n SLIPPAGE_TOO_HIGH: 2054,\n /** Price must be greater than zero. */\n INVALID_PRICE: 2055,\n /** Immediate-or-cancel order does not cross the book. */\n IMMEDIATE_OR_CANCEL_DOES_NOT_CROSS: 2056,\n /** Maximum trigger orders limit reached for the subaccount. */\n MAX_TRIGGER_ORDERS_LIMIT_REACHED: 2057,\n /** Trigger order with the given digest was not found. */\n TRIGGER_ORDER_NOT_FOUND: 2058,\n /** Submitted order is not a trigger order. */\n NOT_TRIGGER_ORDER: 2059,\n /** product_ids contains invalid or duplicate products. */\n INVALID_PRODUCT_IDS: 2060,\n /** product_type must be 'spot' or 'perp'. */\n INVALID_PRODUCT_TYPE: 2061,\n /** product_ids is empty. */\n MISSING_PRODUCT_IDS: 2062,\n /** Invalid query response. */\n INVALID_QUERY_RESPONSE: 2063,\n /** Reduce-only order would increase the position. */\n REDUCE_ONLY_INCREASES_POSITION: 2064,\n /** Bits 15-64 of the order appendix must be unset. */\n INVALID_APPENDIX_BITS: 2065,\n /** Cancel-and-place request has mismatched sender/signer between cancel and place. */\n CANCEL_AND_PLACE_DIFFERENT_SENDER_OR_SIGNER: 2066,\n /** Only taker orders can be reduce-only. */\n REDUCE_ONLY_NOT_TAKER: 2067,\n /** Invalid timestamp in spot/perp tick. */\n INVALID_TIME: 2068,\n /** Trading is blocked for this market. */\n MARKET_TRADING_BLOCKED: 2069,\n /** Market has reached its maximum open interest. */\n MARKET_MAX_OPEN_INTEREST: 2070,\n /** Product is at maximum utilization. */\n MAX_UTILIZATION: 2071,\n /** Order batch exceeds the maximum batch size. */\n ORDER_BATCH_EXCEED_LIMIT: 2072,\n /** Self-match (matching against own order) is not allowed. */\n SELF_MATCH_NOT_ALLOWED: 2073,\n /** Product IDs in the request do not match. */\n MISMATCHED_PRODUCT_IDS: 2074,\n // 2075-2076 are reserved/skipped in the backend.\n /** Transfer quote amount is below the 5 USDT0 minimum. */\n TRANSFER_QUOTE_AMOUNT_TOO_SMALL: 2077,\n /** New recipient limit for transfer quotes exceeded; wait 24h. */\n TRANSFER_QUOTE_NEW_RECIPIENT_LIMIT_EXCEEDED: 2078,\n /** Self-transfer quote is not allowed. */\n SELF_TRANSFER_QUOTE_NOT_ALLOWED: 2079,\n /** WebSocket requires `permessage-deflate` compression header. */\n WEBSOCKET_COMPRESSION_REQUIRED: 2080,\n /** Isolated subaccount cannot place orders. */\n ISOLATED_SUBACCOUNT_CANNOT_PLACE_ORDER: 2081,\n /** Invalid product ID for an isolated subaccount. */\n ISOLATED_SUBACCOUNT_INVALID_PRODUCT: 2082,\n /** Isolated orders cannot be placed on spot markets. */\n INVALID_ISOLATED_SPOT_ORDER: 2083,\n // 2084-2085 are reserved/skipped in the backend.\n /** Isolated margin must be non-negative. */\n INVALID_ISOLATED_MARGIN: 2086,\n /** Failed to create an isolated subaccount. */\n FAILED_TO_CREATE_ISOLATED_SUBACCOUNT: 2087,\n // 2088 is reserved/skipped in the backend.\n /** Cannot link a signer to an isolated subaccount. */\n INVALID_LINK_SIGNER_SENDER: 2089,\n /** NLP mint amount is below the 1 USDT0 minimum. */\n MINT_NLP_AMOUNT_TOO_SMALL: 2090,\n /** Order amount is too large. */\n AMOUNT_TOO_LARGE: 2091,\n /** N_ACCOUNT health is too low. */\n N_ACCOUNT_HEALTH_TOO_LOW: 2092,\n /** Cannot execute on a non-canonical chain. */\n NOT_CANONICAL_CHAIN: 2093,\n /** Order notional (amount * price) is below the minimum size. */\n ORDER_SIZE_TOO_SMALL: 2094,\n /** Order version in the appendix does not match the expected version. */\n INVALID_ORDER_VERSION: 2095,\n /** Not enough unlocked NLP to perform the operation. */\n UNLOCKED_NLP_INSUFFICIENT: 2096,\n /** Invalid trigger order appendix. */\n INVALID_TRIGGER_ORDER: 2097,\n /** Invalid TWAP order configuration. */\n INVALID_TWAP: 2098,\n /** TWAP order must be immediate-or-cancel. */\n INVALID_TWAP_ORDER_TYPE: 2099,\n /** TWAP number of times is out of range. */\n INVALID_TWAP_TIMES: 2100,\n /** TWAP amount is not divisible by the number of times. */\n INVALID_TWAP_AMOUNT_DISTRIBUTION: 2101,\n /** TWAP expiration exceeds the 25-hour maximum. */\n INVALID_TWAP_EXPIRATION: 2102,\n /** TWAP interval is out of range. */\n INVALID_TWAP_INTERVAL: 2103,\n /** TWAP total duration exceeds 86400 seconds. */\n INVALID_TWAP_TOTAL_DURATION: 2104,\n /** TWAP expiration is before the minimum required time. */\n INVALID_TWAP_EXPIRATION_TIMING: 2105,\n /** TWAP random configuration flags are mismatched. */\n INVALID_TWAP_RANDOM_CONFIGURATION: 2106,\n /** TWAP amount is zero or has a sign mismatch. */\n INVALID_TWAP_AMOUNT: 2107,\n /** TWAP individual amounts do not sum to the order amount. */\n INVALID_TWAP_AMOUNTS_SUM: 2108,\n /** TWAP trigger_amount configuration is mismatched. */\n INVALID_TWAP_TRIGGER_AMOUNT_CONFIGURATION: 2109,\n /** TWAP orders cannot be isolated. */\n INVALID_TWAP_ISOLATED: 2110,\n /** Cannot place more than 50 orders in a single batch. */\n MAX_ORDER_LIMIT_EXCEEDED: 2111,\n /** NLP pool accounts cannot place isolated orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_ISOLATED_ORDER: 2112,\n /** NLP pool accounts cannot place trigger orders. */\n NLP_POOL_ACCOUNTS_CANNOT_PLACE_TRIGGER_ORDER: 2113,\n /** Batch orders must have the same sender. */\n BATCH_SENDER_MISMATCH: 2114,\n /** Liquidation was frontrun by an NLP account. */\n LIQUIDATION_FRONTRUN_BY_NLP: 2115,\n /** NLP burn amount is less than or equal to the burning fee. */\n BURN_NLP_AMOUNT_TOO_SMALL: 2116,\n /** Market is in post-only mode. */\n MARKET_POST_ONLY_MODE: 2117,\n /** Invalid builder ID or builder fee. */\n INVALID_BUILDER: 2118,\n /** Market is in reduce-only mode. */\n MARKET_REDUCE_ONLY_MODE: 2119,\n /** Cancel-and-place: place was aborted because the cancel was partially filled. */\n CANCEL_AND_PLACE_ORDER_FILLED: 2120,\n /** Cancel-and-place: place was aborted because the cancel failed. */\n CANCEL_AND_PLACE_CANCEL_FAILED: 2121,\n /** Market is in isolated-only mode. */\n MARKET_ISOLATED_ONLY_MODE: 2122,\n /** `required_unfilled_amount` is only valid for single-order cancellations. */\n REQUIRED_AMOUNT_MULTIPLE_CANCEL_ORDERS: 2123,\n /** Cancel order amount does not match the order's amount. */\n CANCEL_ORDER_AMOUNT_MISMATCH: 2124,\n /** Maximum of 10 isolated positions reached. */\n ISOLATED_SUBACCOUNT_LIMIT_REACHED: 2125,\n /** No eligible trigger found for the dependency digest. */\n NO_ELIGIBLE_TRIGGER: 2126,\n /** Dynamic fee at execution exceeded `max_fee_x18`; re-quote and resubmit. */\n FEE_TOO_LOW: 2135,\n} as const;\n\n/**\n * Union of all known engine service API error codes.\n */\nexport type EngineErrorCode =\n (typeof ENGINE_ERROR_CODES)[keyof typeof ENGINE_ERROR_CODES];\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,qBAAqB;CAChC,GAAG;;CAIH,yBAAyB;;CAEzB,0BAA0B;;CAE1B,aAAa;;CAEb,wBAAwB;;CAExB,eAAe;;CAEf,0BAA0B;;CAE1B,iBAAiB;;CAEjB,yBAAyB;;CAEzB,8BAA8B;;CAE9B,0BAA0B;;CAE1B,eAAe;;CAEf,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,sCAAsC;;CAEtC,kBAAkB;;CAElB,oBAAoB;;CAEpB,mCAAmC;;CAEnC,yBAAyB;;CAEzB,6BAA6B;;CAE7B,iBAAiB;;CAEjB,uBAAuB;;CAEvB,eAAe;;CAEf,2BAA2B;;CAE3B,kBAAkB;;CAElB,6CAA6C;;CAE7C,0BAA0B;;CAE1B,kBAAkB;;CAGlB,qBAAqB;;CAErB,qCAAqC;;CAErC,yBAAyB;;CAEzB,2BAA2B;;CAE3B,0BAA0B;;CAE1B,qBAAqB;;CAErB,iBAAiB;;CAEjB,2BAA2B;;CAE3B,yBAAyB;;CAEzB,yBAAyB;;CAEzB,2CAA2C;;CAE3C,cAAc;;CAEd,2BAA2B;;CAE3B,kBAAkB;;CAElB,2BAA2B;;CAE3B,6BAA6B;;CAE7B,gCAAgC;;CAEhC,0CAA0C;;CAE1C,4BAA4B;;CAE5B,8CAA8C;;CAE9C,iBAAiB;;CAEjB,qBAAqB;;CAErB,4BAA4B;;CAE5B,eAAe;;CAEf,0BAA0B;;CAE1B,mBAAmB;;CAEnB,eAAe;;CAEf,oCAAoC;;CAEpC,kCAAkC;;CAElC,yBAAyB;;CAEzB,mBAAmB;;CAEnB,qBAAqB;;CAErB,sBAAsB;;CAEtB,qBAAqB;;CAErB,wBAAwB;;CAExB,gCAAgC;;CAEhC,uBAAuB;;CAEvB,6CAA6C;;CAE7C,uBAAuB;;CAEvB,cAAc;;CAEd,wBAAwB;;CAExB,0BAA0B;;CAE1B,iBAAiB;;CAEjB,0BAA0B;;CAE1B,wBAAwB;;CAExB,wBAAwB;;CAGxB,iCAAiC;;CAEjC,6CAA6C;;CAE7C,iCAAiC;;CAEjC,gCAAgC;;CAEhC,wCAAwC;;CAExC,qCAAqC;;CAErC,6BAA6B;;CAG7B,yBAAyB;;CAEzB,sCAAsC;;CAGtC,4BAA4B;;CAE5B,2BAA2B;;CAE3B,kBAAkB;;CAElB,0BAA0B;;CAE1B,qBAAqB;;CAErB,sBAAsB;;CAEtB,uBAAuB;;CAEvB,2BAA2B;;CAE3B,uBAAuB;;CAEvB,cAAc;;CAEd,yBAAyB;;CAEzB,oBAAoB;;CAEpB,kCAAkC;;CAElC,yBAAyB;;CAEzB,uBAAuB;;CAEvB,6BAA6B;;CAE7B,gCAAgC;;CAEhC,mCAAmC;;CAEnC,qBAAqB;;CAErB,0BAA0B;;CAE1B,2CAA2C;;CAE3C,uBAAuB;;CAEvB,0BAA0B;;CAE1B,+CAA+C;;CAE/C,8CAA8C;;CAE9C,uBAAuB;;CAEvB,6BAA6B;;CAE7B,2BAA2B;;CAE3B,uBAAuB;;CAEvB,iBAAiB;;CAEjB,yBAAyB;;CAEzB,+BAA+B;;CAE/B,gCAAgC;;CAEhC,2BAA2B;;CAE3B,wCAAwC;;CAExC,8BAA8B;;CAE9B,mCAAmC;;CAEnC,qBAAqB;;CAErB,aAAa;AACf"}
@@ -1,11 +1,11 @@
1
1
  import { a as EngineServerOrder, c as EngineServerPerpProduct, d as EngineServerRisk, f as EngineServerSpotBalance, g as EngineServerSpotState, h as EngineServerSpotProduct, i as EngineServerNlpLockedBalance, l as EngineServerPerpState, m as EngineServerSpotConfig, n as EngineServerHealthBreakdown, o as EngineServerPerpBalance, p as EngineServerSpotBalanceData, r as EngineServerNlpBalance, s as EngineServerPerpBalanceData, t as EngineServerBookInfo, u as EngineServerProductType } from "../serverQueryModelTypes-DGOXWOCY.cjs";
2
- import { $ as EngineServerSubaccountOrdersQueryParams, A as EngineServerNlpLockedBalancesQueryParams, B as EngineServerQueryFailureResponse, C as EngineServerMaxBurnNlpResponse, D as EngineServerMaxOrderSizeResponse, E as EngineServerMaxOrderSizeQueryParams, F as EngineServerNoncesResponse, G as EngineServerQueryResponseByType, H as EngineServerQueryRequestByType, I as EngineServerOrderResponse, J as EngineServerSubaccountFeeRatesParams, K as EngineServerQuerySuccessResponse, L as EngineServerOrdersQueryParams, M as EngineServerNlpPool, N as EngineServerNlpPoolInfoResponse, O as EngineServerMaxWithdrawableQueryParams, P as EngineServerNoncesParams, Q as EngineServerSubaccountOrders, R as EngineServerPriceTickLiquidity, S as EngineServerMaxBurnNlpQueryParams, T as EngineServerMaxMintNlpResponse, U as EngineServerQueryRequestType, V as EngineServerQueryRequest, W as EngineServerQueryResponse, X as EngineServerSubaccountInfoResponse, Y as EngineServerSubaccountInfoQueryParams, Z as EngineServerSubaccountInfoState, _ as EngineServerMarketPrice, a as EngineServerEdgeAllProductsResponse, at as EngineServerValidateOrderQueryParams, b as EngineServerMarketPricesQueryParams, c as EngineServerHealthGroupsResponse, d as EngineServerIsolatedPositionsQueryParams, et as EngineServerSubaccountOrdersResponse, f as EngineServerIsolatedPositionsResponse, g as EngineServerMarketLiquidityResponse, h as EngineServerMarketLiquidityQueryParams, i as EngineServerContractsResponse, it as EngineServerTimeResponse, j as EngineServerNlpLockedBalancesResponse, k as EngineServerMaxWithdrawableResponse, l as EngineServerIpBlockResponse, m as EngineServerLinkedSignerResponse, n as EngineInsuranceResponse, nt as EngineServerSymbolsQueryParams, o as EngineServerFeeRatesResponse, ot as EngineServerValidateOrderResponse, p as EngineServerLinkedSignerParams, q as EngineServerStatusResponse, r as EngineServerAllProductsResponse, rt as EngineServerSymbolsResponse, s as EngineServerGetOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSymbol, u as EngineServerIsolatedPosition, v as EngineServerMarketPriceQueryParams, w as EngineServerMaxMintNlpQueryParams, x as EngineServerMarketPricesResponse, y as EngineServerMarketPriceResponse, z as EngineServerProductOrdersResponse } from "../serverQueryTypes-CB0z7-gj.cjs";
3
- import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-D10ujnwM.cjs";
4
- import { _ as WithBaseEngineExecuteParams, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as SignatureParamsOrSignature, h as EngineWithdrawCollateralV2Params, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithSignature } from "../clientExecuteTypes-uaCtufYV.cjs";
5
- import { $ as GetEngineSubaccountProductOrdersResponse, A as GetEngineMarketPriceResponse, B as GetEngineMaxWithdrawableResponse, C as GetEngineIsolatedPositionsParams, D as GetEngineMarketLiquidityParams, E as GetEngineLinkedSignerResponse, F as GetEngineMaxMintNlpAmountParams, G as GetEngineNoncesResponse, H as GetEngineNlpLockedBalancesResponse, I as GetEngineMaxMintNlpAmountResponse, J as GetEngineSubaccountFeeRatesParams, K as GetEngineOrderParams, L as GetEngineMaxOrderSizeParams, M as GetEngineMarketPricesResponse, N as GetEngineMaxBurnNlpAmountParams, O as GetEngineMarketLiquidityResponse, P as GetEngineMaxBurnNlpAmountResponse, Q as GetEngineSubaccountProductOrdersParams, R as GetEngineMaxOrderSizeResponse, S as GetEngineIpBlockStatusResponse, T as GetEngineLinkedSignerParams, U as GetEngineNlpPoolInfoResponse, V as GetEngineNlpLockedBalancesParams, W as GetEngineNoncesParams, X as GetEngineSubaccountOrdersParams, Y as GetEngineSubaccountFeeRatesResponse, Z as GetEngineSubaccountOrdersResponse, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as SubaccountIsolatedPosition, b as GetEngineHealthGroupsResponse, c as EnginePingResponse, ct as SubaccountSummaryState, d as EngineSymbol, dt as ValidateEngineOrderResponse, et as GetEngineSubaccountSummaryParams, f as EngineSymbolsResponse, ft as ValidateSignedEngineOrderParams, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, i as EngineNlpBalance, it as NlpPool, j as GetEngineMarketPricesParams, k as GetEngineMarketPriceParams, l as EnginePriceTickLiquidity, lt as SubaccountTx, m as GetEngineCachedBboHistoryParams, n as EngineCachedTimeParams, nt as GetEngineSymbolsParams, o as EngineOrder, ot as SubaccountOrderFeeRates, p as GetEngineAllMarketsResponse, q as GetEngineOrderResponse, r as EngineMarketPrice, rt as GetEngineTimeResponse, s as EnginePingParams, st as SubaccountProductDeltaTx, t as EngineBboHistorySample, tt as GetEngineSubaccountSummaryResponse, u as EngineSubaccountOrders, ut as ValidateEngineOrderParams, v as GetEngineCountryCodeResponse, w as GetEngineIsolatedPositionsResponse, x as GetEngineInsuranceResponse, y as GetEngineEstimatedSubaccountSummaryParams, z as GetEngineMaxWithdrawableParams } from "../clientQueryTypes-OyjAl55K.cjs";
6
- import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-CLqQyhgn.cjs";
7
- import { t as EngineServerFailureError } from "../EngineServerFailureError-DDGAIrxD.cjs";
8
- import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-DkJ9JY9x.cjs";
9
- import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-DLWGxy3a.cjs";
2
+ import { $ as EngineServerSubaccountInfoState, A as EngineServerMaxWithdrawableQueryParams, B as EngineServerPriceTickLiquidity, C as EngineServerMarketPricesResponse, D as EngineServerMaxMintNlpResponse, E as EngineServerMaxMintNlpQueryParams, F as EngineServerNlpPoolInfoResponse, G as EngineServerQueryRequestType, H as EngineServerQueryFailureResponse, I as EngineServerNoncesParams, J as EngineServerQuerySuccessResponse, K as EngineServerQueryResponse, L as EngineServerNoncesResponse, M as EngineServerNlpLockedBalancesQueryParams, N as EngineServerNlpLockedBalancesResponse, O as EngineServerMaxOrderSizeQueryParams, P as EngineServerNlpPool, Q as EngineServerSubaccountInfoResponse, R as EngineServerOrderResponse, S as EngineServerMarketPricesQueryParams, T as EngineServerMaxBurnNlpResponse, U as EngineServerQueryRequest, V as EngineServerProductOrdersResponse, W as EngineServerQueryRequestByType, X as EngineServerSubaccountFeeRatesParams, Y as EngineServerStatusResponse, Z as EngineServerSubaccountInfoQueryParams, _ as EngineServerMarketLiquidityQueryParams, a as EngineServerDynamicFeeQuoteQueryParams, at as EngineServerSymbolsResponse, b as EngineServerMarketPriceQueryParams, c as EngineServerFeeRatesResponse, ct as EngineServerValidateOrderResponse, d as EngineServerIpBlockResponse, et as EngineServerSubaccountOrders, f as EngineServerIsolatedPosition, g as EngineServerLinkedSignerResponse, h as EngineServerLinkedSignerParams, i as EngineServerContractsResponse, it as EngineServerSymbolsQueryParams, j as EngineServerMaxWithdrawableResponse, k as EngineServerMaxOrderSizeResponse, l as EngineServerGetOrderQueryParams, m as EngineServerIsolatedPositionsResponse, n as EngineInsuranceResponse, nt as EngineServerSubaccountOrdersResponse, o as EngineServerDynamicFeeQuoteResponse, ot as EngineServerTimeResponse, p as EngineServerIsolatedPositionsQueryParams, q as EngineServerQueryResponseByType, r as EngineServerAllProductsResponse, rt as EngineServerSymbol, s as EngineServerEdgeAllProductsResponse, st as EngineServerValidateOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSubaccountOrdersQueryParams, u as EngineServerHealthGroupsResponse, v as EngineServerMarketLiquidityResponse, w as EngineServerMaxBurnNlpQueryParams, x as EngineServerMarketPriceResponse, y as EngineServerMarketPrice, z as EngineServerOrdersQueryParams } from "../serverQueryTypes-Z9L5CzzX.cjs";
3
+ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-B5TGnwV0.cjs";
4
+ import { _ as SignatureParamsOrSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as EngineWithdrawCollateralV2Params, h as EngineWithdrawCollateralParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineTransferQuoteV2Params, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithBaseEngineExecuteParams, y as WithSignature } from "../clientExecuteTypes-DdTonPFz.cjs";
5
+ import { $ as GetEngineSubaccountOrdersParams, A as GetEngineMarketLiquidityResponse, B as GetEngineMaxOrderSizeResponse, C as GetEngineInsuranceResponse, D as GetEngineLinkedSignerParams, E as GetEngineIsolatedPositionsResponse, F as GetEngineMaxBurnNlpAmountParams, G as GetEngineNlpLockedBalancesResponse, H as GetEngineMaxWithdrawableResponse, I as GetEngineMaxBurnNlpAmountResponse, J as GetEngineNoncesResponse, K as GetEngineNlpPoolInfoResponse, L as GetEngineMaxMintNlpAmountParams, M as GetEngineMarketPriceResponse, N as GetEngineMarketPricesParams, O as GetEngineLinkedSignerResponse, P as GetEngineMarketPricesResponse, Q as GetEngineSubaccountFeeRatesResponse, R as GetEngineMaxMintNlpAmountResponse, S as GetEngineHealthGroupsResponse, T as GetEngineIsolatedPositionsParams, U as GetEngineMaxWithdrawableWithDynamicFeeResponse, V as GetEngineMaxWithdrawableParams, W as GetEngineNlpLockedBalancesParams, X as GetEngineOrderResponse, Y as GetEngineOrderParams, Z as GetEngineSubaccountFeeRatesParams, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as GetEngineSymbolsParams, b as GetEngineDynamicFeeQuoteResponse, c as EnginePingResponse, ct as SubaccountIsolatedPosition, d as EngineSymbol, dt as SubaccountSummaryState, et as GetEngineSubaccountOrdersResponse, f as EngineSymbolsResponse, ft as SubaccountTx, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, ht as ValidateSignedEngineOrderParams, i as EngineNlpBalance, it as GetEngineSubaccountSummaryResponse, j as GetEngineMarketPriceParams, k as GetEngineMarketLiquidityParams, l as EnginePriceTickLiquidity, lt as SubaccountOrderFeeRates, m as GetEngineCachedBboHistoryParams, mt as ValidateEngineOrderResponse, n as EngineCachedTimeParams, nt as GetEngineSubaccountProductOrdersResponse, o as EngineOrder, ot as GetEngineTimeResponse, p as GetEngineAllMarketsResponse, pt as ValidateEngineOrderParams, q as GetEngineNoncesParams, r as EngineMarketPrice, rt as GetEngineSubaccountSummaryParams, s as EnginePingParams, st as NlpPool, t as EngineBboHistorySample, tt as GetEngineSubaccountProductOrdersParams, u as EngineSubaccountOrders, ut as SubaccountProductDeltaTx, v as GetEngineCountryCodeResponse, w as GetEngineIpBlockStatusResponse, x as GetEngineEstimatedSubaccountSummaryParams, y as GetEngineDynamicFeeQuoteParams, z as GetEngineMaxOrderSizeParams } from "../clientQueryTypes-86sEMdWH.cjs";
6
+ import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-T0t1nfq2.cjs";
7
+ import { t as EngineServerFailureError } from "../EngineServerFailureError-D6FhNLZ1.cjs";
8
+ import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-BaMFzyz8.cjs";
9
+ import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-D4PkREoN.cjs";
10
10
  import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-DmavlDIZ.cjs";
11
- export { ENGINE_ERROR_CODES, ENGINE_SERVER_STATUS_VALUES, EngineBboHistorySample, EngineBurnNlpParams, EngineCachedTimeParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineErrorCode, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePingParams, EnginePingResponse, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerControlTimeResponse, EngineServerEdgeAllProductsResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeQueryParams, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerUpdateDependencyResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParamsOrSignature, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
11
+ export { ENGINE_ERROR_CODES, ENGINE_SERVER_STATUS_VALUES, EngineBboHistorySample, EngineBurnNlpParams, EngineCachedTimeParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineErrorCode, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePingParams, EnginePingResponse, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerControlTimeResponse, EngineServerDynamicFeeQuoteQueryParams, EngineServerDynamicFeeQuoteResponse, EngineServerEdgeAllProductsResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeQueryParams, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerUpdateDependencyResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineTransferQuoteV2Params, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineDynamicFeeQuoteParams, GetEngineDynamicFeeQuoteResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineMaxWithdrawableWithDynamicFeeResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParamsOrSignature, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
@@ -1,11 +1,11 @@
1
1
  import { a as EngineServerOrder, c as EngineServerPerpProduct, d as EngineServerRisk, f as EngineServerSpotBalance, g as EngineServerSpotState, h as EngineServerSpotProduct, i as EngineServerNlpLockedBalance, l as EngineServerPerpState, m as EngineServerSpotConfig, n as EngineServerHealthBreakdown, o as EngineServerPerpBalance, p as EngineServerSpotBalanceData, r as EngineServerNlpBalance, s as EngineServerPerpBalanceData, t as EngineServerBookInfo, u as EngineServerProductType } from "../serverQueryModelTypes-DGOXWOCY.js";
2
- import { $ as EngineServerSubaccountOrdersQueryParams, A as EngineServerNlpLockedBalancesQueryParams, B as EngineServerQueryFailureResponse, C as EngineServerMaxBurnNlpResponse, D as EngineServerMaxOrderSizeResponse, E as EngineServerMaxOrderSizeQueryParams, F as EngineServerNoncesResponse, G as EngineServerQueryResponseByType, H as EngineServerQueryRequestByType, I as EngineServerOrderResponse, J as EngineServerSubaccountFeeRatesParams, K as EngineServerQuerySuccessResponse, L as EngineServerOrdersQueryParams, M as EngineServerNlpPool, N as EngineServerNlpPoolInfoResponse, O as EngineServerMaxWithdrawableQueryParams, P as EngineServerNoncesParams, Q as EngineServerSubaccountOrders, R as EngineServerPriceTickLiquidity, S as EngineServerMaxBurnNlpQueryParams, T as EngineServerMaxMintNlpResponse, U as EngineServerQueryRequestType, V as EngineServerQueryRequest, W as EngineServerQueryResponse, X as EngineServerSubaccountInfoResponse, Y as EngineServerSubaccountInfoQueryParams, Z as EngineServerSubaccountInfoState, _ as EngineServerMarketPrice, a as EngineServerEdgeAllProductsResponse, at as EngineServerValidateOrderQueryParams, b as EngineServerMarketPricesQueryParams, c as EngineServerHealthGroupsResponse, d as EngineServerIsolatedPositionsQueryParams, et as EngineServerSubaccountOrdersResponse, f as EngineServerIsolatedPositionsResponse, g as EngineServerMarketLiquidityResponse, h as EngineServerMarketLiquidityQueryParams, i as EngineServerContractsResponse, it as EngineServerTimeResponse, j as EngineServerNlpLockedBalancesResponse, k as EngineServerMaxWithdrawableResponse, l as EngineServerIpBlockResponse, m as EngineServerLinkedSignerResponse, n as EngineInsuranceResponse, nt as EngineServerSymbolsQueryParams, o as EngineServerFeeRatesResponse, ot as EngineServerValidateOrderResponse, p as EngineServerLinkedSignerParams, q as EngineServerStatusResponse, r as EngineServerAllProductsResponse, rt as EngineServerSymbolsResponse, s as EngineServerGetOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSymbol, u as EngineServerIsolatedPosition, v as EngineServerMarketPriceQueryParams, w as EngineServerMaxMintNlpQueryParams, x as EngineServerMarketPricesResponse, y as EngineServerMarketPriceResponse, z as EngineServerProductOrdersResponse } from "../serverQueryTypes-BvuH0UhW.js";
3
- import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-CXA3Be63.js";
4
- import { _ as WithBaseEngineExecuteParams, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as SignatureParamsOrSignature, h as EngineWithdrawCollateralV2Params, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithSignature } from "../clientExecuteTypes-Cw5pE8eT.js";
5
- import { $ as GetEngineSubaccountProductOrdersResponse, A as GetEngineMarketPriceResponse, B as GetEngineMaxWithdrawableResponse, C as GetEngineIsolatedPositionsParams, D as GetEngineMarketLiquidityParams, E as GetEngineLinkedSignerResponse, F as GetEngineMaxMintNlpAmountParams, G as GetEngineNoncesResponse, H as GetEngineNlpLockedBalancesResponse, I as GetEngineMaxMintNlpAmountResponse, J as GetEngineSubaccountFeeRatesParams, K as GetEngineOrderParams, L as GetEngineMaxOrderSizeParams, M as GetEngineMarketPricesResponse, N as GetEngineMaxBurnNlpAmountParams, O as GetEngineMarketLiquidityResponse, P as GetEngineMaxBurnNlpAmountResponse, Q as GetEngineSubaccountProductOrdersParams, R as GetEngineMaxOrderSizeResponse, S as GetEngineIpBlockStatusResponse, T as GetEngineLinkedSignerParams, U as GetEngineNlpPoolInfoResponse, V as GetEngineNlpLockedBalancesParams, W as GetEngineNoncesParams, X as GetEngineSubaccountOrdersParams, Y as GetEngineSubaccountFeeRatesResponse, Z as GetEngineSubaccountOrdersResponse, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as SubaccountIsolatedPosition, b as GetEngineHealthGroupsResponse, c as EnginePingResponse, ct as SubaccountSummaryState, d as EngineSymbol, dt as ValidateEngineOrderResponse, et as GetEngineSubaccountSummaryParams, f as EngineSymbolsResponse, ft as ValidateSignedEngineOrderParams, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, i as EngineNlpBalance, it as NlpPool, j as GetEngineMarketPricesParams, k as GetEngineMarketPriceParams, l as EnginePriceTickLiquidity, lt as SubaccountTx, m as GetEngineCachedBboHistoryParams, n as EngineCachedTimeParams, nt as GetEngineSymbolsParams, o as EngineOrder, ot as SubaccountOrderFeeRates, p as GetEngineAllMarketsResponse, q as GetEngineOrderResponse, r as EngineMarketPrice, rt as GetEngineTimeResponse, s as EnginePingParams, st as SubaccountProductDeltaTx, t as EngineBboHistorySample, tt as GetEngineSubaccountSummaryResponse, u as EngineSubaccountOrders, ut as ValidateEngineOrderParams, v as GetEngineCountryCodeResponse, w as GetEngineIsolatedPositionsResponse, x as GetEngineInsuranceResponse, y as GetEngineEstimatedSubaccountSummaryParams, z as GetEngineMaxWithdrawableParams } from "../clientQueryTypes-dyLCw-ip.js";
6
- import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-CLqQyhgn.js";
7
- import { t as EngineServerFailureError } from "../EngineServerFailureError-CPIwlURB.js";
8
- import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-Del7970K.js";
9
- import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-BBqRApAk.js";
2
+ import { $ as EngineServerSubaccountInfoState, A as EngineServerMaxWithdrawableQueryParams, B as EngineServerPriceTickLiquidity, C as EngineServerMarketPricesResponse, D as EngineServerMaxMintNlpResponse, E as EngineServerMaxMintNlpQueryParams, F as EngineServerNlpPoolInfoResponse, G as EngineServerQueryRequestType, H as EngineServerQueryFailureResponse, I as EngineServerNoncesParams, J as EngineServerQuerySuccessResponse, K as EngineServerQueryResponse, L as EngineServerNoncesResponse, M as EngineServerNlpLockedBalancesQueryParams, N as EngineServerNlpLockedBalancesResponse, O as EngineServerMaxOrderSizeQueryParams, P as EngineServerNlpPool, Q as EngineServerSubaccountInfoResponse, R as EngineServerOrderResponse, S as EngineServerMarketPricesQueryParams, T as EngineServerMaxBurnNlpResponse, U as EngineServerQueryRequest, V as EngineServerProductOrdersResponse, W as EngineServerQueryRequestByType, X as EngineServerSubaccountFeeRatesParams, Y as EngineServerStatusResponse, Z as EngineServerSubaccountInfoQueryParams, _ as EngineServerMarketLiquidityQueryParams, a as EngineServerDynamicFeeQuoteQueryParams, at as EngineServerSymbolsResponse, b as EngineServerMarketPriceQueryParams, c as EngineServerFeeRatesResponse, ct as EngineServerValidateOrderResponse, d as EngineServerIpBlockResponse, et as EngineServerSubaccountOrders, f as EngineServerIsolatedPosition, g as EngineServerLinkedSignerResponse, h as EngineServerLinkedSignerParams, i as EngineServerContractsResponse, it as EngineServerSymbolsQueryParams, j as EngineServerMaxWithdrawableResponse, k as EngineServerMaxOrderSizeResponse, l as EngineServerGetOrderQueryParams, m as EngineServerIsolatedPositionsResponse, n as EngineInsuranceResponse, nt as EngineServerSubaccountOrdersResponse, o as EngineServerDynamicFeeQuoteResponse, ot as EngineServerTimeResponse, p as EngineServerIsolatedPositionsQueryParams, q as EngineServerQueryResponseByType, r as EngineServerAllProductsResponse, rt as EngineServerSymbol, s as EngineServerEdgeAllProductsResponse, st as EngineServerValidateOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSubaccountOrdersQueryParams, u as EngineServerHealthGroupsResponse, v as EngineServerMarketLiquidityResponse, w as EngineServerMaxBurnNlpQueryParams, x as EngineServerMarketPriceResponse, y as EngineServerMarketPrice, z as EngineServerOrdersQueryParams } from "../serverQueryTypes-B310vOgF.js";
3
+ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-DMNnEFf7.js";
4
+ import { _ as SignatureParamsOrSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as EngineWithdrawCollateralV2Params, h as EngineWithdrawCollateralParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineTransferQuoteV2Params, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams, v as WithBaseEngineExecuteParams, y as WithSignature } from "../clientExecuteTypes-fh0QGFm3.js";
5
+ import { $ as GetEngineSubaccountOrdersParams, A as GetEngineMarketLiquidityResponse, B as GetEngineMaxOrderSizeResponse, C as GetEngineInsuranceResponse, D as GetEngineLinkedSignerParams, E as GetEngineIsolatedPositionsResponse, F as GetEngineMaxBurnNlpAmountParams, G as GetEngineNlpLockedBalancesResponse, H as GetEngineMaxWithdrawableResponse, I as GetEngineMaxBurnNlpAmountResponse, J as GetEngineNoncesResponse, K as GetEngineNlpPoolInfoResponse, L as GetEngineMaxMintNlpAmountParams, M as GetEngineMarketPriceResponse, N as GetEngineMarketPricesParams, O as GetEngineLinkedSignerResponse, P as GetEngineMarketPricesResponse, Q as GetEngineSubaccountFeeRatesResponse, R as GetEngineMaxMintNlpAmountResponse, S as GetEngineHealthGroupsResponse, T as GetEngineIsolatedPositionsParams, U as GetEngineMaxWithdrawableWithDynamicFeeResponse, V as GetEngineMaxWithdrawableParams, W as GetEngineNlpLockedBalancesParams, X as GetEngineOrderResponse, Y as GetEngineOrderParams, Z as GetEngineSubaccountFeeRatesParams, _ as GetEngineContractsResponse, a as EngineNlpLockedBalance, at as GetEngineSymbolsParams, b as GetEngineDynamicFeeQuoteResponse, c as EnginePingResponse, ct as SubaccountIsolatedPosition, d as EngineSymbol, dt as SubaccountSummaryState, et as GetEngineSubaccountOrdersResponse, f as EngineSymbolsResponse, ft as SubaccountTx, g as GetEngineCachedMarketPricesParams, h as GetEngineCachedBboHistoryResponse, ht as ValidateSignedEngineOrderParams, i as EngineNlpBalance, it as GetEngineSubaccountSummaryResponse, j as GetEngineMarketPriceParams, k as GetEngineMarketLiquidityParams, l as EnginePriceTickLiquidity, lt as SubaccountOrderFeeRates, m as GetEngineCachedBboHistoryParams, mt as ValidateEngineOrderResponse, n as EngineCachedTimeParams, nt as GetEngineSubaccountProductOrdersResponse, o as EngineOrder, ot as GetEngineTimeResponse, p as GetEngineAllMarketsResponse, pt as ValidateEngineOrderParams, q as GetEngineNoncesParams, r as EngineMarketPrice, rt as GetEngineSubaccountSummaryParams, s as EnginePingParams, st as NlpPool, t as EngineBboHistorySample, tt as GetEngineSubaccountProductOrdersParams, u as EngineSubaccountOrders, ut as SubaccountProductDeltaTx, v as GetEngineCountryCodeResponse, w as GetEngineIpBlockStatusResponse, x as GetEngineEstimatedSubaccountSummaryParams, y as GetEngineDynamicFeeQuoteParams, z as GetEngineMaxOrderSizeParams } from "../clientQueryTypes-BRmW-hwV.js";
6
+ import { n as EngineErrorCode, t as ENGINE_ERROR_CODES } from "../engineErrorCodes-T0t1nfq2.js";
7
+ import { t as EngineServerFailureError } from "../EngineServerFailureError-DmeIkcaO.js";
8
+ import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-BuVoqyAf.js";
9
+ import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-C3X3GUTW.js";
10
10
  import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-DmavlDIZ.js";
11
- export { ENGINE_ERROR_CODES, ENGINE_SERVER_STATUS_VALUES, EngineBboHistorySample, EngineBurnNlpParams, EngineCachedTimeParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineErrorCode, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePingParams, EnginePingResponse, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerControlTimeResponse, EngineServerEdgeAllProductsResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeQueryParams, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerUpdateDependencyResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParamsOrSignature, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
11
+ export { ENGINE_ERROR_CODES, ENGINE_SERVER_STATUS_VALUES, EngineBboHistorySample, EngineBurnNlpParams, EngineCachedTimeParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineErrorCode, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePingParams, EnginePingResponse, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerControlTimeResponse, EngineServerDynamicFeeQuoteQueryParams, EngineServerDynamicFeeQuoteResponse, EngineServerEdgeAllProductsResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeQueryParams, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerUpdateDependencyResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineTransferQuoteV2Params, EngineWithdrawCollateralParams, EngineWithdrawCollateralV2Params, GetEngineAllMarketsResponse, GetEngineCachedBboHistoryParams, GetEngineCachedBboHistoryResponse, GetEngineCachedMarketPricesParams, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineDynamicFeeQuoteParams, GetEngineDynamicFeeQuoteResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineMaxWithdrawableWithDynamicFeeResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParamsOrSignature, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
@@ -1,2 +1,2 @@
1
- import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-DkJ9JY9x.cjs";
1
+ import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-BaMFzyz8.cjs";
2
2
  export { EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerControlTimeResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerTimeQueryParams };
@@ -1,2 +1,2 @@
1
- import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-Del7970K.js";
1
+ import { a as EngineServerCachedQueryRequestByType, c as EngineServerCachedQueryResponseByType, d as EngineServerEdgeControlRequestByType, f as EngineServerEdgeControlRequestType, g as EngineServerTimeQueryParams, h as EngineServerPingResponse, i as EngineServerCachedQueryRequest, l as EngineServerCachedQuerySuccessResponse, m as EngineServerPingQueryParams, n as EngineServerCachedBboHistoryResponse, o as EngineServerCachedQueryRequestType, p as EngineServerEdgeControlResponseByType, r as EngineServerCachedBboHistorySample, s as EngineServerCachedQueryResponse, t as EngineServerCachedBboHistoryQueryParams, u as EngineServerControlTimeResponse } from "../serverEdgeQueryTypes-BuVoqyAf.js";
2
2
  export { EngineServerCachedBboHistoryQueryParams, EngineServerCachedBboHistoryResponse, EngineServerCachedBboHistorySample, EngineServerCachedQueryRequest, EngineServerCachedQueryRequestByType, EngineServerCachedQueryRequestType, EngineServerCachedQueryResponse, EngineServerCachedQueryResponseByType, EngineServerCachedQuerySuccessResponse, EngineServerControlTimeResponse, EngineServerEdgeControlRequestByType, EngineServerEdgeControlRequestType, EngineServerEdgeControlResponseByType, EngineServerPingQueryParams, EngineServerPingResponse, EngineServerTimeQueryParams };
@@ -1,2 +1,2 @@
1
- import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-D10ujnwM.cjs";
1
+ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-B5TGnwV0.cjs";
2
2
  export { EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerUpdateDependencyResponse, EngineServiceCancelAndPlaceParams };
@@ -1,2 +1,2 @@
1
- import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-CXA3Be63.js";
1
+ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult, d as EngineServerPlaceOrderResponse, f as EngineServerPlaceOrdersResponse, i as EngineServerExecutePlaceOrderPayload, l as EngineServerExecuteSuccessResult, m as EngineServiceCancelAndPlaceParams, n as EngineServerCancelOrdersResponse, o as EngineServerExecuteRequestType, p as EngineServerUpdateDependencyResponse, r as EngineServerExecuteFailureResult, s as EngineServerExecuteResponseDataByType, t as EngineServerCancelOrdersParams, u as EngineServerPlaceOrderParams } from "../serverExecuteTypes-DMNnEFf7.js";
2
2
  export { EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerUpdateDependencyResponse, EngineServiceCancelAndPlaceParams };
@@ -1 +1 @@
1
- {"version":3,"file":"serverQueryTypes.cjs","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import { HealthStatus } from '@nadohq/shared';\nimport {\n EngineServerHealthBreakdown,\n EngineServerNlpBalance,\n EngineServerNlpLockedBalance,\n EngineServerOrder,\n EngineServerPerpBalance,\n EngineServerPerpProduct,\n EngineServerProductType,\n EngineServerSpotBalance,\n EngineServerSpotProduct,\n} from './serverQueryModelTypes';\n\nexport interface EngineServerNoncesParams {\n address: string;\n}\n\nexport interface EngineServerSubaccountInfoQueryParams {\n subaccount: string;\n txns?: Array<{\n apply_delta: {\n product_id: number;\n subaccount: string;\n amount_delta: string;\n v_quote_delta: string;\n };\n }>;\n // If not given, engine defaults to 'false'\n pre_state?: string;\n}\n\nexport interface EngineServerIsolatedPositionsQueryParams {\n subaccount: string;\n}\n\nexport interface EngineServerSymbolsQueryParams {\n product_type?: EngineServerProductType;\n product_ids?: number[];\n}\n\nexport interface EngineServerMarketPriceQueryParams {\n product_id: number;\n}\n\nexport interface EngineServerMarketPricesQueryParams {\n product_ids: number[];\n}\n\nexport interface EngineServerGetOrderQueryParams {\n product_id: number;\n digest: string;\n}\n\nexport interface EngineServerValidateOrderQueryParams {\n product_id: number;\n // Bytes for order, does not need to be signed\n order: string;\n}\n\nexport interface EngineServerOrdersQueryParams {\n sender: string;\n product_ids: number[];\n}\n\nexport interface EngineServerSubaccountOrdersQueryParams {\n sender: string;\n product_id: number;\n}\n\nexport interface EngineServerSubaccountFeeRatesParams {\n sender: string;\n}\n\nexport interface EngineServerMarketLiquidityQueryParams {\n product_id: number;\n depth: number;\n}\n\nexport interface EngineServerMaxWithdrawableQueryParams {\n sender: string;\n product_id: number;\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n}\n\nexport interface EngineServerMaxOrderSizeQueryParams {\n sender: string;\n product_id: number;\n price_x18: string;\n // Optional average execution price in x18 units.\n // If not given, engine uses `price_x18` for both health stress and cost basis.\n avg_price_x18: string | null;\n // Note: When `reduce_only` is true, `direction` must be opposite of the current position, otherwise it returns 0.\n direction: 'long' | 'short';\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n // If not given, engine defaults to false. If true, the max order size will be capped to the subaccount's current position size;\n // If no position exists, it will return 0.\n reduce_only: string | null;\n isolated: string | null;\n // For isolated, max order size includes available collateral to transfer from parent cross subaccount\n // If not given, engine defaults to true (borrow enabled)\n borrow_margin: string | null;\n}\n\nexport interface EngineServerLinkedSignerParams {\n subaccount: string;\n}\n\nexport interface EngineServerMaxMintNlpQueryParams {\n sender: string;\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n}\n\nexport interface EngineServerMaxBurnNlpQueryParams {\n sender: string;\n}\n\nexport interface EngineServerNlpLockedBalancesQueryParams {\n subaccount: string;\n}\n\nexport interface EngineServerQueryRequestByType {\n all_products: Record<string, never>;\n contracts: Record<string, never>;\n edge_all_products: Record<string, never>;\n fee_rates: EngineServerSubaccountFeeRatesParams;\n health_groups: Record<string, never>;\n insurance: Record<string, never>;\n isolated_positions: EngineServerIsolatedPositionsQueryParams;\n linked_signer: EngineServerLinkedSignerParams;\n market_liquidity: EngineServerMarketLiquidityQueryParams;\n market_price: EngineServerMarketPriceQueryParams;\n market_prices: EngineServerMarketPricesQueryParams;\n max_nlp_burnable: EngineServerMaxBurnNlpQueryParams;\n max_nlp_mintable: EngineServerMaxMintNlpQueryParams;\n max_order_size: EngineServerMaxOrderSizeQueryParams;\n nlp_locked_balances: EngineServerNlpLockedBalancesQueryParams;\n nlp_pool_info: Record<string, never>;\n max_withdrawable: EngineServerMaxWithdrawableQueryParams;\n nonces: EngineServerNoncesParams;\n order: EngineServerGetOrderQueryParams;\n orders: EngineServerOrdersQueryParams;\n status: Record<string, never>;\n subaccount_info: Omit<EngineServerSubaccountInfoQueryParams, 'txns'> & {\n // JSON serialized txns\n txns?: string;\n };\n subaccount_orders: EngineServerSubaccountOrdersQueryParams;\n symbols: EngineServerSymbolsQueryParams;\n validate_order: EngineServerValidateOrderQueryParams;\n}\n\nexport type EngineServerQueryRequestType = keyof EngineServerQueryRequestByType;\n\nexport type EngineServerQueryRequest<\n TRequestType extends EngineServerQueryRequestType,\n> = {\n type: TRequestType;\n} & EngineServerQueryRequestByType[TRequestType];\n\nexport interface EngineServerContractsResponse {\n chain_id: string;\n endpoint_addr: string;\n}\n\n// Unless in active state, engine is not fully operational\nexport const ENGINE_SERVER_STATUS_VALUES = [\n 'started',\n 'active',\n 'stopping',\n 'syncing',\n 'live_syncing',\n 'failed',\n] as const;\n\nexport type EngineServerStatusResponse =\n (typeof ENGINE_SERVER_STATUS_VALUES)[number];\n\nexport interface EngineServerNoncesResponse {\n order_nonce: string;\n tx_nonce: string;\n}\n\nexport interface EngineServerSubaccountInfoResponse extends EngineServerSubaccountInfoState {\n exists: boolean;\n subaccount: string;\n spot_count: number;\n perp_count: number;\n spot_products: EngineServerSpotProduct[];\n perp_products: EngineServerPerpProduct[];\n\n /** This is set if request has `pre_state` flag set to 'true' */\n pre_state: EngineServerSubaccountInfoState | undefined;\n}\n\nexport interface EngineServerSubaccountInfoState {\n healths: [\n initial: EngineServerHealthBreakdown,\n maintenance: EngineServerHealthBreakdown,\n unweighted: EngineServerHealthBreakdown,\n ];\n // First index is product ID, each subarray is of length 3 [initial, maintenance, unweighted]\n health_contributions: string[][];\n spot_balances: EngineServerSpotBalance[];\n perp_balances: EngineServerPerpBalance[];\n}\n\nexport interface EngineServerIsolatedPosition {\n subaccount: string;\n healths: [\n initial: HealthStatus,\n maintenance: HealthStatus,\n unweighted: HealthStatus,\n ];\n quote_healths: [initial: string, maintenance: string, unweighted: string];\n base_healths: [initial: string, maintenance: string, unweighted: string];\n quote_balance: EngineServerSpotBalance;\n base_balance: EngineServerPerpBalance;\n quote_product: EngineServerSpotProduct;\n base_product: EngineServerPerpProduct;\n}\n\nexport type EngineServerIsolatedPositionsResponse = {\n isolated_positions: EngineServerIsolatedPosition[];\n};\n\nexport interface EngineServerSymbol {\n type: EngineServerProductType;\n product_id: number;\n symbol: string;\n price_increment_x18: string;\n size_increment: string;\n min_size: string;\n maker_fee_rate_x18: string;\n taker_fee_rate_x18: string;\n long_weight_initial_x18: string;\n long_weight_maintenance_x18: string;\n // undefined when there is no max open interest limit (always undefined for spot products)\n max_open_interest_x18: string | undefined;\n isolated_only: boolean;\n}\n\nexport interface EngineServerSymbolsResponse {\n symbols: Record<string, EngineServerSymbol>;\n}\n\nexport interface EngineServerAllProductsResponse {\n spot_products: EngineServerSpotProduct[];\n perp_products: EngineServerPerpProduct[];\n}\n\nexport interface EngineServerHealthGroupsResponse {\n health_groups: [spotProductId: number, perpProductId: number][];\n}\n\n// Price, liquidity pairs\nexport type EngineServerPriceTickLiquidity = [\n priceX18: string,\n liquidity: string,\n];\n\nexport interface EngineServerMarketLiquidityResponse {\n bids: EngineServerPriceTickLiquidity[];\n asks: EngineServerPriceTickLiquidity[];\n}\n\nexport interface EngineServerSubaccountOrders {\n sender: string;\n product_id: number;\n orders: EngineServerOrder[];\n}\n\nexport type EngineServerSubaccountOrdersResponse = EngineServerSubaccountOrders;\n\nexport interface EngineServerProductOrdersResponse {\n sender: string;\n product_orders: EngineServerSubaccountOrders[];\n}\n\nexport interface EngineServerFeeRatesResponse {\n liquidation_sequencer_fee: string;\n health_check_sequencer_fee: string;\n taker_sequencer_fee: string;\n // Product ID is the index\n withdraw_sequencer_fees: string[];\n taker_fee_rates_x18: string[];\n maker_fee_rates_x18: string[];\n fee_tier: number;\n}\n\nexport interface EngineServerMarketPrice {\n product_id: number;\n bid_x18: string;\n ask_x18: string;\n}\n\nexport type EngineServerMarketPriceResponse = EngineServerMarketPrice;\n\nexport interface EngineServerMarketPricesResponse {\n market_prices: EngineServerMarketPrice[];\n}\n\nexport type EngineServerOrderResponse = EngineServerOrder;\n\nexport interface EngineServerValidateOrderResponse {\n product_id: number;\n order: string;\n valid: boolean;\n}\n\nexport interface EngineServerMaxOrderSizeResponse {\n max_order_size: string;\n}\n\nexport interface EngineServerMaxWithdrawableResponse {\n max_withdrawable: string;\n}\n\nexport type EngineServerTimeResponse = number;\n\nexport interface EngineServerIpBlockResponse {\n blocked: boolean;\n reason: string;\n}\n\nexport interface EngineServerLinkedSignerResponse {\n linked_signer: string;\n}\n\nexport interface EngineInsuranceResponse {\n insurance: string;\n}\n\nexport interface EngineServerEdgeAllProductsResponse {\n // chain_id -> EngineServerAllProductsResponse\n edge_all_products: Record<number, EngineServerAllProductsResponse>;\n}\n\nexport interface EngineServerMaxBurnNlpResponse {\n max_nlp_amount: string;\n}\n\nexport interface EngineServerMaxMintNlpResponse {\n max_quote_amount: string;\n}\n\nexport interface EngineServerNlpLockedBalancesResponse {\n balance_locked: EngineServerNlpBalance;\n balance_unlocked: EngineServerNlpBalance;\n locked_balances: EngineServerNlpLockedBalance[];\n}\n\nexport interface EngineServerNlpPool {\n pool_id: number;\n subaccount: string;\n owner: string;\n balance_weight_x18: string;\n subaccount_info: EngineServerSubaccountInfoResponse;\n open_orders: EngineServerOrder[];\n}\n\nexport interface EngineServerNlpPoolInfoResponse {\n nlp_pools: EngineServerNlpPool[];\n}\n\nexport interface EngineServerQueryResponseByType {\n all_products: EngineServerAllProductsResponse;\n contracts: EngineServerContractsResponse;\n edge_all_products: EngineServerEdgeAllProductsResponse;\n fee_rates: EngineServerFeeRatesResponse;\n health_groups: EngineServerHealthGroupsResponse;\n insurance: EngineInsuranceResponse;\n isolated_positions: EngineServerIsolatedPositionsResponse;\n linked_signer: EngineServerLinkedSignerResponse;\n market_liquidity: EngineServerMarketLiquidityResponse;\n market_price: EngineServerMarketPriceResponse;\n market_prices: EngineServerMarketPricesResponse;\n max_nlp_burnable: EngineServerMaxBurnNlpResponse;\n max_nlp_mintable: EngineServerMaxMintNlpResponse;\n max_order_size: EngineServerMaxOrderSizeResponse;\n nlp_locked_balances: EngineServerNlpLockedBalancesResponse;\n nlp_pool_info: EngineServerNlpPoolInfoResponse;\n max_withdrawable: EngineServerMaxWithdrawableResponse;\n nonces: EngineServerNoncesResponse;\n order: EngineServerOrderResponse;\n orders: EngineServerProductOrdersResponse;\n status: EngineServerStatusResponse;\n subaccount_info: EngineServerSubaccountInfoResponse;\n subaccount_orders: EngineServerSubaccountOrdersResponse;\n symbols: EngineServerSymbolsResponse;\n validate_order: EngineServerValidateOrderResponse;\n}\n\nexport interface EngineServerQuerySuccessResponse<\n TQueryType extends keyof EngineServerQueryResponseByType =\n EngineServerQueryRequestType,\n> {\n status: 'success';\n data: EngineServerQueryResponseByType[TQueryType];\n}\n\nexport interface EngineServerQueryFailureResponse {\n status: 'failure';\n error: string;\n error_code: number;\n}\n\nexport type EngineServerQueryResponse<\n TQueryType extends keyof EngineServerQueryResponseByType =\n EngineServerQueryRequestType,\n> =\n | EngineServerQuerySuccessResponse<TQueryType>\n | EngineServerQueryFailureResponse;\n"],"mappings":";;AAwKA,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"serverQueryTypes.cjs","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import { HealthStatus } from '@nadohq/shared';\nimport {\n EngineServerHealthBreakdown,\n EngineServerNlpBalance,\n EngineServerNlpLockedBalance,\n EngineServerOrder,\n EngineServerPerpBalance,\n EngineServerPerpProduct,\n EngineServerProductType,\n EngineServerSpotBalance,\n EngineServerSpotProduct,\n} from './serverQueryModelTypes';\n\nexport interface EngineServerNoncesParams {\n address: string;\n}\n\nexport interface EngineServerSubaccountInfoQueryParams {\n subaccount: string;\n txns?: Array<{\n apply_delta: {\n product_id: number;\n subaccount: string;\n amount_delta: string;\n v_quote_delta: string;\n };\n }>;\n // If not given, engine defaults to 'false'\n pre_state?: string;\n}\n\nexport interface EngineServerIsolatedPositionsQueryParams {\n subaccount: string;\n}\n\nexport interface EngineServerSymbolsQueryParams {\n product_type?: EngineServerProductType;\n product_ids?: number[];\n}\n\nexport interface EngineServerMarketPriceQueryParams {\n product_id: number;\n}\n\nexport interface EngineServerMarketPricesQueryParams {\n product_ids: number[];\n}\n\nexport interface EngineServerGetOrderQueryParams {\n product_id: number;\n digest: string;\n}\n\nexport interface EngineServerValidateOrderQueryParams {\n product_id: number;\n // Bytes for order, does not need to be signed\n order: string;\n}\n\nexport interface EngineServerOrdersQueryParams {\n sender: string;\n product_ids: number[];\n}\n\nexport interface EngineServerSubaccountOrdersQueryParams {\n sender: string;\n product_id: number;\n}\n\nexport interface EngineServerSubaccountFeeRatesParams {\n sender: string;\n}\n\nexport interface EngineServerMarketLiquidityQueryParams {\n product_id: number;\n depth: number;\n}\n\n/**\n * Params for the `dynamic_fee_quote` query, discriminated by `kind`: `product_id` is required\n * for a withdrawal quote, `recipient` for a transfer quote.\n */\nexport type EngineServerDynamicFeeQuoteQueryParams =\n | {\n /** `withdrawal` for Withdraw Collateral V2 */\n kind: 'withdrawal';\n /** Hex encoded bytes32; address + subaccount identifier */\n sender: string;\n /** Spot product to withdraw */\n product_id: number;\n }\n | {\n /** `transfer_quote` for Transfer Quote V2 */\n kind: 'transfer_quote';\n /** Hex encoded bytes32; address + subaccount identifier */\n sender: string;\n /** Hex encoded bytes32 transfer recipient */\n recipient: string;\n };\n\nexport interface EngineServerMaxWithdrawableQueryParams {\n sender: string;\n product_id: number;\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n /** If 'true', reserves the current dynamic fee of Withdraw Collateral V2 instead of the flat fee and returns it as `fee_x18`. Defaults to false. */\n dynamic_fee?: string | null;\n}\n\nexport interface EngineServerMaxOrderSizeQueryParams {\n sender: string;\n product_id: number;\n price_x18: string;\n // Optional average execution price in x18 units.\n // If not given, engine uses `price_x18` for both health stress and cost basis.\n avg_price_x18: string | null;\n // Note: When `reduce_only` is true, `direction` must be opposite of the current position, otherwise it returns 0.\n direction: 'long' | 'short';\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n // If not given, engine defaults to false. If true, the max order size will be capped to the subaccount's current position size;\n // If no position exists, it will return 0.\n reduce_only: string | null;\n isolated: string | null;\n // For isolated, max order size includes available collateral to transfer from parent cross subaccount\n // If not given, engine defaults to true (borrow enabled)\n borrow_margin: string | null;\n}\n\nexport interface EngineServerLinkedSignerParams {\n subaccount: string;\n}\n\nexport interface EngineServerMaxMintNlpQueryParams {\n sender: string;\n // If not given, engine defaults to true (leverage/borrow enabled)\n spot_leverage: string | null;\n}\n\nexport interface EngineServerMaxBurnNlpQueryParams {\n sender: string;\n}\n\nexport interface EngineServerNlpLockedBalancesQueryParams {\n subaccount: string;\n}\n\nexport interface EngineServerQueryRequestByType {\n all_products: Record<string, never>;\n contracts: Record<string, never>;\n /** Params for the `dynamic_fee_quote` query. */\n dynamic_fee_quote: EngineServerDynamicFeeQuoteQueryParams;\n edge_all_products: Record<string, never>;\n fee_rates: EngineServerSubaccountFeeRatesParams;\n health_groups: Record<string, never>;\n insurance: Record<string, never>;\n isolated_positions: EngineServerIsolatedPositionsQueryParams;\n linked_signer: EngineServerLinkedSignerParams;\n market_liquidity: EngineServerMarketLiquidityQueryParams;\n market_price: EngineServerMarketPriceQueryParams;\n market_prices: EngineServerMarketPricesQueryParams;\n max_nlp_burnable: EngineServerMaxBurnNlpQueryParams;\n max_nlp_mintable: EngineServerMaxMintNlpQueryParams;\n max_order_size: EngineServerMaxOrderSizeQueryParams;\n nlp_locked_balances: EngineServerNlpLockedBalancesQueryParams;\n nlp_pool_info: Record<string, never>;\n max_withdrawable: EngineServerMaxWithdrawableQueryParams;\n nonces: EngineServerNoncesParams;\n order: EngineServerGetOrderQueryParams;\n orders: EngineServerOrdersQueryParams;\n status: Record<string, never>;\n subaccount_info: Omit<EngineServerSubaccountInfoQueryParams, 'txns'> & {\n // JSON serialized txns\n txns?: string;\n };\n subaccount_orders: EngineServerSubaccountOrdersQueryParams;\n symbols: EngineServerSymbolsQueryParams;\n validate_order: EngineServerValidateOrderQueryParams;\n}\n\nexport type EngineServerQueryRequestType = keyof EngineServerQueryRequestByType;\n\nexport type EngineServerQueryRequest<\n TRequestType extends EngineServerQueryRequestType,\n> = {\n type: TRequestType;\n} & EngineServerQueryRequestByType[TRequestType];\n\nexport interface EngineServerContractsResponse {\n chain_id: string;\n endpoint_addr: string;\n}\n\n// Unless in active state, engine is not fully operational\nexport const ENGINE_SERVER_STATUS_VALUES = [\n 'started',\n 'active',\n 'stopping',\n 'syncing',\n 'live_syncing',\n 'failed',\n] as const;\n\nexport type EngineServerStatusResponse =\n (typeof ENGINE_SERVER_STATUS_VALUES)[number];\n\nexport interface EngineServerNoncesResponse {\n order_nonce: string;\n tx_nonce: string;\n}\n\nexport interface EngineServerSubaccountInfoResponse extends EngineServerSubaccountInfoState {\n exists: boolean;\n subaccount: string;\n spot_count: number;\n perp_count: number;\n spot_products: EngineServerSpotProduct[];\n perp_products: EngineServerPerpProduct[];\n\n /** This is set if request has `pre_state` flag set to 'true' */\n pre_state: EngineServerSubaccountInfoState | undefined;\n}\n\nexport interface EngineServerSubaccountInfoState {\n healths: [\n initial: EngineServerHealthBreakdown,\n maintenance: EngineServerHealthBreakdown,\n unweighted: EngineServerHealthBreakdown,\n ];\n // First index is product ID, each subarray is of length 3 [initial, maintenance, unweighted]\n health_contributions: string[][];\n spot_balances: EngineServerSpotBalance[];\n perp_balances: EngineServerPerpBalance[];\n}\n\nexport interface EngineServerIsolatedPosition {\n subaccount: string;\n healths: [\n initial: HealthStatus,\n maintenance: HealthStatus,\n unweighted: HealthStatus,\n ];\n quote_healths: [initial: string, maintenance: string, unweighted: string];\n base_healths: [initial: string, maintenance: string, unweighted: string];\n quote_balance: EngineServerSpotBalance;\n base_balance: EngineServerPerpBalance;\n quote_product: EngineServerSpotProduct;\n base_product: EngineServerPerpProduct;\n}\n\nexport type EngineServerIsolatedPositionsResponse = {\n isolated_positions: EngineServerIsolatedPosition[];\n};\n\nexport interface EngineServerSymbol {\n type: EngineServerProductType;\n product_id: number;\n symbol: string;\n price_increment_x18: string;\n size_increment: string;\n min_size: string;\n maker_fee_rate_x18: string;\n taker_fee_rate_x18: string;\n long_weight_initial_x18: string;\n long_weight_maintenance_x18: string;\n // undefined when there is no max open interest limit (always undefined for spot products)\n max_open_interest_x18: string | undefined;\n isolated_only: boolean;\n}\n\nexport interface EngineServerSymbolsResponse {\n symbols: Record<string, EngineServerSymbol>;\n}\n\nexport interface EngineServerAllProductsResponse {\n spot_products: EngineServerSpotProduct[];\n perp_products: EngineServerPerpProduct[];\n}\n\nexport interface EngineServerHealthGroupsResponse {\n health_groups: [spotProductId: number, perpProductId: number][];\n}\n\n// Price, liquidity pairs\nexport type EngineServerPriceTickLiquidity = [\n priceX18: string,\n liquidity: string,\n];\n\nexport interface EngineServerMarketLiquidityResponse {\n bids: EngineServerPriceTickLiquidity[];\n asks: EngineServerPriceTickLiquidity[];\n}\n\nexport interface EngineServerSubaccountOrders {\n sender: string;\n product_id: number;\n orders: EngineServerOrder[];\n}\n\nexport type EngineServerSubaccountOrdersResponse = EngineServerSubaccountOrders;\n\nexport interface EngineServerProductOrdersResponse {\n sender: string;\n product_orders: EngineServerSubaccountOrders[];\n}\n\nexport interface EngineServerFeeRatesResponse {\n liquidation_sequencer_fee: string;\n health_check_sequencer_fee: string;\n taker_sequencer_fee: string;\n // Product ID is the index\n withdraw_sequencer_fees: string[];\n taker_fee_rates_x18: string[];\n maker_fee_rates_x18: string[];\n fee_tier: number;\n}\n\nexport interface EngineServerMarketPrice {\n product_id: number;\n bid_x18: string;\n ask_x18: string;\n}\n\nexport type EngineServerMarketPriceResponse = EngineServerMarketPrice;\n\nexport interface EngineServerMarketPricesResponse {\n market_prices: EngineServerMarketPrice[];\n}\n\nexport type EngineServerOrderResponse = EngineServerOrder;\n\nexport interface EngineServerValidateOrderResponse {\n product_id: number;\n order: string;\n valid: boolean;\n}\n\nexport interface EngineServerMaxOrderSizeResponse {\n max_order_size: string;\n}\n\n/** Response of the `dynamic_fee_quote` query: the fee a V2 withdrawal or transfer would be charged now. */\nexport interface EngineServerDynamicFeeQuoteResponse {\n /** Fee a request would be charged now. Never above `fee_cap_x18`. */\n required_fee_x18: string;\n /** The cap: the flat V1 fee for this withdrawal or transfer. */\n fee_cap_x18: string;\n /** Current V2 demand, from 0 (fee is free) to 1e18 (fee is the cap). The fee grows with it. */\n pressure_x18: string;\n}\n\nexport interface EngineServerMaxWithdrawableResponse {\n max_withdrawable: string;\n /** Only present when `dynamic_fee` is 'true': the dynamic fee reserved. Omitted when the subaccount has no deposits. */\n fee_x18?: string;\n}\n\nexport type EngineServerTimeResponse = number;\n\nexport interface EngineServerIpBlockResponse {\n blocked: boolean;\n reason: string;\n}\n\nexport interface EngineServerLinkedSignerResponse {\n linked_signer: string;\n}\n\nexport interface EngineInsuranceResponse {\n insurance: string;\n}\n\nexport interface EngineServerEdgeAllProductsResponse {\n // chain_id -> EngineServerAllProductsResponse\n edge_all_products: Record<number, EngineServerAllProductsResponse>;\n}\n\nexport interface EngineServerMaxBurnNlpResponse {\n max_nlp_amount: string;\n}\n\nexport interface EngineServerMaxMintNlpResponse {\n max_quote_amount: string;\n}\n\nexport interface EngineServerNlpLockedBalancesResponse {\n balance_locked: EngineServerNlpBalance;\n balance_unlocked: EngineServerNlpBalance;\n locked_balances: EngineServerNlpLockedBalance[];\n}\n\nexport interface EngineServerNlpPool {\n pool_id: number;\n subaccount: string;\n owner: string;\n balance_weight_x18: string;\n subaccount_info: EngineServerSubaccountInfoResponse;\n open_orders: EngineServerOrder[];\n}\n\nexport interface EngineServerNlpPoolInfoResponse {\n nlp_pools: EngineServerNlpPool[];\n}\n\nexport interface EngineServerQueryResponseByType {\n all_products: EngineServerAllProductsResponse;\n contracts: EngineServerContractsResponse;\n /** Response of the `dynamic_fee_quote` query. */\n dynamic_fee_quote: EngineServerDynamicFeeQuoteResponse;\n edge_all_products: EngineServerEdgeAllProductsResponse;\n fee_rates: EngineServerFeeRatesResponse;\n health_groups: EngineServerHealthGroupsResponse;\n insurance: EngineInsuranceResponse;\n isolated_positions: EngineServerIsolatedPositionsResponse;\n linked_signer: EngineServerLinkedSignerResponse;\n market_liquidity: EngineServerMarketLiquidityResponse;\n market_price: EngineServerMarketPriceResponse;\n market_prices: EngineServerMarketPricesResponse;\n max_nlp_burnable: EngineServerMaxBurnNlpResponse;\n max_nlp_mintable: EngineServerMaxMintNlpResponse;\n max_order_size: EngineServerMaxOrderSizeResponse;\n nlp_locked_balances: EngineServerNlpLockedBalancesResponse;\n nlp_pool_info: EngineServerNlpPoolInfoResponse;\n max_withdrawable: EngineServerMaxWithdrawableResponse;\n nonces: EngineServerNoncesResponse;\n order: EngineServerOrderResponse;\n orders: EngineServerProductOrdersResponse;\n status: EngineServerStatusResponse;\n subaccount_info: EngineServerSubaccountInfoResponse;\n subaccount_orders: EngineServerSubaccountOrdersResponse;\n symbols: EngineServerSymbolsResponse;\n validate_order: EngineServerValidateOrderResponse;\n}\n\nexport interface EngineServerQuerySuccessResponse<\n TQueryType extends keyof EngineServerQueryResponseByType =\n EngineServerQueryRequestType,\n> {\n status: 'success';\n data: EngineServerQueryResponseByType[TQueryType];\n}\n\nexport interface EngineServerQueryFailureResponse {\n status: 'failure';\n error: string;\n error_code: number;\n}\n\nexport type EngineServerQueryResponse<\n TQueryType extends keyof EngineServerQueryResponseByType =\n EngineServerQueryRequestType,\n> =\n | EngineServerQuerySuccessResponse<TQueryType>\n | EngineServerQueryFailureResponse;\n"],"mappings":";;AAkMA,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { $ as EngineServerSubaccountOrdersQueryParams, A as EngineServerNlpLockedBalancesQueryParams, B as EngineServerQueryFailureResponse, C as EngineServerMaxBurnNlpResponse, D as EngineServerMaxOrderSizeResponse, E as EngineServerMaxOrderSizeQueryParams, F as EngineServerNoncesResponse, G as EngineServerQueryResponseByType, H as EngineServerQueryRequestByType, I as EngineServerOrderResponse, J as EngineServerSubaccountFeeRatesParams, K as EngineServerQuerySuccessResponse, L as EngineServerOrdersQueryParams, M as EngineServerNlpPool, N as EngineServerNlpPoolInfoResponse, O as EngineServerMaxWithdrawableQueryParams, P as EngineServerNoncesParams, Q as EngineServerSubaccountOrders, R as EngineServerPriceTickLiquidity, S as EngineServerMaxBurnNlpQueryParams, T as EngineServerMaxMintNlpResponse, U as EngineServerQueryRequestType, V as EngineServerQueryRequest, W as EngineServerQueryResponse, X as EngineServerSubaccountInfoResponse, Y as EngineServerSubaccountInfoQueryParams, Z as EngineServerSubaccountInfoState, _ as EngineServerMarketPrice, a as EngineServerEdgeAllProductsResponse, at as EngineServerValidateOrderQueryParams, b as EngineServerMarketPricesQueryParams, c as EngineServerHealthGroupsResponse, d as EngineServerIsolatedPositionsQueryParams, et as EngineServerSubaccountOrdersResponse, f as EngineServerIsolatedPositionsResponse, g as EngineServerMarketLiquidityResponse, h as EngineServerMarketLiquidityQueryParams, i as EngineServerContractsResponse, it as EngineServerTimeResponse, j as EngineServerNlpLockedBalancesResponse, k as EngineServerMaxWithdrawableResponse, l as EngineServerIpBlockResponse, m as EngineServerLinkedSignerResponse, n as EngineInsuranceResponse, nt as EngineServerSymbolsQueryParams, o as EngineServerFeeRatesResponse, ot as EngineServerValidateOrderResponse, p as EngineServerLinkedSignerParams, q as EngineServerStatusResponse, r as EngineServerAllProductsResponse, rt as EngineServerSymbolsResponse, s as EngineServerGetOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSymbol, u as EngineServerIsolatedPosition, v as EngineServerMarketPriceQueryParams, w as EngineServerMaxMintNlpQueryParams, x as EngineServerMarketPricesResponse, y as EngineServerMarketPriceResponse, z as EngineServerProductOrdersResponse } from "../serverQueryTypes-CB0z7-gj.cjs";
2
- export { ENGINE_SERVER_STATUS_VALUES, EngineInsuranceResponse, EngineServerAllProductsResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerFeeRatesResponse, EngineServerGetOrderQueryParams, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrderResponse, EngineServerOrdersQueryParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse };
1
+ import { $ as EngineServerSubaccountInfoState, A as EngineServerMaxWithdrawableQueryParams, B as EngineServerPriceTickLiquidity, C as EngineServerMarketPricesResponse, D as EngineServerMaxMintNlpResponse, E as EngineServerMaxMintNlpQueryParams, F as EngineServerNlpPoolInfoResponse, G as EngineServerQueryRequestType, H as EngineServerQueryFailureResponse, I as EngineServerNoncesParams, J as EngineServerQuerySuccessResponse, K as EngineServerQueryResponse, L as EngineServerNoncesResponse, M as EngineServerNlpLockedBalancesQueryParams, N as EngineServerNlpLockedBalancesResponse, O as EngineServerMaxOrderSizeQueryParams, P as EngineServerNlpPool, Q as EngineServerSubaccountInfoResponse, R as EngineServerOrderResponse, S as EngineServerMarketPricesQueryParams, T as EngineServerMaxBurnNlpResponse, U as EngineServerQueryRequest, V as EngineServerProductOrdersResponse, W as EngineServerQueryRequestByType, X as EngineServerSubaccountFeeRatesParams, Y as EngineServerStatusResponse, Z as EngineServerSubaccountInfoQueryParams, _ as EngineServerMarketLiquidityQueryParams, a as EngineServerDynamicFeeQuoteQueryParams, at as EngineServerSymbolsResponse, b as EngineServerMarketPriceQueryParams, c as EngineServerFeeRatesResponse, ct as EngineServerValidateOrderResponse, d as EngineServerIpBlockResponse, et as EngineServerSubaccountOrders, f as EngineServerIsolatedPosition, g as EngineServerLinkedSignerResponse, h as EngineServerLinkedSignerParams, i as EngineServerContractsResponse, it as EngineServerSymbolsQueryParams, j as EngineServerMaxWithdrawableResponse, k as EngineServerMaxOrderSizeResponse, l as EngineServerGetOrderQueryParams, m as EngineServerIsolatedPositionsResponse, n as EngineInsuranceResponse, nt as EngineServerSubaccountOrdersResponse, o as EngineServerDynamicFeeQuoteResponse, ot as EngineServerTimeResponse, p as EngineServerIsolatedPositionsQueryParams, q as EngineServerQueryResponseByType, r as EngineServerAllProductsResponse, rt as EngineServerSymbol, s as EngineServerEdgeAllProductsResponse, st as EngineServerValidateOrderQueryParams, t as ENGINE_SERVER_STATUS_VALUES, tt as EngineServerSubaccountOrdersQueryParams, u as EngineServerHealthGroupsResponse, v as EngineServerMarketLiquidityResponse, w as EngineServerMaxBurnNlpQueryParams, x as EngineServerMarketPriceResponse, y as EngineServerMarketPrice, z as EngineServerOrdersQueryParams } from "../serverQueryTypes-Z9L5CzzX.cjs";
2
+ export { ENGINE_SERVER_STATUS_VALUES, EngineInsuranceResponse, EngineServerAllProductsResponse, EngineServerContractsResponse, EngineServerDynamicFeeQuoteQueryParams, EngineServerDynamicFeeQuoteResponse, EngineServerEdgeAllProductsResponse, EngineServerFeeRatesResponse, EngineServerGetOrderQueryParams, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrderResponse, EngineServerOrdersQueryParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse };