lynx-client 0.0.13 → 0.0.15

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 (157) hide show
  1. package/dist/cjs/index.js +10 -1
  2. package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +289 -0
  3. package/dist/cjs/lib/contractsIntegration/EngineChipService/IEngineChipService.js +2 -0
  4. package/dist/cjs/lib/contractsIntegration/EngineChipService/index.js +5 -0
  5. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +25 -2
  6. package/dist/cjs/lib/contractsIntegration/OrderBookService/index.js +5 -0
  7. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +6 -0
  8. package/dist/cjs/lib/contractsIntegration/TriggersService/index.js +5 -0
  9. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.js +2 -0
  10. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +71 -0
  11. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.js +5 -0
  12. package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +34 -0
  13. package/dist/cjs/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.js +2 -0
  14. package/dist/cjs/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.js +2 -0
  15. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.js +989 -0
  16. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  17. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  18. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +195 -1
  19. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  20. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +27 -1
  21. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
  22. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +79 -1
  23. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.js +133 -0
  24. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  25. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  26. package/dist/esm/index.d.ts +10 -0
  27. package/dist/esm/index.d.ts.map +1 -1
  28. package/dist/esm/index.js +10 -1
  29. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts +27 -0
  30. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -0
  31. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +289 -0
  32. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +83 -0
  33. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -0
  34. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.js +2 -0
  35. package/dist/esm/lib/contractsIntegration/EngineChipService/index.d.ts +3 -0
  36. package/dist/esm/lib/contractsIntegration/EngineChipService/index.d.ts.map +1 -0
  37. package/dist/esm/lib/contractsIntegration/EngineChipService/index.js +5 -0
  38. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +6 -1
  39. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  41. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +25 -2
  42. package/dist/esm/lib/contractsIntegration/OrderBookService/index.d.ts +3 -0
  43. package/dist/esm/lib/contractsIntegration/OrderBookService/index.d.ts.map +1 -0
  44. package/dist/esm/lib/contractsIntegration/OrderBookService/index.js +5 -0
  45. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +2 -0
  46. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  47. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  48. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +6 -0
  49. package/dist/esm/lib/contractsIntegration/TriggersService/index.d.ts +3 -0
  50. package/dist/esm/lib/contractsIntegration/TriggersService/index.d.ts.map +1 -0
  51. package/dist/esm/lib/contractsIntegration/TriggersService/index.js +5 -0
  52. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +40 -0
  53. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -0
  54. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.js +2 -0
  55. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts +22 -0
  56. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -0
  57. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +71 -0
  58. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.d.ts +3 -0
  59. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.d.ts.map +1 -0
  60. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.js +5 -0
  61. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +10 -0
  62. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  63. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +34 -0
  64. package/dist/esm/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.d.ts +524 -0
  65. package/dist/esm/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.d.ts.map +1 -0
  66. package/dist/esm/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.js +2 -0
  67. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +158 -2
  68. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -1
  69. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +17 -1
  70. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  71. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +33 -1
  72. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  73. package/dist/esm/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.d.ts +56 -0
  74. package/dist/esm/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.d.ts.map +1 -0
  75. package/dist/esm/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.js +2 -0
  76. package/dist/esm/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.d.ts +756 -0
  77. package/dist/esm/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.d.ts.map +1 -0
  78. package/dist/esm/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.js +989 -0
  79. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  80. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  81. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  82. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  83. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +155 -1
  84. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -1
  85. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +195 -1
  86. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  87. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  88. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +21 -1
  89. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  90. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +27 -1
  91. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  92. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  93. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
  94. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +61 -1
  95. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  96. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +79 -1
  97. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.d.ts +96 -0
  98. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.d.ts.map +1 -0
  99. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.js +133 -0
  100. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  101. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  102. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  103. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  104. package/dist/types/index.d.ts +10 -0
  105. package/dist/types/index.d.ts.map +1 -1
  106. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts +27 -0
  107. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -0
  108. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +83 -0
  109. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -0
  110. package/dist/types/lib/contractsIntegration/EngineChipService/index.d.ts +3 -0
  111. package/dist/types/lib/contractsIntegration/EngineChipService/index.d.ts.map +1 -0
  112. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +6 -1
  113. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  114. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  115. package/dist/types/lib/contractsIntegration/OrderBookService/index.d.ts +3 -0
  116. package/dist/types/lib/contractsIntegration/OrderBookService/index.d.ts.map +1 -0
  117. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +2 -0
  118. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  119. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  120. package/dist/types/lib/contractsIntegration/TriggersService/index.d.ts +3 -0
  121. package/dist/types/lib/contractsIntegration/TriggersService/index.d.ts.map +1 -0
  122. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +40 -0
  123. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -0
  124. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts +22 -0
  125. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -0
  126. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.d.ts +3 -0
  127. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.d.ts.map +1 -0
  128. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +10 -0
  129. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  130. package/dist/types/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.d.ts +524 -0
  131. package/dist/types/lib/typechain/contracts/Lynx/Chips/EngineChip/EngineChip.d.ts.map +1 -0
  132. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +158 -2
  133. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -1
  134. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +17 -1
  135. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  136. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +33 -1
  137. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  138. package/dist/types/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.d.ts +56 -0
  139. package/dist/types/lib/typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper.d.ts.map +1 -0
  140. package/dist/types/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.d.ts +756 -0
  141. package/dist/types/lib/typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory.d.ts.map +1 -0
  142. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  143. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  144. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +155 -1
  145. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -1
  146. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  147. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +21 -1
  148. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  149. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  150. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  151. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +61 -1
  152. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  153. package/dist/types/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.d.ts +96 -0
  154. package/dist/types/lib/typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory.d.ts.map +1 -0
  155. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  156. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  157. package/package.json +1 -1
@@ -131,6 +131,12 @@ class Settings {
131
131
  async actionFees(actionType) {
132
132
  return this.tradingContract.actionFees(actionType);
133
133
  }
134
+ async limitsMarginFraction() {
135
+ return this.tradingContract.limitsMarginFraction();
136
+ }
137
+ async setLimitsMarginFraction(limitsMarginFraction) {
138
+ return this.tradingContract.setLimitsMarginFraction(limitsMarginFraction);
139
+ }
134
140
  }
135
141
  class Constants {
136
142
  constructor(tradingContract) {
@@ -0,0 +1,3 @@
1
+ export type { ITriggersService } from "./ITriggersService";
2
+ export { TriggersService } from "./TriggersService";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TriggersService/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TriggersService = void 0;
4
+ var TriggersService_1 = require("./TriggersService");
5
+ Object.defineProperty(exports, "TriggersService", { enumerable: true, get: function () { return TriggersService_1.TriggersService; } });
@@ -0,0 +1,40 @@
1
+ import { ContractTransactionResponse } from "ethers";
2
+ export interface IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint {
3
+ /**
4
+ * Wraps native tokens and mints engine chips
5
+ * Payable function - native tokens sent as msg.value
6
+ * @returns ContractTransactionResponse
7
+ */
8
+ wrapNativeAndMintEngineChip(nativeAmount: bigint): Promise<ContractTransactionResponse>;
9
+ }
10
+ export interface IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling {
11
+ /**
12
+ * Handles burning operations - callback from EngineChip contract
13
+ * @param burner Address that initiated the burn
14
+ * @param arg1 Unused parameter
15
+ * @param underlyingAmount Amount of underlying tokens to handle
16
+ * @param arg3 Additional data parameter
17
+ * @returns ContractTransactionResponse
18
+ */
19
+ handleBurn(burner: string, arg1: bigint, underlyingAmount: bigint, arg3: string): Promise<ContractTransactionResponse>;
20
+ }
21
+ export interface IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions {
22
+ /**
23
+ * Get the wrapped native engine chip contract address
24
+ */
25
+ wrappedNativeEngineChip(): Promise<string>;
26
+ /**
27
+ * Get the wrapped native token contract address
28
+ */
29
+ wrappedNativeToken(): Promise<string>;
30
+ /**
31
+ * Check if wrapped native token returns uint256
32
+ */
33
+ wrappedNativeReturnsUint256(): Promise<boolean>;
34
+ }
35
+ export interface IWrappedNativeEngineChipHelperService {
36
+ wrapAndMint: IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint;
37
+ burnHandling: IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling;
38
+ viewFunctions: IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions;
39
+ }
40
+ //# sourceMappingURL=IWrappedNativeEngineChipHelperService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IWrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAIrD,MAAM,WAAW,wDAAwD;IACvE;;;;OAIG;IACH,2BAA2B,CACzB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,yDAAyD;IACxE;;;;;;;OAOG;IACH,UAAU,CACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,0DAA0D;IACzE;;OAEG;IACH,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,2BAA2B,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACjD;AAID,MAAM,WAAW,qCAAqC;IACpD,WAAW,EAAE,wDAAwD,CAAC;IACtE,YAAY,EAAE,yDAAyD,CAAC;IACxE,aAAa,EAAE,0DAA0D,CAAC;CAC3E"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ import { Provider, Signer } from "ethers";
2
+ import { WrappedNativeEngineChipHelper } from "../../typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper";
3
+ import { IWrappedNativeEngineChipHelperService, IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint, IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling, IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions } from "./IWrappedNativeEngineChipHelperService";
4
+ /**
5
+ * Service for interacting with the WrappedNativeEngineChipHelper contract
6
+ * Facilitates wrapping native tokens (like ETH) into wrapped native tokens (like WETH)
7
+ * and then minting the corresponding engine chips
8
+ */
9
+ export declare class WrappedNativeEngineChipHelperService implements IWrappedNativeEngineChipHelperService {
10
+ private readonly contract;
11
+ private readonly isSigner;
12
+ readonly wrapAndMint: IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint;
13
+ readonly burnHandling: IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling;
14
+ readonly viewFunctions: IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions;
15
+ constructor(signerOrProvider: Signer | Provider, address: string);
16
+ /**
17
+ * Get the underlying contract instance
18
+ * Useful for accessing contract methods directly when needed
19
+ */
20
+ getContract(): WrappedNativeEngineChipHelper;
21
+ }
22
+ //# sourceMappingURL=WrappedNativeEngineChipHelperService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AAEzH,OAAO,EACL,qCAAqC,EACrC,wDAAwD,EACxD,yDAAyD,EACzD,0DAA0D,EAC3D,MAAM,yCAAyC,CAAC;AAmEjD;;;;GAIG;AACH,qBAAa,oCACX,YAAW,qCAAqC;IAEhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC,SAAgB,WAAW,EAAE,wDAAwD,CAAC;IACtF,SAAgB,YAAY,EAAE,yDAAyD,CAAC;IACxF,SAAgB,aAAa,EAAE,0DAA0D,CAAC;gBAE9E,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAahE;;;OAGG;IACH,WAAW,IAAI,6BAA6B;CAG7C"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WrappedNativeEngineChipHelperService = void 0;
4
+ const WrappedNativeEngineChipHelper__factory_1 = require("../../typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory");
5
+ // ============ Wrap And Mint Implementation ============
6
+ class WrapAndMint {
7
+ constructor(contract, isSigner) {
8
+ this.contract = contract;
9
+ this.isSigner = isSigner;
10
+ }
11
+ async wrapNativeAndMintEngineChip(nativeAmount) {
12
+ if (!this.isSigner) {
13
+ throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
14
+ }
15
+ return await this.contract.wrapNativeAndMintEngineChip({
16
+ value: nativeAmount,
17
+ });
18
+ }
19
+ }
20
+ // ============ Burn Handling Implementation ============
21
+ class BurnHandling {
22
+ constructor(contract, isSigner) {
23
+ this.contract = contract;
24
+ this.isSigner = isSigner;
25
+ }
26
+ async handleBurn(burner, arg1, underlyingAmount, arg3) {
27
+ if (!this.isSigner) {
28
+ throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
29
+ }
30
+ return await this.contract.handleBurn(burner, arg1, underlyingAmount, arg3);
31
+ }
32
+ }
33
+ // ============ View Functions Implementation ============
34
+ class ViewFunctions {
35
+ constructor(contract) {
36
+ this.contract = contract;
37
+ }
38
+ async wrappedNativeEngineChip() {
39
+ return await this.contract.wrappedNativeEngineChip();
40
+ }
41
+ async wrappedNativeToken() {
42
+ return await this.contract.wrappedNativeToken();
43
+ }
44
+ async wrappedNativeReturnsUint256() {
45
+ return await this.contract.wrappedNativeReturnsUint256();
46
+ }
47
+ }
48
+ // ============ Main Service Class ============
49
+ /**
50
+ * Service for interacting with the WrappedNativeEngineChipHelper contract
51
+ * Facilitates wrapping native tokens (like ETH) into wrapped native tokens (like WETH)
52
+ * and then minting the corresponding engine chips
53
+ */
54
+ class WrappedNativeEngineChipHelperService {
55
+ constructor(signerOrProvider, address) {
56
+ this.contract = WrappedNativeEngineChipHelper__factory_1.WrappedNativeEngineChipHelper__factory.connect(address, signerOrProvider);
57
+ this.isSigner = "sendTransaction" in signerOrProvider;
58
+ // Initialize all function groups using separate classes
59
+ this.wrapAndMint = new WrapAndMint(this.contract, this.isSigner);
60
+ this.burnHandling = new BurnHandling(this.contract, this.isSigner);
61
+ this.viewFunctions = new ViewFunctions(this.contract);
62
+ }
63
+ /**
64
+ * Get the underlying contract instance
65
+ * Useful for accessing contract methods directly when needed
66
+ */
67
+ getContract() {
68
+ return this.contract;
69
+ }
70
+ }
71
+ exports.WrappedNativeEngineChipHelperService = WrappedNativeEngineChipHelperService;
@@ -0,0 +1,3 @@
1
+ export { WrappedNativeEngineChipHelperService } from "./WrappedNativeEngineChipHelperService";
2
+ export type { IWrappedNativeEngineChipHelperService, IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint, IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling, IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions, } from "./IWrappedNativeEngineChipHelperService";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAA;AAC7F,YAAY,EACV,qCAAqC,EACrC,wDAAwD,EACxD,yDAAyD,EACzD,0DAA0D,GAC3D,MAAM,yCAAyC,CAAA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WrappedNativeEngineChipHelperService = void 0;
4
+ var WrappedNativeEngineChipHelperService_1 = require("./WrappedNativeEngineChipHelperService");
5
+ Object.defineProperty(exports, "WrappedNativeEngineChipHelperService", { enumerable: true, get: function () { return WrappedNativeEngineChipHelperService_1.WrappedNativeEngineChipHelperService; } });
@@ -21,6 +21,10 @@ import { LiquidityIntentsVerifierService } from "./LiquidityIntentsVerifierServi
21
21
  import { TradeIntentsVerifierService } from "./TradeIntentsVerifierService";
22
22
  import { OnBehalfTradingV1 } from "../typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1";
23
23
  import { OnBehalfTradingService } from "./OnBehalfTradingService";
24
+ import { EngineChip } from "../typechain/contracts/Lynx/Chips/EngineChip/EngineChip";
25
+ import { EngineChipService } from "./EngineChipService";
26
+ import { WrappedNativeEngineChipHelper } from "../typechain/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper";
27
+ import { WrappedNativeEngineChipHelperService } from "./WrappedNativeEngineChipHelperService";
24
28
  export declare function connectToRegistryProxyForSigner(signer: Signer, address: string): RegistryProxy;
25
29
  /**
26
30
  * To be used with the proxy address and the implementation ABI
@@ -66,4 +70,10 @@ export declare function createChipsIntentsVerifierService(signerOrProvider: Sign
66
70
  export declare function createLiquidityIntentsVerifierService(signerOrProvider: Signer | Provider, address: string): LiquidityIntentsVerifierService;
67
71
  export declare function createTradeIntentsVerifierService(signerOrProvider: Signer | Provider, address: string): TradeIntentsVerifierService;
68
72
  export declare function createOnBehalfTradingService(signerOrProvider: Signer | Provider, address: string): OnBehalfTradingService;
73
+ export declare function connectToEngineChipForSigner(signer: Signer, address: string): EngineChip;
74
+ export declare function connectToEngineChip(provider: Provider, address: string): EngineChip;
75
+ export declare function createEngineChipService(signerOrProvider: Signer | Provider, address: string): EngineChipService;
76
+ export declare function connectToWrappedNativeEngineChipHelperForSigner(signer: Signer, address: string): WrappedNativeEngineChipHelper;
77
+ export declare function connectToWrappedNativeEngineChipHelper(provider: Provider, address: string): WrappedNativeEngineChipHelper;
78
+ export declare function createWrappedNativeEngineChipHelperService(signerOrProvider: Signer | Provider, address: string): WrappedNativeEngineChipHelperService;
69
79
  //# sourceMappingURL=deployedContractsConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployedContractsConnector.d.ts","sourceRoot":"","sources":["../../../../lib/contractsIntegration/deployedContractsConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAI/F,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAItF,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD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AgB,qCAAqC,CACnD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,+BAA+B,CAEjC;AAED,wBAAgB,iCAAiC,CAC/C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,2BAA2B,CAE7B;AAED,wBAAgB,4BAA4B,CAC1C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,sBAAsB,CAExB"}
1
+ {"version":3,"file":"deployedContractsConnector.d.ts","sourceRoot":"","sources":["../../../../lib/contractsIntegration/deployedContractsConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAI/F,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAItF,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,sBAAsB,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,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,sBAAsB,CAExB;AAMD,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GACd,UAAU,CAEZ;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,GACd,UAAU,CAEZ;AAED,wBAAgB,uBAAuB,CACrC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,iBAAiB,CAEnB;AAMD,wBAAgB,+CAA+C,CAC7D,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GACd,6BAA6B,CAE/B;AAED,wBAAgB,sCAAsC,CACpD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,GACd,6BAA6B,CAE/B;AAED,wBAAgB,0CAA0C,CACxD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,oCAAoC,CAEtC"}
@@ -33,6 +33,12 @@ exports.createChipsIntentsVerifierService = createChipsIntentsVerifierService;
33
33
  exports.createLiquidityIntentsVerifierService = createLiquidityIntentsVerifierService;
34
34
  exports.createTradeIntentsVerifierService = createTradeIntentsVerifierService;
35
35
  exports.createOnBehalfTradingService = createOnBehalfTradingService;
36
+ exports.connectToEngineChipForSigner = connectToEngineChipForSigner;
37
+ exports.connectToEngineChip = connectToEngineChip;
38
+ exports.createEngineChipService = createEngineChipService;
39
+ exports.connectToWrappedNativeEngineChipHelperForSigner = connectToWrappedNativeEngineChipHelperForSigner;
40
+ exports.connectToWrappedNativeEngineChipHelper = connectToWrappedNativeEngineChipHelper;
41
+ exports.createWrappedNativeEngineChipHelperService = createWrappedNativeEngineChipHelperService;
36
42
  const TradingFloorLens__factory_1 = require("../typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory");
37
43
  const LexLens__factory_1 = require("../typechain/factories/contracts/Peripheral/Lens/LexLens__factory");
38
44
  const RegistryProxy__factory_1 = require("../typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory");
@@ -55,6 +61,10 @@ const LiquidityIntentsVerifierService_1 = require("./LiquidityIntentsVerifierSer
55
61
  const TradeIntentsVerifierService_1 = require("./TradeIntentsVerifierService");
56
62
  const OnBehalfTradingV1__factory_1 = require("../typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory");
57
63
  const OnBehalfTradingService_1 = require("./OnBehalfTradingService");
64
+ const EngineChip__factory_1 = require("../typechain/factories/contracts/Lynx/Chips/EngineChip/EngineChip__factory");
65
+ const EngineChipService_1 = require("./EngineChipService");
66
+ const WrappedNativeEngineChipHelper__factory_1 = require("../typechain/factories/contracts/Peripheral/Chips/WrappedNativeEngineChipHelper__factory");
67
+ const WrappedNativeEngineChipHelperService_1 = require("./WrappedNativeEngineChipHelperService");
58
68
  //
59
69
  // ***** Registry & Proxy *****
60
70
  //
@@ -193,3 +203,27 @@ function createTradeIntentsVerifierService(signerOrProvider, address) {
193
203
  function createOnBehalfTradingService(signerOrProvider, address) {
194
204
  return new OnBehalfTradingService_1.OnBehalfTradingService(signerOrProvider, address);
195
205
  }
206
+ //
207
+ // ***** EngineChip *****
208
+ //
209
+ function connectToEngineChipForSigner(signer, address) {
210
+ return EngineChip__factory_1.EngineChip__factory.connect(address, signer);
211
+ }
212
+ function connectToEngineChip(provider, address) {
213
+ return EngineChip__factory_1.EngineChip__factory.connect(address, provider);
214
+ }
215
+ function createEngineChipService(signerOrProvider, address) {
216
+ return new EngineChipService_1.EngineChipService(signerOrProvider, address);
217
+ }
218
+ //
219
+ // ***** WrappedNativeEngineChipHelper *****
220
+ //
221
+ function connectToWrappedNativeEngineChipHelperForSigner(signer, address) {
222
+ return WrappedNativeEngineChipHelper__factory_1.WrappedNativeEngineChipHelper__factory.connect(address, signer);
223
+ }
224
+ function connectToWrappedNativeEngineChipHelper(provider, address) {
225
+ return WrappedNativeEngineChipHelper__factory_1.WrappedNativeEngineChipHelper__factory.connect(address, provider);
226
+ }
227
+ function createWrappedNativeEngineChipHelperService(signerOrProvider, address) {
228
+ return new WrappedNativeEngineChipHelperService_1.WrappedNativeEngineChipHelperService(signerOrProvider, address);
229
+ }