@nadohq/indexer-client 0.38.0 → 0.42.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 (124) hide show
  1. package/dist/{IndexerBaseClient-DxlRS6pt.cjs → IndexerBaseClient-CSn4twzz.cjs} +37 -2
  2. package/dist/IndexerBaseClient-CSn4twzz.cjs.map +1 -0
  3. package/dist/IndexerBaseClient.cjs +1 -1
  4. package/dist/IndexerBaseClient.d.cts +17 -2
  5. package/dist/IndexerBaseClient.d.cts.map +1 -1
  6. package/dist/IndexerBaseClient.d.ts +17 -2
  7. package/dist/IndexerBaseClient.d.ts.map +1 -1
  8. package/dist/IndexerBaseClient.js +37 -2
  9. package/dist/IndexerBaseClient.js.map +1 -1
  10. package/dist/IndexerClient.cjs +1 -1
  11. package/dist/IndexerClient.d.cts +1 -1
  12. package/dist/IndexerClient.d.ts +1 -1
  13. package/dist/IndexerEventType-BFvrhslw.d.ts +10 -0
  14. package/dist/IndexerEventType-BFvrhslw.d.ts.map +1 -0
  15. package/dist/IndexerEventType-BpH10mEW.d.cts +10 -0
  16. package/dist/IndexerEventType-BpH10mEW.d.cts.map +1 -0
  17. package/dist/{IndexerServerFailureError-ClC8vkmR.d.ts → IndexerServerFailureError-BoGd4gih.d.ts} +2 -2
  18. package/dist/{IndexerServerFailureError-ClC8vkmR.d.ts.map → IndexerServerFailureError-BoGd4gih.d.ts.map} +1 -1
  19. package/dist/{IndexerServerFailureError-BMmMPfFJ.d.cts → IndexerServerFailureError-D-KNqVt3.d.cts} +2 -2
  20. package/dist/{IndexerServerFailureError-BMmMPfFJ.d.cts.map → IndexerServerFailureError-D-KNqVt3.d.cts.map} +1 -1
  21. package/dist/{NadoTx-Bd4U-zDu.d.ts → NadoTx-4BQkGyHz.d.cts} +3 -8
  22. package/dist/NadoTx-4BQkGyHz.d.cts.map +1 -0
  23. package/dist/{NadoTx-C3_f0YvI.d.cts → NadoTx-DPrcN9Eo.d.ts} +3 -8
  24. package/dist/NadoTx-DPrcN9Eo.d.ts.map +1 -0
  25. package/dist/{clientTypes-BLKeWmIr.d.ts → clientTypes-CnswaLwH.d.ts} +107 -5
  26. package/dist/clientTypes-CnswaLwH.d.ts.map +1 -0
  27. package/dist/{clientTypes-QBgifUeV.d.cts → clientTypes-DS2w6Osq.d.cts} +107 -5
  28. package/dist/clientTypes-DS2w6Osq.d.cts.map +1 -0
  29. package/dist/{collateralEventType-s-WbBniE.d.ts → collateralEventType-AJY6oQt6.d.ts} +2 -2
  30. package/dist/collateralEventType-AJY6oQt6.d.ts.map +1 -0
  31. package/dist/{collateralEventType-CNrryEno.d.cts → collateralEventType-f2RJiAwy.d.cts} +2 -2
  32. package/dist/collateralEventType-f2RJiAwy.d.cts.map +1 -0
  33. package/dist/dataMappers.cjs +38 -1
  34. package/dist/dataMappers.cjs.map +1 -1
  35. package/dist/dataMappers.d.cts +10 -4
  36. package/dist/dataMappers.d.cts.map +1 -1
  37. package/dist/dataMappers.d.ts +10 -4
  38. package/dist/dataMappers.d.ts.map +1 -1
  39. package/dist/dataMappers.js +37 -1
  40. package/dist/dataMappers.js.map +1 -1
  41. package/dist/endpoints.cjs +13 -3
  42. package/dist/endpoints.cjs.map +1 -1
  43. package/dist/endpoints.d.cts +7 -2
  44. package/dist/endpoints.d.cts.map +1 -1
  45. package/dist/endpoints.d.ts +7 -2
  46. package/dist/endpoints.d.ts.map +1 -1
  47. package/dist/endpoints.js +13 -4
  48. package/dist/endpoints.js.map +1 -1
  49. package/dist/index.cjs +4 -1
  50. package/dist/index.d.cts +11 -11
  51. package/dist/index.d.ts +11 -11
  52. package/dist/index.js +3 -2
  53. package/dist/{indexerBalanceValue-ZJec8hfI.d.ts → indexerBalanceValue-DV3dtvyV.d.ts} +2 -2
  54. package/dist/{indexerBalanceValue-ZJec8hfI.d.ts.map → indexerBalanceValue-DV3dtvyV.d.ts.map} +1 -1
  55. package/dist/{indexerBalanceValue-DqMAvUsj.d.cts → indexerBalanceValue-yMyf537D.d.cts} +2 -2
  56. package/dist/{indexerBalanceValue-DqMAvUsj.d.cts.map → indexerBalanceValue-yMyf537D.d.cts.map} +1 -1
  57. package/dist/{paginatedEventsTypes-D668Hgzl.d.ts → paginatedEventsTypes-BT--OHd5.d.ts} +4 -4
  58. package/dist/{paginatedEventsTypes-D668Hgzl.d.ts.map → paginatedEventsTypes-BT--OHd5.d.ts.map} +1 -1
  59. package/dist/{paginatedEventsTypes-4I9Ibp9q.d.cts → paginatedEventsTypes-DZllHmqY.d.cts} +4 -4
  60. package/dist/{paginatedEventsTypes-4I9Ibp9q.d.cts.map → paginatedEventsTypes-DZllHmqY.d.cts.map} +1 -1
  61. package/dist/{serverModelTypes-BAZNgoLE.d.ts → serverModelTypes-B78obnnd.d.ts} +40 -4
  62. package/dist/serverModelTypes-B78obnnd.d.ts.map +1 -0
  63. package/dist/{serverModelTypes-DC4dsX9i.d.cts → serverModelTypes-vhALknbV.d.cts} +40 -4
  64. package/dist/serverModelTypes-vhALknbV.d.cts.map +1 -0
  65. package/dist/{serverTypes-DeUDMCog.d.cts → serverTypes-CyqBF-nt.d.cts} +29 -5
  66. package/dist/serverTypes-CyqBF-nt.d.cts.map +1 -0
  67. package/dist/{serverTypes-BQafrknp.d.ts → serverTypes-Dod9cCEW.d.ts} +29 -5
  68. package/dist/serverTypes-Dod9cCEW.d.ts.map +1 -0
  69. package/dist/types/IndexerEventType.cjs +23 -0
  70. package/dist/types/IndexerEventType.cjs.map +1 -0
  71. package/dist/types/IndexerEventType.d.cts +2 -2
  72. package/dist/types/IndexerEventType.d.ts +2 -2
  73. package/dist/types/IndexerEventType.js +22 -1
  74. package/dist/types/IndexerEventType.js.map +1 -0
  75. package/dist/types/IndexerServerFailureError.cjs +1 -1
  76. package/dist/types/IndexerServerFailureError.d.cts +1 -1
  77. package/dist/types/IndexerServerFailureError.d.ts +1 -1
  78. package/dist/types/NadoTx.d.cts +2 -2
  79. package/dist/types/NadoTx.d.ts +2 -2
  80. package/dist/types/clientTypes.d.cts +2 -2
  81. package/dist/types/clientTypes.d.ts +2 -2
  82. package/dist/types/collateralEventType.d.cts +1 -1
  83. package/dist/types/collateralEventType.d.ts +1 -1
  84. package/dist/types/index.cjs +2 -0
  85. package/dist/types/index.d.cts +9 -9
  86. package/dist/types/index.d.ts +9 -9
  87. package/dist/types/index.js +2 -1
  88. package/dist/types/indexerErrorCodes.cjs +1 -1
  89. package/dist/types/paginatedEventsTypes.d.cts +1 -1
  90. package/dist/types/paginatedEventsTypes.d.ts +1 -1
  91. package/dist/types/serverModelTypes.d.cts +2 -2
  92. package/dist/types/serverModelTypes.d.ts +2 -2
  93. package/dist/types/serverTypes.cjs.map +1 -1
  94. package/dist/types/serverTypes.d.cts +2 -2
  95. package/dist/types/serverTypes.d.ts +2 -2
  96. package/dist/types/serverTypes.js.map +1 -1
  97. package/dist/utils/index.d.cts +1 -1
  98. package/dist/utils/index.d.ts +1 -1
  99. package/dist/utils/indexerBalanceValue.d.cts +1 -1
  100. package/dist/utils/indexerBalanceValue.d.ts +1 -1
  101. package/package.json +4 -4
  102. package/src/IndexerBaseClient.ts +55 -2
  103. package/src/dataMappers.ts +41 -0
  104. package/src/endpoints.ts +13 -3
  105. package/src/types/IndexerEventType.ts +19 -11
  106. package/src/types/NadoTx.ts +0 -7
  107. package/src/types/clientTypes.ts +106 -0
  108. package/src/types/serverModelTypes.ts +59 -0
  109. package/src/types/serverTypes.ts +33 -0
  110. package/dist/IndexerBaseClient-DxlRS6pt.cjs.map +0 -1
  111. package/dist/IndexerEventType-9GB2zRoN.d.cts +0 -5
  112. package/dist/IndexerEventType-9GB2zRoN.d.cts.map +0 -1
  113. package/dist/IndexerEventType-Brm9aX8w.d.ts +0 -5
  114. package/dist/IndexerEventType-Brm9aX8w.d.ts.map +0 -1
  115. package/dist/NadoTx-Bd4U-zDu.d.ts.map +0 -1
  116. package/dist/NadoTx-C3_f0YvI.d.cts.map +0 -1
  117. package/dist/clientTypes-BLKeWmIr.d.ts.map +0 -1
  118. package/dist/clientTypes-QBgifUeV.d.cts.map +0 -1
  119. package/dist/collateralEventType-CNrryEno.d.cts.map +0 -1
  120. package/dist/collateralEventType-s-WbBniE.d.ts.map +0 -1
  121. package/dist/serverModelTypes-BAZNgoLE.d.ts.map +0 -1
  122. package/dist/serverModelTypes-DC4dsX9i.d.cts.map +0 -1
  123. package/dist/serverTypes-BQafrknp.d.ts.map +0 -1
  124. package/dist/serverTypes-DeUDMCog.d.cts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"paginatedEventsTypes-D668Hgzl.d.ts","names":[],"sources":["../src/types/src/types/paginatedEventsTypes.ts"],"mappings":";;;;;;;UAmBiB,uBAAA;EACf,KAAA;EAEA,WAAW;AAAA;AAAA,UAGI,qBAAA;EACf,OAAA;EACA,UAAU;AAAA;AAAA,KAGA,kBAAA;EAAuB,IAAA,EAAM,qBAAqB;AAAA;AAAA,KAEzD,8BAAA,GAAiC,UAAA,GACpC,uBAAuB;EAHb;;;;EAQR,qBAAA;AAAA;AAAA,UAGa,yBAAA,SAAkC,UAAA;EACjD,SAAA,EAAW,SAAA;EACX,eAAA;EACA,EAAA,EAAI,MAAA;AAAA;AAAA,UAGW,8BAAA,WACL,yBAAA,UACF,kBAAA;EACR,MAAA,EAAQ,CAAA;AAAA;AATV;;;AAAA,UAgBiB,0CAAA,SAAmD,8BAA8B;EAChG,UAAA,GAAa,mBAAA;EAEb,QAAA;AAAA;AAAA,UAGe,sBAAA,SAA+B,yBAAA;EAC9C,SAAA,EAAW,mBAAA;EAEX,MAAA,EAAQ,SAAA;EAER,SAAA,EAAW,SAAA;EACX,QAAA,EAAU,6BAAA;AAAA;AAAA,KAGA,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AA7BrB;AAGZ;KA+BY,mCAAA,GACV,8BAA8B;AAAA,UAEf,eAAA,SAAwB,yBAAA;EACvC,QAAA,EAAU,SAAA;EACV,iBAAA,EAAmB,SAAA;AAAA;AAAA,KAGT,qCAAA,GACV,8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A,UAGlB,uBAAA,SAAgC,yBAAA;EAG/C,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAEF,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAIF,KAAA,EAAO,gBAAA;IAEH,YAAA,EAAc,SAAA;EAAA,GAEhB,6BAAA;AAAA;AAAA,KAIQ,6CAAA,GACV,8BAA8B,CAAC,uBAAA;;;;KAMrB,0CAAA,GACV,8BAA8B;AAAA,UAEf,sBAAA,SAA+B,yBAAA;EAE9C,UAAA,EAAY,SAAA;EACZ,QAAA,EAAU,6BAAA;EACV,QAAA;AAAA;AAAA,KAGU,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AApGsB;AAKvD;KAqGY,iDAAA,GACV,8BAAA,GACE,IAAA,CAAK,uCAAA;AAAA,UAEQ,kDAAA,SAA2D,yCAAyC;EACnH,IAAA,EAAM,qBAAA;AAAA;AAAA,KAGI,oCAAA,GAAuC,uBAAA,GACjD,IAAA,CAAK,2BAAA;AAAA,KAEK,sCAAA,GAAyC,kBAAA,GACnD,6BAA6B"}
@@ -1,6 +1,6 @@
1
- import { o as NadoTx } from "./NadoTx-C3_f0YvI.cjs";
2
- import { C as GetIndexerInterestFundingPaymentsResponse, E as GetIndexerLeaderboardParams, Ft as IndexerEventWithTx, Kt as IndexerMatchEvent, Mt as IndexerEventBalanceStateSnapshot, Nt as IndexerEventPerpStateSnapshot, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, R as GetIndexerMatchEventsParams, S as GetIndexerInterestFundingPaymentsParams, Xt as IndexerOrder, j as GetIndexerLeaderboardResponse } from "./clientTypes-QBgifUeV.cjs";
3
- import { t as CollateralEventType } from "./collateralEventType-CNrryEno.cjs";
1
+ import { a as NadoTx } from "./NadoTx-4BQkGyHz.cjs";
2
+ import { C as GetIndexerInterestFundingPaymentsResponse, E as GetIndexerLeaderboardParams, Ft as IndexerEventPerpStateSnapshot, It as IndexerEventSpotStateSnapshot, Jt as IndexerMatchEvent, Lt as IndexerEventWithTx, Pt as IndexerEventBalanceStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerOrder, R as GetIndexerMatchEventsParams, S as GetIndexerInterestFundingPaymentsParams, j as GetIndexerLeaderboardResponse } from "./clientTypes-DS2w6Osq.cjs";
3
+ import { t as CollateralEventType } from "./collateralEventType-f2RJiAwy.cjs";
4
4
  import { Subaccount } from "@nadohq/shared";
5
5
  import BigNumber from "bignumber.js";
6
6
 
@@ -107,4 +107,4 @@ type GetIndexerPaginatedLeaderboardParams = IndexerPaginationParams & Pick<GetIn
107
107
  type GetIndexerPaginatedLeaderboardResponse = WithPaginationMeta & GetIndexerLeaderboardResponse;
108
108
  //#endregion
109
109
  export { IndexerSettlementEvent as C, IndexerPaginationParams as S, WithPaginationMeta as T, GetIndexerSubaccountSettlementEventsResponse as _, GetIndexerPaginatedOrdersParams as a, IndexerNlpEvent as b, GetIndexerSubaccountCollateralEventsResponse as c, GetIndexerSubaccountLiquidationEventsResponse as d, GetIndexerSubaccountMatchEventParams as f, GetIndexerSubaccountSettlementEventsParams as g, GetIndexerSubaccountNlpEventsResponse as h, GetIndexerPaginatedLeaderboardResponse as i, GetIndexerSubaccountInterestFundingPaymentsParams as l, GetIndexerSubaccountNlpEventsParams as m, GetIndexerPaginatedInterestFundingPaymentsResponse as n, GetIndexerPaginatedOrdersResponse as o, GetIndexerSubaccountMatchEventsResponse as p, GetIndexerPaginatedLeaderboardParams as r, GetIndexerSubaccountCollateralEventsParams as s, BaseIndexerPaginatedEvent as t, GetIndexerSubaccountLiquidationEventsParams as u, IndexerCollateralEvent as v, PaginatedIndexerEventsResponse as w, IndexerPaginationMeta as x, IndexerLiquidationEvent as y };
110
- //# sourceMappingURL=paginatedEventsTypes-4I9Ibp9q.d.cts.map
110
+ //# sourceMappingURL=paginatedEventsTypes-DZllHmqY.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"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8BAA8B;AAAA,UAEf,sBAAA,SAA+B,yBAAA;EAE9C,UAAA,EAAY,SAAA;EACZ,QAAA,EAAU,6BAAA;EACV,QAAA;AAAA;AAAA,KAGU,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AApGsB;AAKvD;KAqGY,iDAAA,GACV,8BAAA,GACE,IAAA,CAAK,uCAAA;AAAA,UAEQ,kDAAA,SAA2D,yCAAyC;EACnH,IAAA,EAAM,qBAAA;AAAA;AAAA,KAGI,oCAAA,GAAuC,uBAAA,GACjD,IAAA,CAAK,2BAAA;AAAA,KAEK,sCAAA,GAAyC,kBAAA,GACnD,6BAA6B"}
@@ -1,6 +1,6 @@
1
- import { t as IndexerEventType } from "./IndexerEventType-Brm9aX8w.js";
1
+ import { n as IndexerEventType } from "./IndexerEventType-BFvrhslw.js";
2
2
  import { t as IndexerLeaderboardRankType } from "./IndexerLeaderboardType-DAKw2tfI.js";
3
- import { o as NadoTx } from "./NadoTx-Bd4U-zDu.js";
3
+ import { a as NadoTx } from "./NadoTx-DPrcN9Eo.js";
4
4
  import { EIP712OrderValues } from "@nadohq/shared";
5
5
  import { EngineServerPerpBalance, EngineServerPerpProduct, EngineServerSpotBalance, EngineServerSpotProduct } from "@nadohq/engine-client";
6
6
 
@@ -134,6 +134,42 @@ interface IndexerServerMatchEventBalances {
134
134
  base: IndexerServerBalance;
135
135
  quote?: IndexerServerBalance;
136
136
  }
137
+ /**
138
+ * Positions
139
+ */
140
+ /**
141
+ * A single historical position. All amount fields are absolute values; the side of the
142
+ * position is given by `direction`.
143
+ */
144
+ interface IndexerServerPosition {
145
+ subaccount: string;
146
+ product_id: number;
147
+ isolated: boolean;
148
+ direction: boolean;
149
+ open_id: string;
150
+ close_id: string;
151
+ submission_idx: string;
152
+ amount: string;
153
+ max_amount: string;
154
+ total_open_amount: string;
155
+ total_close_amount: string;
156
+ average_entry_price: string;
157
+ average_exit_price: string;
158
+ liquidated_amount: string;
159
+ max_isolated_leverage_x18: string;
160
+ open_fee: string;
161
+ close_fee: string;
162
+ realized_pnl: string;
163
+ open_timestamp: string;
164
+ update_timestamp: string;
165
+ open_reason: IndexerEventType;
166
+ close_reason: IndexerEventType | null;
167
+ net_funding_payment: string;
168
+ net_interest_payment: string;
169
+ open_digest: string | null;
170
+ close_digest: string | null;
171
+ net_entry_unrealized: string;
172
+ }
137
173
  /**
138
174
  * Oracle price
139
175
  */
@@ -264,5 +300,5 @@ interface IndexerServerNlpSnapshot {
264
300
  tvl: string;
265
301
  }
266
302
  //#endregion
267
- export { IndexerServerTx as C, IndexerServerSocialAccount as S, IndexerServerOrder as _, IndexerServerLeaderboardContestTrack as a, IndexerServerProductSnapshot as b, IndexerServerLeaderboardTrackPosition as c, IndexerServerMarketSnapshot as d, IndexerServerMarketSnapshotInterval as f, IndexerServerOraclePrice as g, IndexerServerNlpSnapshot as h, IndexerServerLeaderboardContest as i, IndexerServerMaker as l, IndexerServerMatchEventBalances as m, IndexerServerCandlestick as n, IndexerServerLeaderboardPosition as o, IndexerServerMatchEvent as p, IndexerServerEvent as r, IndexerServerLeaderboardRegistration as s, IndexerServerBalance as t, IndexerServerMakerData as u, IndexerServerProduct as v, IndexerServerSnapshotsInterval as x, IndexerServerProductPayment as y };
268
- //# sourceMappingURL=serverModelTypes-BAZNgoLE.d.ts.map
303
+ export { IndexerServerSocialAccount as C, IndexerServerSnapshotsInterval as S, IndexerServerOrder as _, IndexerServerLeaderboardContestTrack as a, IndexerServerProductPayment as b, IndexerServerLeaderboardTrackPosition as c, IndexerServerMarketSnapshot as d, IndexerServerMarketSnapshotInterval as f, IndexerServerOraclePrice as g, IndexerServerNlpSnapshot as h, IndexerServerLeaderboardContest as i, IndexerServerMaker as l, IndexerServerMatchEventBalances as m, IndexerServerCandlestick as n, IndexerServerLeaderboardPosition as o, IndexerServerMatchEvent as p, IndexerServerEvent as r, IndexerServerLeaderboardRegistration as s, IndexerServerBalance as t, IndexerServerMakerData as u, IndexerServerPosition as v, IndexerServerTx as w, IndexerServerProductSnapshot as x, IndexerServerProduct as y };
304
+ //# sourceMappingURL=serverModelTypes-B78obnnd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-B78obnnd.d.ts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;;UAWiB,8BAAA;EACf,KAAA;EAEA,WAAA;EACA,QAAA;AAAA;AAAA,KAGU,oBAAA;EAEN,IAAA,EAAM,uBAAA;AAAA;EAGN,IAAA,EAAM,uBAAuB;AAAA;AAAA,KAGvB,oBAAA;EAEN,IAAA,EAAM,uBAAA;AAAA;EAGN,IAAA,EAAM,uBAAuB;AAAA;;;;UAOlB,wBAAA;EACf,UAAA;EACA,WAAA;EACA,cAAA;EACA,SAAA;EACA,QAAA;EACA,QAAA;EACA,OAAA;EACA,SAAA;EACA,MAAA;AAAA;;AAhBiC;AAOnC;UAgBiB,4BAAA;EACf,UAAA;EACA,cAAA;EACA,OAAA,EAAS,oBAAoB;AAAA;;;;UAOd,kBAAA;EACf,UAAA;EACA,QAAA;EAEA,mBAAA;EACA,UAAA;EACA,cAAA;EACA,UAAA,EAAY,gBAAA;EACZ,WAAA,EAAa,oBAAA;EACb,YAAA,EAAc,oBAAA;EACd,OAAA,EAAS,oBAAA;EACT,uBAAA;EACA,uBAAA;EACA,sBAAA;EACA,sBAAA;EACA,oBAAA;EACA,oBAAA;EAhBe;;;EAoBf,uBAAA;EAZa;;;;EAiBb,sBAAA;AAAA;AAAA,UAGe,eAAA;EACf,cAAA;EACA,SAAA;EACA,EAAA,EAAI,MAAM;AAAA;;;;UAOK,kBAAA;EACf,MAAA;EACA,UAAA;EACA,UAAA;EACA,cAAA;EACA,wBAAA;EACA,MAAA;EACA,SAAA;EACA,UAAA;EACA,QAAA;EACA,KAAA;EACA,QAAA;EACA,WAAA;EAEA,YAAA;EAEA,GAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EAEA,gBAAA;EAEA,aAAA;EAEA,oBAAA;EAEA,mBAAA;EAC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6 +1,6 @@
1
- import { t as IndexerEventType } from "./IndexerEventType-9GB2zRoN.cjs";
1
+ import { n as IndexerEventType } from "./IndexerEventType-BpH10mEW.cjs";
2
2
  import { t as IndexerLeaderboardRankType } from "./IndexerLeaderboardType-Ck12QVWR.cjs";
3
- import { o as NadoTx } from "./NadoTx-C3_f0YvI.cjs";
3
+ import { a as NadoTx } from "./NadoTx-4BQkGyHz.cjs";
4
4
  import { EIP712OrderValues } from "@nadohq/shared";
5
5
  import { EngineServerPerpBalance, EngineServerPerpProduct, EngineServerSpotBalance, EngineServerSpotProduct } from "@nadohq/engine-client";
6
6
 
@@ -134,6 +134,42 @@ interface IndexerServerMatchEventBalances {
134
134
  base: IndexerServerBalance;
135
135
  quote?: IndexerServerBalance;
136
136
  }
137
+ /**
138
+ * Positions
139
+ */
140
+ /**
141
+ * A single historical position. All amount fields are absolute values; the side of the
142
+ * position is given by `direction`.
143
+ */
144
+ interface IndexerServerPosition {
145
+ subaccount: string;
146
+ product_id: number;
147
+ isolated: boolean;
148
+ direction: boolean;
149
+ open_id: string;
150
+ close_id: string;
151
+ submission_idx: string;
152
+ amount: string;
153
+ max_amount: string;
154
+ total_open_amount: string;
155
+ total_close_amount: string;
156
+ average_entry_price: string;
157
+ average_exit_price: string;
158
+ liquidated_amount: string;
159
+ max_isolated_leverage_x18: string;
160
+ open_fee: string;
161
+ close_fee: string;
162
+ realized_pnl: string;
163
+ open_timestamp: string;
164
+ update_timestamp: string;
165
+ open_reason: IndexerEventType;
166
+ close_reason: IndexerEventType | null;
167
+ net_funding_payment: string;
168
+ net_interest_payment: string;
169
+ open_digest: string | null;
170
+ close_digest: string | null;
171
+ net_entry_unrealized: string;
172
+ }
137
173
  /**
138
174
  * Oracle price
139
175
  */
@@ -264,5 +300,5 @@ interface IndexerServerNlpSnapshot {
264
300
  tvl: string;
265
301
  }
266
302
  //#endregion
267
- export { IndexerServerTx as C, IndexerServerSocialAccount as S, IndexerServerOrder as _, IndexerServerLeaderboardContestTrack as a, IndexerServerProductSnapshot as b, IndexerServerLeaderboardTrackPosition as c, IndexerServerMarketSnapshot as d, IndexerServerMarketSnapshotInterval as f, IndexerServerOraclePrice as g, IndexerServerNlpSnapshot as h, IndexerServerLeaderboardContest as i, IndexerServerMaker as l, IndexerServerMatchEventBalances as m, IndexerServerCandlestick as n, IndexerServerLeaderboardPosition as o, IndexerServerMatchEvent as p, IndexerServerEvent as r, IndexerServerLeaderboardRegistration as s, IndexerServerBalance as t, IndexerServerMakerData as u, IndexerServerProduct as v, IndexerServerSnapshotsInterval as x, IndexerServerProductPayment as y };
268
- //# sourceMappingURL=serverModelTypes-DC4dsX9i.d.cts.map
303
+ export { IndexerServerSocialAccount as C, IndexerServerSnapshotsInterval as S, IndexerServerOrder as _, IndexerServerLeaderboardContestTrack as a, IndexerServerProductPayment as b, IndexerServerLeaderboardTrackPosition as c, IndexerServerMarketSnapshot as d, IndexerServerMarketSnapshotInterval as f, IndexerServerOraclePrice as g, IndexerServerNlpSnapshot as h, IndexerServerLeaderboardContest as i, IndexerServerMaker as l, IndexerServerMatchEventBalances as m, IndexerServerCandlestick as n, IndexerServerLeaderboardPosition as o, IndexerServerMatchEvent as p, IndexerServerEvent as r, IndexerServerLeaderboardRegistration as s, IndexerServerBalance as t, IndexerServerMakerData as u, IndexerServerPosition as v, IndexerServerTx as w, IndexerServerProductSnapshot as x, IndexerServerProduct as y };
304
+ //# sourceMappingURL=serverModelTypes-vhALknbV.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-vhALknbV.d.cts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;;UAWiB,8BAAA;EACf,KAAA;EAEA,WAAA;EACA,QAAA;AAAA;AAAA,KAGU,oBAAA;EAEN,IAAA,EAAM,uBAAA;AAAA;EAGN,IAAA,EAAM,uBAAuB;AAAA;AAAA,KAGvB,oBAAA;EAEN,IAAA,EAAM,uBAAA;AAAA;EAGN,IAAA,EAAM,uBAAuB;A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EACA,OAAA;EACA,WAAA;EACA,qBAAA;AAAA;AAAA,UAGe,kBAAA;EACf,OAAA;EACA,IAAA,EAAM,sBAAsB;AAAA;;;;UAOb,0BAAA;EACf,QAAA;EACA,QAAA;EACA,YAAA;EACA,iBAAA;AAAA;AAAA,UAGe,qCAAA;EACf,KAAA;EACA,IAAA;EACA,oBAAA;AAAA;AAAA,UAOe,oCAAA;EACf,QAAA;EACA,SAAA,EAAW,0BAA0B;EACrC,UAAA;EACA,SAAA;EACA,gBAAA;AAAA;AAAA,UAGe,gCAAA;EACf,UAAA;EACA,UAAA;EACA,aAAA;EACA,WAAA;EACA,MAAA,EAAQ,OAAA,CACN,MAAA,CAAO,0BAAA,EAA4B,qCAAA;EAErC,eAAA,EAAiB,0BAAA;AAAA;AAAA,UAGF,+BAAA;EACf,UAAA;EACA,UAAA;EACA,QAAA;EACA,KAAA;EACA,YAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;EACA,WAAA;EACA,MAAA,EAAQ,oCAAoC;AAAA;AAAA,UAG7B,oCAAA;EACf,UAAA;EACA,UAAA;EACA,WAAA;AAAA;;;;UAOe,wBAAA;EACf,qBAAA;EACA,qBAAA;EACA,cAAA;EACA,iBAAA;EACA,iBAAA;EACA,UAAA;EACA,gBAAA;EACA,cAAA;EACA,SAAA;EACA,GAAA;AAAA"}
@@ -1,7 +1,7 @@
1
- import { t as IndexerEventType } from "./IndexerEventType-9GB2zRoN.cjs";
1
+ import { n as IndexerEventType } from "./IndexerEventType-BpH10mEW.cjs";
2
2
  import { t as IndexerLeaderboardRankType } from "./IndexerLeaderboardType-Ck12QVWR.cjs";
3
- import { c as NadoWithdrawCollateralV2Tx, s as NadoWithdrawCollateralTx } from "./NadoTx-C3_f0YvI.cjs";
4
- import { C as IndexerServerTx, S as IndexerServerSocialAccount, _ as IndexerServerOrder, b as IndexerServerProductSnapshot, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "./serverModelTypes-DC4dsX9i.cjs";
3
+ import { o as NadoWithdrawCollateralTx, s as NadoWithdrawCollateralV2Tx } from "./NadoTx-4BQkGyHz.cjs";
4
+ import { C as IndexerServerSocialAccount, S as IndexerServerSnapshotsInterval, _ as IndexerServerOrder, b as IndexerServerProductPayment, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, v as IndexerServerPosition, w as IndexerServerTx, x as IndexerServerProductSnapshot } from "./serverModelTypes-vhALknbV.cjs";
5
5
  import { EIP712LeaderboardAuthenticationValues, EIP712SocialAuthenticationValues, SignedTx } from "@nadohq/shared";
6
6
 
7
7
  //#region src/types/serverTypes.d.ts
@@ -95,6 +95,17 @@ interface IndexerServerMatchEventsParams {
95
95
  limit: number;
96
96
  idx?: string;
97
97
  }
98
+ /**
99
+ * Params for the positions query. All parameters except `subaccount` are optional filters.
100
+ */
101
+ interface IndexerServerPositionsParams {
102
+ subaccount: string;
103
+ product_id?: number;
104
+ isolated?: boolean;
105
+ open?: boolean;
106
+ idx?: number | string;
107
+ limit?: number;
108
+ }
98
109
  interface IndexerServerLinkedSignerParams {
99
110
  subaccount: string;
100
111
  }
@@ -197,6 +208,7 @@ interface IndexerServerQueryRequestByType {
197
208
  orders: IndexerServerOrdersParams;
198
209
  perp_prices: IndexerServerPerpPricesParams;
199
210
  portfolio: IndexerServerPortfolioParams;
211
+ positions: IndexerServerPositionsParams;
200
212
  price: IndexerServerPriceParams;
201
213
  product_snapshots: IndexerServerMultiProductsParams;
202
214
  products: IndexerServerProductsParams;
@@ -290,6 +302,17 @@ interface IndexerServerMatchEventsResponse {
290
302
  matches: IndexerServerMatchEvent[];
291
303
  txs: IndexerServerTx[];
292
304
  }
305
+ /**
306
+ * Response for the positions query. Positions are in descending order by `open_id`.
307
+ * `events` / `txs` are the events and transactions at each position's boundaries
308
+ * (open and close, or open and latest update while still open), joined to positions
309
+ * via `open_id` / `close_id` / `submission_idx`.
310
+ */
311
+ interface IndexerServerPositionsResponse {
312
+ positions: IndexerServerPosition[];
313
+ events: IndexerServerEvent[];
314
+ txs: IndexerServerTx[];
315
+ }
293
316
  interface IndexerServerQuotePriceResponse {
294
317
  price_x18: string;
295
318
  }
@@ -491,6 +514,7 @@ interface IndexerServerQueryResponseByType {
491
514
  orders: IndexerServerOrdersResponse;
492
515
  perp_prices: IndexerServerPerpPricesResponse;
493
516
  portfolio: IndexerServerPortfolioResponse;
517
+ positions: IndexerServerPositionsResponse;
494
518
  price: IndexerServerPriceResponse;
495
519
  product_snapshots: IndexerServerMultiProductsResponse;
496
520
  products: IndexerServerProductsResponse;
@@ -607,5 +631,5 @@ interface IndexerServerFailureResponse {
607
631
  */
608
632
  declare function isIndexerServerFailureResponse(data: unknown): data is IndexerServerFailureResponse;
609
633
  //#endregion
610
- export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsResponse as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerProductsParams as At, IndexerServerLeaderboardParams as B, IndexerServerSocialAccountsResponse as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPriceResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPriceParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQuotePriceResponse as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerV2Symbol as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialConnectResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerReferralCodeParams as It, IndexerServerLinkedSignerParams as J, IndexerServerV2TickersResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2SymbolsResponse as Kt, IndexerServerInterestFundingResponse as L, IndexerServerReferralCodeResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerQueryRequestByType as Mt, IndexerServerFundingRateResponse as N, IndexerServerQueryRequestType as Nt, IndexerServerFundingRate as O, IndexerServerPrivateAlphaChoiceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryResponseByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsQuest as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerRequestType as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerTriggerTypeFilter as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerSocialConnectParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerV2MarketHours as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerXPointsEpoch as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerXPointsAllTime as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsParams as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, isIndexerServerFailureResponse as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerProductsResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPrivateAlphaChoiceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2TickerResponse as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerRevokeSocialAccountParams as zt };
611
- //# sourceMappingURL=serverTypes-DeUDMCog.d.cts.map
634
+ export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsParams as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerPrivateAlphaChoiceParams as At, IndexerServerLeaderboardParams as B, IndexerServerRequestType as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPositionsResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPositionsParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQueryRequestType as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerTriggerTypeFilter as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialAccountsResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerQueryResponseByType as It, IndexerServerLinkedSignerParams as J, IndexerServerV2SymbolsResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2MarketHours as Kt, IndexerServerInterestFundingResponse as L, IndexerServerQuotePriceResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerProductsParams as Mt, IndexerServerFundingRateResponse as N, IndexerServerProductsResponse as Nt, IndexerServerFundingRate as O, IndexerServerPriceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryRequestByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsEpoch as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerReferralCodeParams as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerSocialConnectParams as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerRevokeSocialAccountParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerSocialConnectResponse as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerV2TickersResponse as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerV2TickerResponse as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsAllTime as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, IndexerServerXPointsQuest as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerPrivateAlphaChoiceResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPriceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, isIndexerServerFailureResponse as nn, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2Symbol as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerXPointsResponse as tn, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerReferralCodeResponse as zt };
635
+ //# sourceMappingURL=serverTypes-CyqBF-nt.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverTypes-CyqBF-nt.d.cts","names":[],"sources":["../src/types/src/types/serverTypes.ts"],"mappings":";;;;;;;;;AAiCA;UAAiB,kCAAA;EAEf,KAAA;EAEA,KAAA;EACA,OAAA;AAAA;A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AAc,0BAA0B;EArXxC;;;;EA0XA,UAAA;EAzXoB;AAGtB;;EA0XE,gBAAA;EAzXA;AAA0B;AAG5B;EA0XE,gBAAA;AAAA;;;;;KAOU,8BAAA,GAAiC,MAAM,SAEjD,qBAAA;;AAjYoB;AAStB;;;;KAiYY,wBAAA;;;;;;;;;;UAWK,4BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,wBAAwB;AAAA;AAzY7B;AAGX;;AAHW,iBA+YK,8BAAA,CACd,IAAA,YACC,IAAA,IAAQ,4BAA4B"}
@@ -1,7 +1,7 @@
1
- import { t as IndexerEventType } from "./IndexerEventType-Brm9aX8w.js";
1
+ import { n as IndexerEventType } from "./IndexerEventType-BFvrhslw.js";
2
2
  import { t as IndexerLeaderboardRankType } from "./IndexerLeaderboardType-DAKw2tfI.js";
3
- import { c as NadoWithdrawCollateralV2Tx, s as NadoWithdrawCollateralTx } from "./NadoTx-Bd4U-zDu.js";
4
- import { C as IndexerServerTx, S as IndexerServerSocialAccount, _ as IndexerServerOrder, b as IndexerServerProductSnapshot, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "./serverModelTypes-BAZNgoLE.js";
3
+ import { o as NadoWithdrawCollateralTx, s as NadoWithdrawCollateralV2Tx } from "./NadoTx-DPrcN9Eo.js";
4
+ import { C as IndexerServerSocialAccount, S as IndexerServerSnapshotsInterval, _ as IndexerServerOrder, b as IndexerServerProductPayment, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, v as IndexerServerPosition, w as IndexerServerTx, x as IndexerServerProductSnapshot } from "./serverModelTypes-B78obnnd.js";
5
5
  import { EIP712LeaderboardAuthenticationValues, EIP712SocialAuthenticationValues, SignedTx } from "@nadohq/shared";
6
6
 
7
7
  //#region src/types/serverTypes.d.ts
@@ -95,6 +95,17 @@ interface IndexerServerMatchEventsParams {
95
95
  limit: number;
96
96
  idx?: string;
97
97
  }
98
+ /**
99
+ * Params for the positions query. All parameters except `subaccount` are optional filters.
100
+ */
101
+ interface IndexerServerPositionsParams {
102
+ subaccount: string;
103
+ product_id?: number;
104
+ isolated?: boolean;
105
+ open?: boolean;
106
+ idx?: number | string;
107
+ limit?: number;
108
+ }
98
109
  interface IndexerServerLinkedSignerParams {
99
110
  subaccount: string;
100
111
  }
@@ -197,6 +208,7 @@ interface IndexerServerQueryRequestByType {
197
208
  orders: IndexerServerOrdersParams;
198
209
  perp_prices: IndexerServerPerpPricesParams;
199
210
  portfolio: IndexerServerPortfolioParams;
211
+ positions: IndexerServerPositionsParams;
200
212
  price: IndexerServerPriceParams;
201
213
  product_snapshots: IndexerServerMultiProductsParams;
202
214
  products: IndexerServerProductsParams;
@@ -290,6 +302,17 @@ interface IndexerServerMatchEventsResponse {
290
302
  matches: IndexerServerMatchEvent[];
291
303
  txs: IndexerServerTx[];
292
304
  }
305
+ /**
306
+ * Response for the positions query. Positions are in descending order by `open_id`.
307
+ * `events` / `txs` are the events and transactions at each position's boundaries
308
+ * (open and close, or open and latest update while still open), joined to positions
309
+ * via `open_id` / `close_id` / `submission_idx`.
310
+ */
311
+ interface IndexerServerPositionsResponse {
312
+ positions: IndexerServerPosition[];
313
+ events: IndexerServerEvent[];
314
+ txs: IndexerServerTx[];
315
+ }
293
316
  interface IndexerServerQuotePriceResponse {
294
317
  price_x18: string;
295
318
  }
@@ -491,6 +514,7 @@ interface IndexerServerQueryResponseByType {
491
514
  orders: IndexerServerOrdersResponse;
492
515
  perp_prices: IndexerServerPerpPricesResponse;
493
516
  portfolio: IndexerServerPortfolioResponse;
517
+ positions: IndexerServerPositionsResponse;
494
518
  price: IndexerServerPriceResponse;
495
519
  product_snapshots: IndexerServerMultiProductsResponse;
496
520
  products: IndexerServerProductsResponse;
@@ -607,5 +631,5 @@ interface IndexerServerFailureResponse {
607
631
  */
608
632
  declare function isIndexerServerFailureResponse(data: unknown): data is IndexerServerFailureResponse;
609
633
  //#endregion
610
- export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsResponse as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerProductsParams as At, IndexerServerLeaderboardParams as B, IndexerServerSocialAccountsResponse as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPriceResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPriceParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQuotePriceResponse as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerV2Symbol as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialConnectResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerReferralCodeParams as It, IndexerServerLinkedSignerParams as J, IndexerServerV2TickersResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2SymbolsResponse as Kt, IndexerServerInterestFundingResponse as L, IndexerServerReferralCodeResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerQueryRequestByType as Mt, IndexerServerFundingRateResponse as N, IndexerServerQueryRequestType as Nt, IndexerServerFundingRate as O, IndexerServerPrivateAlphaChoiceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryResponseByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsQuest as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerRequestType as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerTriggerTypeFilter as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerSocialConnectParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerV2MarketHours as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerXPointsEpoch as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerXPointsAllTime as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsParams as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, isIndexerServerFailureResponse as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerProductsResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPrivateAlphaChoiceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2TickerResponse as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerRevokeSocialAccountParams as zt };
611
- //# sourceMappingURL=serverTypes-BQafrknp.d.ts.map
634
+ export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsParams as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerPrivateAlphaChoiceParams as At, IndexerServerLeaderboardParams as B, IndexerServerRequestType as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPositionsResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPositionsParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQueryRequestType as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerTriggerTypeFilter as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialAccountsResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerQueryResponseByType as It, IndexerServerLinkedSignerParams as J, IndexerServerV2SymbolsResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2MarketHours as Kt, IndexerServerInterestFundingResponse as L, IndexerServerQuotePriceResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerProductsParams as Mt, IndexerServerFundingRateResponse as N, IndexerServerProductsResponse as Nt, IndexerServerFundingRate as O, IndexerServerPriceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryRequestByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsEpoch as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerReferralCodeParams as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerSocialConnectParams as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerRevokeSocialAccountParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerSocialConnectResponse as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerV2TickersResponse as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerV2TickerResponse as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsAllTime as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, IndexerServerXPointsQuest as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerPrivateAlphaChoiceResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPriceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, isIndexerServerFailureResponse as nn, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2Symbol as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerXPointsResponse as tn, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerReferralCodeResponse as zt };
635
+ //# sourceMappingURL=serverTypes-Dod9cCEW.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverTypes-Dod9cCEW.d.ts","names":[],"sources":["../src/types/src/types/serverTypes.ts"],"mappings":";;;;;;;;;AAiCA;UAAiB,kCAAA;EAEf,KAAA;EAEA,KAAA;EACA,OAAA;AAAA;AAAA,UAGe,2CAAA;EAEf,WAAA;EACA,UAAA;EAEA,QAAA;AAAA;AAAA,UAGe,+BAAA;EACf,UAAU;AAAA;AAAA,UAGK,8BAAA;EACf,UAAU;AAAA;AAAA,UAGK,+BAAA;EACf,WAAW;AAAA;AAAA,UAGI,qCAAA;EACf,UAAA;EACA,UAAA;EACA,QAAA;EAEA,KAAA;AAAA;AAAA,UAGe,wBAAA;EACf,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,WAAW;AAAA;AAAA,UAGI,4BAAA;EACf,UAAU;AAAA;AAAA,UAGK,+BAAA;EACf,WAAW;AAAA;AAAA,UAGI,+BAAA;EACf,UAAA;EACA,WAAA;EAEA,QAAA;EACA,KAAA;AAAA;AAAA,KAGU,mCAAA,GACV,+BAA+B;AAAA,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CAAA;EACb,WAAA,EAAa,+BAAA;EACb,aAAA,EAAe,iCAAA;EACf,oBAAA,EAAsB,uCAAA;EACtB,WAAA,EAAa,2BAAA;EACb,YAAA,EAAc,4BAAA;EACd,eAAA,EAAiB,mCAAA;EACjB,cAAA,EAAgB,kCAAA;EAChB,oBAAA,EAAsB,mCAAA;EACtB,qBAAA,EAAuB,mCAAA;AAAA;;;AAvVZ;AAGb;;;AAAA,UA8ViB,6BAAA;EACf,UAAA;EACA,SAAA;EACA,aAAA;EACA,cAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,wBAAA;AAAA;;AA7VgC;AAGlC;;KAiWY,8BAAA,GAAiC,MAAM,SAEjD,6BAAA;;AAlWsC;AAGxC;UAqWiB,0BAAA;EACf,OAAA;EACA,MAAA;EACA,UAAA;EACA,SAAA;AAAA;;;;UAMe,qBAAA;EACf,IAAA;EACA,UAAA;EACA,MAAA;EACA,mBAAA;EACA,cAAA;EACA,QAAA;EACA,kBAAA;EACA,kBAAA;EACA,uBAAA;EACA,2BAAA;EAhXqD;;;EAoXrD,qBAAA;EAlXe;;AAA4B;EAsX3C,iBAAA;EACA,cAAA;EACA,aAAA;EACA,YAAA,EAAc,0BAA0B;EArXxC;;;;EA0XA,UAAA;EAzXoB;AAGtB;;EA0XE,gBAAA;EAzXA;AAA0B;AAG5B;EA0XE,gBAAA;AAAA;;;;;KAOU,8BAAA,GAAiC,MAAM,SAEjD,qBAAA;;AAjYoB;AAStB;;;;KAiYY,wBAAA;;;;;;;;;;UAWK,4BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,wBAAwB;AAAA;AAzY7B;AAGX;;AAHW,iBA+YK,8BAAA,CACd,IAAA,YACC,IAAA,IAAQ,4BAA4B"}
@@ -0,0 +1,23 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region src/types/IndexerEventType.ts
3
+ /**
4
+ * All balance-change event types emitted by the indexer. This is also the set of
5
+ * transaction types that can open/close a position (`openReason` / `closeReason`).
6
+ */
7
+ const INDEXER_EVENT_TYPES = [
8
+ "liquidate_subaccount",
9
+ "deposit_collateral",
10
+ "withdraw_collateral",
11
+ "withdraw_collateral_v2",
12
+ "settle_pnl",
13
+ "match_orders",
14
+ "transfer_quote",
15
+ "mint_nlp",
16
+ "burn_nlp",
17
+ "claim_builder_fee",
18
+ "delist_product"
19
+ ];
20
+ //#endregion
21
+ exports.INDEXER_EVENT_TYPES = INDEXER_EVENT_TYPES;
22
+
23
+ //# sourceMappingURL=IndexerEventType.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexerEventType.cjs","names":[],"sources":["../../src/types/IndexerEventType.ts"],"sourcesContent":["/**\n * All balance-change event types emitted by the indexer. This is also the set of\n * transaction types that can open/close a position (`openReason` / `closeReason`).\n */\nexport const INDEXER_EVENT_TYPES = [\n 'liquidate_subaccount',\n 'deposit_collateral',\n 'withdraw_collateral',\n 'withdraw_collateral_v2',\n 'settle_pnl',\n 'match_orders',\n 'transfer_quote',\n 'mint_nlp',\n 'burn_nlp',\n 'claim_builder_fee',\n 'delist_product',\n] as const;\n\nexport type IndexerEventType = (typeof INDEXER_EVENT_TYPES)[number];\n"],"mappings":";;;;;;AAIA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as IndexerEventType } from "../IndexerEventType-9GB2zRoN.cjs";
2
- export { IndexerEventType };
1
+ import { n as IndexerEventType, t as INDEXER_EVENT_TYPES } from "../IndexerEventType-BpH10mEW.cjs";
2
+ export { INDEXER_EVENT_TYPES, IndexerEventType };
@@ -1,2 +1,2 @@
1
- import { t as IndexerEventType } from "../IndexerEventType-Brm9aX8w.js";
2
- export { IndexerEventType };
1
+ import { n as IndexerEventType, t as INDEXER_EVENT_TYPES } from "../IndexerEventType-BFvrhslw.js";
2
+ export { INDEXER_EVENT_TYPES, IndexerEventType };
@@ -1 +1,22 @@
1
- export {};
1
+ //#region src/types/IndexerEventType.ts
2
+ /**
3
+ * All balance-change event types emitted by the indexer. This is also the set of
4
+ * transaction types that can open/close a position (`openReason` / `closeReason`).
5
+ */
6
+ const INDEXER_EVENT_TYPES = [
7
+ "liquidate_subaccount",
8
+ "deposit_collateral",
9
+ "withdraw_collateral",
10
+ "withdraw_collateral_v2",
11
+ "settle_pnl",
12
+ "match_orders",
13
+ "transfer_quote",
14
+ "mint_nlp",
15
+ "burn_nlp",
16
+ "claim_builder_fee",
17
+ "delist_product"
18
+ ];
19
+ //#endregion
20
+ export { INDEXER_EVENT_TYPES };
21
+
22
+ //# sourceMappingURL=IndexerEventType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexerEventType.js","names":[],"sources":["../../src/types/IndexerEventType.ts"],"sourcesContent":["/**\n * All balance-change event types emitted by the indexer. This is also the set of\n * transaction types that can open/close a position (`openReason` / `closeReason`).\n */\nexport const INDEXER_EVENT_TYPES = [\n 'liquidate_subaccount',\n 'deposit_collateral',\n 'withdraw_collateral',\n 'withdraw_collateral_v2',\n 'settle_pnl',\n 'match_orders',\n 'transfer_quote',\n 'mint_nlp',\n 'burn_nlp',\n 'claim_builder_fee',\n 'delist_product',\n] as const;\n\nexport type IndexerEventType = (typeof INDEXER_EVENT_TYPES)[number];\n"],"mappings":";;;;;AAIA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../IndexerBaseClient-DxlRS6pt.cjs");
2
+ require("../IndexerBaseClient-CSn4twzz.cjs");
3
3
  let _nadohq_shared = require("@nadohq/shared");
4
4
  //#region src/types/IndexerServerFailureError.ts
5
5
  /**
@@ -1,2 +1,2 @@
1
- import { t as IndexerServerFailureError } from "../IndexerServerFailureError-BMmMPfFJ.cjs";
1
+ import { t as IndexerServerFailureError } from "../IndexerServerFailureError-D-KNqVt3.cjs";
2
2
  export { IndexerServerFailureError };
@@ -1,2 +1,2 @@
1
- import { t as IndexerServerFailureError } from "../IndexerServerFailureError-ClC8vkmR.js";
1
+ import { t as IndexerServerFailureError } from "../IndexerServerFailureError-BoGd4gih.js";
2
2
  export { IndexerServerFailureError };
@@ -1,2 +1,2 @@
1
- import { a as NadoTransferQuoteTx, c as NadoWithdrawCollateralV2Tx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-C3_f0YvI.cjs";
2
- export { NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx };
1
+ import { a as NadoTx, i as NadoTransferQuoteTx, n as NadoLiquidateSubaccountTx, o as NadoWithdrawCollateralTx, r as NadoMatchOrdersTx, s as NadoWithdrawCollateralV2Tx, t as NadoDepositCollateralTx } from "../NadoTx-4BQkGyHz.cjs";
2
+ export { NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx };
@@ -1,2 +1,2 @@
1
- import { a as NadoTransferQuoteTx, c as NadoWithdrawCollateralV2Tx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-Bd4U-zDu.js";
2
- export { NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx };
1
+ import { a as NadoTx, i as NadoTransferQuoteTx, n as NadoLiquidateSubaccountTx, o as NadoWithdrawCollateralTx, r as NadoMatchOrdersTx, s as NadoWithdrawCollateralV2Tx, t as NadoDepositCollateralTx } from "../NadoTx-DPrcN9Eo.js";
2
+ export { NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx };
@@ -1,2 +1,2 @@
1
- import { $ as GetIndexerOrdersResponse, $t as IndexerPointsEpoch, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesWalletSummary, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardParticipant, C as GetIndexerInterestFundingPaymentsResponse, Cn as RevokeSocialAccountParams, Ct as IndexerCashIncentivesClaimableClaim, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerCashIncentivesEventWallet, E as GetIndexerLeaderboardParams, Et as IndexerCashIncentivesEventPlatform, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventWithTx, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMarketSnapshot, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardTrackPosition, I as GetIndexerMarketSnapshotsParams, It as IndexerFundingRate, J as GetIndexerNlpSnapshotsParams, Jt as IndexerNlpSnapshot, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMatchEvent, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerFundingRateHistoryEntry, M as GetIndexerLinkedSignerParams, Mt as IndexerEventBalanceStateSnapshot, N as GetIndexerLinkedSignerResponse, Nt as IndexerEventPerpStateSnapshot, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerCashIncentivesUnclaimableClaim, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerPerpPrices, R as GetIndexerMatchEventsParams, Rt as IndexerLeaderboardContest, S as GetIndexerInterestFundingPaymentsParams, Sn as RegisterLeaderboardResponse, St as IndexerBalanceTrackedVars, T as GetIndexerLeaderboardContestsResponse, Tn as TickerMarketType, Tt as IndexerCashIncentivesEventMetadata, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerMaker, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardRegistration, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerMakerSnapshot, X as GetIndexerOraclePricesParams, Xt as IndexerOrder, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerOraclePrice, Z as GetIndexerOraclePricesResponse, Zt as IndexerPerpBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as ListIndexerSocialAccountsParams, _t as GetIndexerV2TickersParams, a as GetIndexerCandlesticksParams, an as IndexerSnapshotBalance, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSubaccountsResponse, bt as GetIndexerXPointsResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSpotBalance, ct as GetIndexerProductSnapshotsParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerV2Symbol, dt as GetIndexerReferralCodeParams, en as IndexerPortfolioHistory, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerV2TickerResponse, ft as GetIndexerReferralCodeResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerXPointsQuest, gt as GetIndexerV2SymbolsResponse, h as GetIndexerEventsResponse, hn as IndexerXPointsEpoch, ht as GetIndexerV2SymbolsParams, i as GetIndexerBacklogResponse, in as IndexerProductSnapshot, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerEvent, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesWalletClaim, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSubaccountSnapshot, lt as GetIndexerProductSnapshotsResponse, m as GetIndexerEventsParams, mn as IndexerXPointsAllTime, mt as GetIndexerSubaccountDDAResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioPoint, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerSnapshotsIntervalParams, ot as GetIndexerPrivateAlphaChoiceParams, p as GetIndexerEventsLimitType, pn as IndexerV2TradingStatus, pt as GetIndexerSubaccountDDAParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMatchEventBalances, r as ConnectSocialAccountResponse, rn as IndexerProductPayment, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerSocialAccountInfo, st as GetIndexerPrivateAlphaChoiceResponse, t as Candlestick, tn as IndexerPortfolioPeriod, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerV2MarketHours, ut as GetIndexerQuotePriceResponse, v as GetIndexerFundingRateHistoryParams, vn as ListIndexerSocialAccountsResponse, vt as GetIndexerV2TickersResponse, w as GetIndexerLeaderboardContestsParams, wn as RevokeSocialAccountResponse, wt as IndexerCashIncentivesEvent, x as GetIndexerFundingRateResponse, xn as RegisterLeaderboardParams, xt as IndexerAllTimePoints, y as GetIndexerFundingRateHistoryResponse, yn as ListIndexerSubaccountsParams, yt as GetIndexerXPointsParams, z as GetIndexerMatchEventsResponse, zt as IndexerLeaderboardContestTrack } from "../clientTypes-QBgifUeV.cjs";
2
- export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };
1
+ import { $ as GetIndexerOrdersResponse, $t as IndexerPerpBalance, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesUnclaimableClaim, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardContest, C as GetIndexerInterestFundingPaymentsResponse, Cn as ListIndexerSubaccountsResponse, Ct as IndexerAllTimePoints, D as GetIndexerLeaderboardParticipantParams, Dn as RevokeSocialAccountResponse, Dt as IndexerCashIncentivesEventMetadata, E as GetIndexerLeaderboardParams, En as RevokeSocialAccountParams, Et as IndexerCashIncentivesEvent, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventPerpStateSnapshot, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMaker, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardParticipant, I as GetIndexerMarketSnapshotsParams, It as IndexerEventSpotStateSnapshot, J as GetIndexerNlpSnapshotsParams, Jt as IndexerMatchEvent, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMakerSnapshot, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerEventWithTx, M as GetIndexerLinkedSignerParams, Mt as IndexerCashIncentivesWalletSummary, N as GetIndexerLinkedSignerResponse, Nt as IndexerEvent, O as GetIndexerLeaderboardParticipantResponse, On as TickerMarketType, Ot as IndexerCashIncentivesEventPlatform, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventBalanceStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerOrder, R as GetIndexerMatchEventsParams, Rt as IndexerFundingRate, S as GetIndexerInterestFundingPaymentsParams, Sn as ListIndexerSubaccountsParams, St as GetIndexerXPointsResponse, T as GetIndexerLeaderboardContestsResponse, Tn as RegisterLeaderboardResponse, Tt as IndexerCashIncentivesClaimableClaim, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerLeaderboardRegistration, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardContestTrack, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerLeaderboardTrackPosition, X as GetIndexerOraclePricesParams, Xt as IndexerNlpSnapshot, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerMatchEventBalances, Z as GetIndexerOraclePricesResponse, Zt as IndexerOraclePrice, _ as GetIndexerFastWithdrawalSignatureResponse, _n as IndexerXPointsAllTime, _t as GetIndexerV2SymbolsParams, a as GetIndexerCandlesticksParams, an as IndexerPosition, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSocialAccountsParams, bt as GetIndexerV2TickersResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSnapshotBalance, ct as GetIndexerPrivateAlphaChoiceParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerSpotBalance, dt as GetIndexerProductSnapshotsResponse, en as IndexerPerpPrices, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerSubaccountSnapshot, ft as GetIndexerQuotePriceResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerV2TradingStatus, gt as GetIndexerSubaccountDDAResponse, h as GetIndexerEventsResponse, hn as IndexerV2TickerResponse, ht as GetIndexerSubaccountDDAParams, i as GetIndexerBacklogResponse, in as IndexerPortfolioPoint, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerCashIncentivesWalletClaim, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesEventWallet, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSnapshotsIntervalParams, lt as GetIndexerPrivateAlphaChoiceResponse, m as GetIndexerEventsParams, mn as IndexerV2Symbol, mt as GetIndexerReferralCodeResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioHistory, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerProductPayment, ot as GetIndexerPositionsParams, p as GetIndexerEventsLimitType, pn as IndexerV2MarketHours, pt as GetIndexerReferralCodeParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMarketSnapshot, r as ConnectSocialAccountResponse, rn as IndexerPortfolioPeriod, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerProductSnapshot, st as GetIndexerPositionsResponse, t as Candlestick, tn as IndexerPointsEpoch, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerSocialAccountInfo, ut as GetIndexerProductSnapshotsParams, v as GetIndexerFundingRateHistoryParams, vn as IndexerXPointsEpoch, vt as GetIndexerV2SymbolsResponse, w as GetIndexerLeaderboardContestsParams, wn as RegisterLeaderboardParams, wt as IndexerBalanceTrackedVars, x as GetIndexerFundingRateResponse, xn as ListIndexerSocialAccountsResponse, xt as GetIndexerXPointsParams, y as GetIndexerFundingRateHistoryResponse, yn as IndexerXPointsQuest, yt as GetIndexerV2TickersParams, z as GetIndexerMatchEventsResponse, zt as IndexerFundingRateHistoryEntry } from "../clientTypes-DS2w6Osq.cjs";
2
+ export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPositionsParams, GetIndexerPositionsResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerPosition, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };