lynx-client 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +0 -1
  2. package/dist/cjs/index.js +1 -0
  3. package/dist/cjs/lib/addresses/lensAddresses.js +16 -16
  4. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
  5. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
  6. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
  7. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
  8. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
  9. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
  10. package/dist/cjs/lib/contractsIntegration/TradingFloorService/index.js +5 -0
  11. package/dist/cjs/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
  12. package/dist/cjs/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
  13. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
  14. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  15. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  16. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
  17. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
  18. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  19. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
  20. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  21. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
  22. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  23. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
  24. package/dist/esm/index.d.ts +1 -0
  25. package/dist/esm/index.d.ts.map +1 -1
  26. package/dist/esm/index.js +1 -0
  27. package/dist/esm/lib/addresses/lensAddresses.d.ts +16 -16
  28. package/dist/esm/lib/addresses/lensAddresses.js +16 -16
  29. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
  30. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  31. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
  32. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
  33. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  34. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
  35. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
  36. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
  37. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
  38. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
  39. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
  41. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
  42. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  43. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
  44. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
  45. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  46. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
  47. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  48. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
  49. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
  50. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
  51. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.js +5 -0
  52. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
  53. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
  54. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
  55. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
  56. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  57. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
  58. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  59. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
  60. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
  61. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
  62. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  63. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
  64. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
  65. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
  66. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
  67. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
  68. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
  69. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  70. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  71. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  72. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  73. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
  74. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  75. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
  76. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
  77. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  78. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
  79. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  80. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  81. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
  82. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
  83. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
  84. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  85. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  86. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
  87. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
  88. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
  89. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  90. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  91. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
  92. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
  93. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
  94. package/dist/types/index.d.ts +1 -0
  95. package/dist/types/index.d.ts.map +1 -1
  96. package/dist/types/lib/addresses/lensAddresses.d.ts +16 -16
  97. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
  98. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  99. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
  100. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  101. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
  102. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
  103. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
  104. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  105. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
  106. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  107. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
  108. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  109. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
  110. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  111. package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
  112. package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
  113. package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
  114. package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
  115. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
  116. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  117. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
  118. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  119. package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
  120. package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
  121. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
  122. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  123. package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
  124. package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
  125. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
  126. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
  127. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  128. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  129. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
  130. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  131. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
  132. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  133. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  134. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
  135. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
  136. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  137. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
  138. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
  139. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  140. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
  141. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
  142. package/package.json +1 -1
@@ -0,0 +1,334 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SinglePhaseSingleTokenDistributor__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_distributionToken",
14
+ type: "address",
15
+ },
16
+ ],
17
+ stateMutability: "nonpayable",
18
+ type: "constructor",
19
+ },
20
+ {
21
+ inputs: [
22
+ {
23
+ internalType: "address",
24
+ name: "owner",
25
+ type: "address",
26
+ },
27
+ ],
28
+ name: "OwnableInvalidOwner",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [
33
+ {
34
+ internalType: "address",
35
+ name: "account",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "OwnableUnauthorizedAccount",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "ReentrancyGuardReentrantCall",
45
+ type: "error",
46
+ },
47
+ {
48
+ anonymous: false,
49
+ inputs: [
50
+ {
51
+ indexed: true,
52
+ internalType: "address",
53
+ name: "account",
54
+ type: "address",
55
+ },
56
+ {
57
+ indexed: false,
58
+ internalType: "uint256",
59
+ name: "amount",
60
+ type: "uint256",
61
+ },
62
+ ],
63
+ name: "DistributionAssigned",
64
+ type: "event",
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: true,
71
+ internalType: "address",
72
+ name: "previousOwner",
73
+ type: "address",
74
+ },
75
+ {
76
+ indexed: true,
77
+ internalType: "address",
78
+ name: "newOwner",
79
+ type: "address",
80
+ },
81
+ ],
82
+ name: "OwnershipTransferStarted",
83
+ type: "event",
84
+ },
85
+ {
86
+ anonymous: false,
87
+ inputs: [
88
+ {
89
+ indexed: true,
90
+ internalType: "address",
91
+ name: "previousOwner",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: true,
96
+ internalType: "address",
97
+ name: "newOwner",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "OwnershipTransferred",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "account",
111
+ type: "address",
112
+ },
113
+ {
114
+ indexed: false,
115
+ internalType: "uint256",
116
+ name: "amount",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "TokenDistributed",
121
+ type: "event",
122
+ },
123
+ {
124
+ inputs: [],
125
+ name: "acceptOwnership",
126
+ outputs: [],
127
+ stateMutability: "nonpayable",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [],
132
+ name: "claimToken",
133
+ outputs: [],
134
+ stateMutability: "nonpayable",
135
+ type: "function",
136
+ },
137
+ {
138
+ inputs: [
139
+ {
140
+ internalType: "address",
141
+ name: "",
142
+ type: "address",
143
+ },
144
+ ],
145
+ name: "distributed",
146
+ outputs: [
147
+ {
148
+ internalType: "bool",
149
+ name: "",
150
+ type: "bool",
151
+ },
152
+ ],
153
+ stateMutability: "view",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: "distributedToken",
159
+ outputs: [
160
+ {
161
+ internalType: "contract IERC20",
162
+ name: "",
163
+ type: "address",
164
+ },
165
+ ],
166
+ stateMutability: "view",
167
+ type: "function",
168
+ },
169
+ {
170
+ inputs: [
171
+ {
172
+ internalType: "address",
173
+ name: "",
174
+ type: "address",
175
+ },
176
+ ],
177
+ name: "distributionAmounts",
178
+ outputs: [
179
+ {
180
+ internalType: "uint256",
181
+ name: "",
182
+ type: "uint256",
183
+ },
184
+ ],
185
+ stateMutability: "view",
186
+ type: "function",
187
+ },
188
+ {
189
+ inputs: [],
190
+ name: "owner",
191
+ outputs: [
192
+ {
193
+ internalType: "address",
194
+ name: "",
195
+ type: "address",
196
+ },
197
+ ],
198
+ stateMutability: "view",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "pendingOwner",
204
+ outputs: [
205
+ {
206
+ internalType: "address",
207
+ name: "",
208
+ type: "address",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [],
216
+ name: "renounceOwnership",
217
+ outputs: [],
218
+ stateMutability: "nonpayable",
219
+ type: "function",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "selfBalance",
224
+ outputs: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "",
228
+ type: "uint256",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [
236
+ {
237
+ internalType: "address[]",
238
+ name: "_accounts",
239
+ type: "address[]",
240
+ },
241
+ {
242
+ internalType: "uint256[]",
243
+ name: "_amounts",
244
+ type: "uint256[]",
245
+ },
246
+ ],
247
+ name: "setAmounts",
248
+ outputs: [],
249
+ stateMutability: "nonpayable",
250
+ type: "function",
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: "contract IERC20",
256
+ name: "token",
257
+ type: "address",
258
+ },
259
+ ],
260
+ name: "sweepToken",
261
+ outputs: [],
262
+ stateMutability: "nonpayable",
263
+ type: "function",
264
+ },
265
+ {
266
+ inputs: [],
267
+ name: "totalCommitment",
268
+ outputs: [
269
+ {
270
+ internalType: "uint256",
271
+ name: "",
272
+ type: "uint256",
273
+ },
274
+ ],
275
+ stateMutability: "view",
276
+ type: "function",
277
+ },
278
+ {
279
+ inputs: [],
280
+ name: "totalDistributed",
281
+ outputs: [
282
+ {
283
+ internalType: "uint256",
284
+ name: "",
285
+ type: "uint256",
286
+ },
287
+ ],
288
+ stateMutability: "view",
289
+ type: "function",
290
+ },
291
+ {
292
+ inputs: [
293
+ {
294
+ internalType: "address",
295
+ name: "newOwner",
296
+ type: "address",
297
+ },
298
+ ],
299
+ name: "transferOwnership",
300
+ outputs: [],
301
+ stateMutability: "nonpayable",
302
+ type: "function",
303
+ },
304
+ ];
305
+ const _bytecode = "0x608060405234801561001057600080fd5b50604051610bf3380380610bf383398101604081905261002f916100f5565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610089565b506001600255600380546001600160a01b0319166001600160a01b0392909216919091179055610125565b600180546001600160a01b03191690556100a2816100a5565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561010757600080fd5b81516001600160a01b038116811461011e57600080fd5b9392505050565b610abf806101346000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638c1b51541161008c578063b0bed0ba11610066578063b0bed0ba146101d6578063e30c3978146101de578063efca2eed146101ef578063f2fde38b146101f857600080fd5b80638c1b51541461018b5780638da5cb5b1461019e5780638f49da4b146101c357600080fd5b80634451d89f116100c85780634451d89f14610140578063578bcf3514610148578063715018a61461017b57806379ba50971461018357600080fd5b806301ecefa1146100ef5780630ec484261461010b5780631be195601461012b575b600080fd5b6100f860075481565b6040519081526020015b60405180910390f35b6100f86101193660046108f0565b60046020526000908152604090205481565b61013e6101393660046108f0565b61020b565b005b61013e610317565b61016b6101563660046108f0565b60056020526000908152604090205460ff1681565b6040519015158152602001610102565b61013e610334565b61013e610346565b61013e610199366004610960565b61038f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b6003546101ab906001600160a01b031681565b6100f861046b565b6001546001600160a01b03166101ab565b6100f860065481565b61013e6102063660046108f0565b6104dd565b61021361054e565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e91906109cc565b9050816001600160a01b031663a9059cbb6102a16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906109e5565b505050565b61031f61057b565b610328336105a3565b6103326001600255565b565b61033c61054e565b6103326000610787565b60015433906001600160a01b031681146103835760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61038c81610787565b50565b61039761054e565b8281146103dd5760405162461bcd60e51b81526020600482015260146024820152730d8cadccee8d0e640e6d0deead8c840dac2e8c6d60631b604482015260640161037a565b60075460005b84811015610461578383828181106103fd576103fd610a07565b905060200201358261040f9190610a1d565b915061045986868381811061042657610426610a07565b905060200201602081019061043b91906108f0565b85858481811061044d5761044d610a07565b905060200201356107a0565b6001016103e3565b5060075550505050565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156104b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d891906109cc565b905090565b6104e561054e565b600180546001600160a01b0383166001600160a01b031990911681179091556105166000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b031633146103325760405163118cdaa760e01b815233600482015260240161037a565b600280540361059d57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b6001600160a01b03811660009081526005602052604090205460ff16156105dc5760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038116600090815260046020526040902054806106315760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd08195b9d1a5d1b195960a21b604482015260640161037a565b600061063b61046b565b90508181101561068d5760405162461bcd60e51b815260206004820152601860248201527f6e6f7420656e6f75676820746f20646973747269627574650000000000000000604482015260640161037a565b6001600160a01b0383166000908152600560205260408120805460ff19166001179055600680548492906106c2908490610a1d565b909155505060035460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906109e5565b50826001600160a01b03167ff6f55ada4fbb9e2bc6813f97e749a30067f3c13a200ce783269b50e6419e8f648360405161077a91815260200190565b60405180910390a2505050565b600180546001600160a01b031916905561038c8161088b565b6001600160a01b03821660009081526005602052604090205460ff16156107d95760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038216600090815260046020526040902054156108325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48185cdcda59db995960821b604482015260640161037a565b6001600160a01b03821660008181526004602052604090819020839055517f4f995813143f46bc49e81b9b001594dd0707cdf28df48f593ccb571259a6c52d9061087f9084815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461038c57600080fd5b60006020828403121561090257600080fd5b813561090d816108db565b9392505050565b60008083601f84011261092657600080fd5b50813567ffffffffffffffff81111561093e57600080fd5b6020830191508360208260051b850101111561095957600080fd5b9250929050565b6000806000806040858703121561097657600080fd5b843567ffffffffffffffff8082111561098e57600080fd5b61099a88838901610914565b909650945060208701359150808211156109b357600080fd5b506109c087828801610914565b95989497509550505050565b6000602082840312156109de57600080fd5b5051919050565b6000602082840312156109f757600080fd5b8151801515811461090d57600080fd5b634e487b7160e01b600052603260045260246000fd5b80820180821115610a3e57634e487b7160e01b600052601160045260246000fd5b92915050565b60208082526025908201527f6163636f756e7420616c726561647920726563656976656420646973747269626040820152643aba34b7b760d91b60608201526080019056fea2646970667358221220a0c6290f941ef4d8abf904186cb3706d7b1fc90baf85620cca24a8d3065547dd64736f6c63430008180033";
306
+ const isSuperArgs = (xs) => xs.length > 1;
307
+ class SinglePhaseSingleTokenDistributor__factory extends ethers_1.ContractFactory {
308
+ constructor(...args) {
309
+ if (isSuperArgs(args)) {
310
+ super(...args);
311
+ }
312
+ else {
313
+ super(_abi, _bytecode, args[0]);
314
+ }
315
+ }
316
+ getDeployTransaction(_distributionToken, overrides) {
317
+ return super.getDeployTransaction(_distributionToken, overrides || {});
318
+ }
319
+ deploy(_distributionToken, overrides) {
320
+ return super.deploy(_distributionToken, overrides || {});
321
+ }
322
+ connect(runner) {
323
+ return super.connect(runner);
324
+ }
325
+ static createInterface() {
326
+ return new ethers_1.Interface(_abi);
327
+ }
328
+ static connect(address, runner) {
329
+ return new ethers_1.Contract(address, _abi, runner);
330
+ }
331
+ }
332
+ exports.SinglePhaseSingleTokenDistributor__factory = SinglePhaseSingleTokenDistributor__factory;
333
+ SinglePhaseSingleTokenDistributor__factory.bytecode = _bytecode;
334
+ SinglePhaseSingleTokenDistributor__factory.abi = _abi;
@@ -23,6 +23,7 @@ export * from "./lib/addresses/lensAddresses";
23
23
  export * from "./lib/addresses/systemAddresses";
24
24
  export * from "./lib/contractsIntegration/deployedContractsConnector";
25
25
  export * from "./lib/contractsIntegration/TradersPortalService";
26
+ export * from "./lib/contractsIntegration/TradingFloorService";
26
27
  export * from "./lib/contractsIntegration/IntentsVerifierLensService";
27
28
  export * from "./lib/contractsIntegration/TriggersAndPortalLensService";
28
29
  export * from "./lib/contractsIntegration/TradingFloorLensService";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAEhE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAE3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAE/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAE3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,aAAa,CAAC"}
@@ -1,27 +1,27 @@
1
1
  export declare const LensAddresses: {
2
2
  readonly boba: {
3
- readonly lexLens: "0xCcFaDF4E72d5b2D382555E0eb72a1BF6F7f0EF7F";
4
- readonly tradingFloorLensLens: "0xed9D263917921cb5f0B9a59c5083beA4075F33e7";
5
- readonly intentsVerifierLens: "0x8F33670B7a076793D178D340AD70Cc097DD03739";
6
- readonly triggersAndPortalLens: "0xA03312361D07dfAe0C517a441C69BFA9E84e38bf";
3
+ readonly intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa";
4
+ readonly lexLens: "0xE4Ebc518A2Fb771057E8E1e85296a72a4587e11E";
5
+ readonly tradingFloorLensLens: "0x7f68e8Ba4176683594342d9C39De22b93daC45E3";
6
+ readonly triggersAndPortalLens: "0x5c3d344C24e4Cd7DDCdd15C660095FFb160d42e5";
7
7
  };
8
8
  readonly sonic: {
9
- readonly lexLens: "0xBcb1D4ACbc844ba5FC0aA411b98aebD4A508B65F";
10
- readonly tradingFloorLensLens: "0xa5802951D972372f1385e9Ac83df738b3323d0A8";
11
- readonly intentsVerifierLens: "0xDBe9130AAe593Ec73a838ce286fa84c193bceFA1";
12
- readonly triggersAndPortalLens: "0xaA96df0a4F01212169c2347dc23D5AEb89924839";
9
+ readonly intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7";
10
+ readonly lexLens: "0xc8939875FeC9a0A2f1757272165f8F53659C47c4";
11
+ readonly tradingFloorLensLens: "0x50631a46BEe1E63e46C3eDceE3d5af33E5904681";
12
+ readonly triggersAndPortalLens: "0x7976e6E8145a11aB17D61497dfa0524999Ab6d3c";
13
13
  };
14
14
  readonly fantom: {
15
- readonly lexLens: "0xB5A5041654391a720953D346367D3A3BE9c3d47B";
16
- readonly tradingFloorLensLens: "0x2B913d10452c93Bb7184B5B4fb7e3724452fE0fB";
17
- readonly intentsVerifierLens: "0x5cf3613de36106C10674778C5748FAf9630c3D94";
18
- readonly triggersAndPortalLens: "0x9544C73C97BD292a1F09ef671A5f8CcDf9Ff5429";
15
+ readonly intentsVerifierLens: "";
16
+ readonly lexLens: "";
17
+ readonly tradingFloorLensLens: "";
18
+ readonly triggersAndPortalLens: "";
19
19
  };
20
20
  readonly flare: {
21
- readonly lexLens: "0x812Ea46a0618f923ae473eb239a89A8169b34B85";
22
- readonly tradingFloorLensLens: "0x13d878F3C3f32400A727662af7dfAdBc8b389637";
23
- readonly intentsVerifierLens: "0x33576dFbA7Ed5E3F8F744132D6885cE106178161";
24
- readonly triggersAndPortalLens: "0x625D49B0258BB8277516C07494910d420FA31B06";
21
+ readonly intentsVerifierLens: "0x1CdA9C57526e0CDF97f63c2c0CD460a16f9855F5";
22
+ readonly lexLens: "0x76CDbA9107a89af6Dda81655f26FBE67e1d4a749";
23
+ readonly tradingFloorLensLens: "0x731cDbfF121a313c9af0146826E2A78cCBE9FF66";
24
+ readonly triggersAndPortalLens: "0x36D550DbA557a930f0Dfcb4796c593b2215D52Af";
25
25
  };
26
26
  };
27
27
  //# sourceMappingURL=lensAddresses.d.ts.map
@@ -1,20 +1,7 @@
1
- import { BytesLike } from "ethers";
2
- import { AccountBasedIntentsVerifierRequestBuildingInfoStruct, HashBasedIntentsVerifierRequestBuildingInfoStruct } from "../../typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
3
- import { TSafeBigNumberStruct } from "../../utils/ethersTypes";
4
- export type TAccountBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<AccountBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
5
- actionType: number;
6
- currentNonce: number;
7
- };
8
- export type THashBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<HashBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
9
- actionType: number;
10
- currentNonce: number;
11
- };
12
1
  export interface IIntentsVerifierLensService {
13
- getRequestBuildingInfoForChipsIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
14
- getRequestBuildingInfoForLiquidityIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
15
- getRequestBuildingInfoForTradeIntentsVerifier(positionId: BytesLike, actionType: number): Promise<THashBasedIntentsVerifierRequestBuildingInfoStruct>;
2
+ getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
3
+ getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
4
+ getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
16
5
  registry(): Promise<string>;
17
6
  }
18
- export declare const EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: TAccountBasedIntentsVerifierRequestBuildingInfoStruct;
19
- export declare const EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: THashBasedIntentsVerifierRequestBuildingInfoStruct;
20
7
  //# sourceMappingURL=IIntentsVerifierLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EACL,oDAAoD,EACpD,iDAAiD,EAClD,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,qDAAqD,GAAG,IAAI,CACtE,oBAAoB,CAAC,oDAAoD,CAAC,EAC1E,YAAY,GAAG,cAAc,CAC9B,GAAG;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kDAAkD,GAAG,IAAI,CACnE,oBAAoB,CAAC,iDAAiD,CAAC,EACvE,YAAY,GAAG,cAAc,CAC9B,GAAG;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,CAC3C,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC,CAAC;IAElE,iDAAiD,CAC/C,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC,CAAC;IAElE,6CAA6C,CAC3C,UAAU,EAAE,SAAS,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAE/D,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,0DAA0D,EAAE,qDAMtE,CAAC;AAEJ,eAAO,MAAM,uDAAuD,EAAE,kDAMnE,CAAC"}
1
+ {"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAErE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B"}
@@ -1,11 +1,11 @@
1
- import { BytesLike, Provider, Signer } from "ethers";
2
- import { IIntentsVerifierLensService, TAccountBasedIntentsVerifierRequestBuildingInfoStruct, THashBasedIntentsVerifierRequestBuildingInfoStruct } from "./IIntentsVerifierLensService";
1
+ import { Provider, Signer } from "ethers";
2
+ import { IIntentsVerifierLensService } from "./IIntentsVerifierLensService";
3
3
  export declare class IntentsVerifierLensService implements IIntentsVerifierLensService {
4
4
  private readonly contract;
5
5
  constructor(signerOrProvider: Signer | Provider, address: string);
6
- getRequestBuildingInfoForChipsIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
7
- getRequestBuildingInfoForLiquidityIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
8
- getRequestBuildingInfoForTradeIntentsVerifier(positionId: BytesLike, actionType: number): Promise<THashBasedIntentsVerifierRequestBuildingInfoStruct>;
6
+ getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
7
+ getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
8
+ getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
9
9
  registry(): Promise<string>;
10
10
  }
11
11
  //# sourceMappingURL=IntentsVerifierLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrD,OAAO,EACL,2BAA2B,EAC3B,qDAAqD,EACrD,kDAAkD,EAGnD,MAAM,+BAA+B,CAAC;AAEvC,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,CACjD,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC;IAgB3D,iDAAiD,CACrD,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC;IAgB3D,6CAA6C,CACjD,UAAU,EAAE,SAAS,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,kDAAkD,CAAC;IAgBxD,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;CAGlC"}
1
+ {"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC;IAIpE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;CAGlC"}
@@ -3,7 +3,6 @@ export interface HumanReadablePositionRequestIdentifier {
3
3
  trader: string;
4
4
  pairId: number;
5
5
  settlementAsset: string;
6
- positionIndex: number;
7
6
  }
8
7
  export interface HumanReadablePositionRequestParams {
9
8
  isLong: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TradersPortalUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradersPortalService/TradersPortalUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,yBAAyB,CAAC;AAQjC,MAAM,WAAW,sCAAsC;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,sCAAsC,GAC7C,gCAAgC,CAOlC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,kCAAkC,GACzC,4BAA4B,CA+C9B"}
1
+ {"version":3,"file":"TradersPortalUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradersPortalService/TradersPortalUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,yBAAyB,CAAC;AAQjC,MAAM,WAAW,sCAAsC;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,sCAAsC,GAC7C,gCAAgC,CAMlC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,kCAAkC,GACzC,4BAA4B,CA+C9B"}
@@ -19,41 +19,33 @@ export type TCompletePositionDataFromLensStruct = Omit<TSafeBigNumberStruct<Trad
19
19
  pendingUpdateOrderTimestamp: number;
20
20
  liquidationPrice: number;
21
21
  };
22
- export type TGetAllPositionsDataForAllTradersResultStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsDataForAllTradersResultStruct>, "positions" | "positionsCount" | "settlementAssetsLastIndex" | "pairIdsLastIndex" | "pairTraderLastIndex"> & {
22
+ export type TGetAllPositionsDataForAllTradersResultStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsDataForAllTradersResultStruct>, "positions" | "positionsCount" | "traderLastIndex"> & {
23
23
  positions: TCompletePositionDataFromLensStruct[];
24
24
  positionsCount: number;
25
- settlementAssetsLastIndex: number;
26
- pairIdsLastIndex: number;
27
- pairTraderLastIndex: number;
25
+ traderLastIndex: number;
28
26
  };
29
27
  export type TPositionLiquidationInfoStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.PositionLiquidationInfoStruct>, "phase" | "liquidationPrice"> & {
30
28
  phase: number;
31
29
  liquidationPrice: number;
32
30
  };
33
- export type TGetAllPositionsLiquidationInfoResultStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsLiquidationInfoResultStruct>, "positionsLiquidationInfo" | "positionsCount" | "settlementAssetsLastIndex" | "pairIdsLastIndex" | "pairTraderLastIndex" | "positionLastIndex"> & {
31
+ export type TGetAllPositionsLiquidationInfoResultStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsLiquidationInfoResultStruct>, "positionsLiquidationInfo" | "positionsCount" | "traderLastIndex" | "positionLastIndex"> & {
34
32
  positionsLiquidationInfo: TPositionLiquidationInfoStruct[];
35
33
  positionsCount: number;
36
- settlementAssetsLastIndex: number;
37
- pairIdsLastIndex: number;
38
- pairTraderLastIndex: number;
34
+ traderLastIndex: number;
39
35
  positionLastIndex: number;
40
36
  };
41
- export type TGetAllPositionsDataForAllTradersParamsStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsDataForAllTradersParamsStruct>, "settlementAssetsStartIndex" | "pairIdsStartIndex" | "pairTraderStartIndex" | "positionsLimit"> & {
42
- settlementAssetsStartIndex: number;
43
- pairIdsStartIndex: number;
44
- pairTraderStartIndex: number;
37
+ export type TGetAllPositionsDataForAllTradersParamsStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsDataForAllTradersParamsStruct>, "traderStartIndex" | "positionsLimit"> & {
38
+ traderStartIndex: number;
45
39
  positionsLimit: number;
46
40
  };
47
- export type TGetAllPositionsLiquidationInfoParamsStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsLiquidationInfoParamsStruct>, "settlementAssetsStartIndex" | "pairIdsStartIndex" | "pairTraderStartIndex" | "positionStartIndex" | "positionsLimit"> & {
48
- settlementAssetsStartIndex: number;
49
- pairIdsStartIndex: number;
50
- pairTraderStartIndex: number;
41
+ export type TGetAllPositionsLiquidationInfoParamsStruct = Omit<TSafeBigNumberStruct<TradingFloorLensStructs.GetAllPositionsLiquidationInfoParamsStruct>, "traderStartIndex" | "positionStartIndex" | "positionsLimit"> & {
42
+ traderStartIndex: number;
51
43
  positionStartIndex: number;
52
44
  positionsLimit: number;
53
45
  };
54
46
  export type TTradingFloorLensTradeParamsStruct = {
55
47
  tradingFloor: string;
56
- maxTradesPerPair: number;
48
+ maxTradesPerTrader: number;
57
49
  maxSlF: number;
58
50
  maxSanityProfitF: number;
59
51
  };
@@ -65,12 +57,9 @@ export declare const EMPTY_TRADE_PARAMS: TTradingFloorLensTradeParamsStruct;
65
57
  export interface ITradingFloorLensService {
66
58
  generatePositionHashId(settlementAsset: string, trader: string, pairId: number, index: number): Promise<string>;
67
59
  getAllPositionsDataForAllTraders(params: TGetAllPositionsDataForAllTradersParamsStruct): Promise<TGetAllPositionsDataForAllTradersResultStruct>;
68
- getAllPositionsDataForAllTradersInDimension(tradingFloor: string, settlementAsset: string, arraySize: number): Promise<TCompletePositionDataFromLensStruct[]>;
69
- getAllPositionsDataForTraderInDimension(tradingFloor: string, settlementAsset: string, trader: string): Promise<TCompletePositionDataFromLensStruct[]>;
70
60
  getAllPositionsLiquidationInfo(params: TGetAllPositionsLiquidationInfoParamsStruct, phases?: number[]): Promise<TGetAllPositionsLiquidationInfoResultStruct>;
71
61
  getCompletePositionData(tradingFloor: string, positionId: BytesLike): Promise<TCompletePositionDataFromLensStruct>;
72
- getPositionDataInPairsForTrader(tradingFloor: string, settlementAsset: string, trader: string, pairIds: number[]): Promise<TCompletePositionDataFromLensStruct[]>;
73
- getPositionsDataInPairForTrader(tradingFloor: string, settlementAsset: string, trader: string, pairId: number): Promise<TCompletePositionDataFromLensStruct[]>;
62
+ getPositionsDataForTrader(tradingFloor: string, trader: string): Promise<TCompletePositionDataFromLensStruct[]>;
74
63
  getTradingFloorTradeParams(tradingFloor: string): Promise<TTradingFloorLensTradeParamsStruct>;
75
64
  }
76
65
  //# sourceMappingURL=ITradingFloorLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ITradingFloorLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,mCAAmC,GAAG,IAAI,CACpD,oBAAoB,CAAC,uBAAuB,CAAC,kCAAkC,CAAC,EAChF,QAAQ,GAAG,eAAe,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,WAAW,GAAG,kBAAkB,GAAG,UAAU,GAAG,UAAU,GAAG,eAAe,GAAG,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,wBAAwB,GAAG,6BAA6B,GAAG,kBAAkB,CAClQ,GAAG;IACF,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CA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ACpD,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAE1D,2CAA2C,CACzC,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAAC;IAElD,uCAAuC,CACrC,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAAC;IAElD,8BAA8B,CAC5B,MAAM,EAAE,2CAA2C,EACnD,MAAM,CAAC,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,2CAA2C,CAAC,CAAC;IAExD,uBAAuB,CACrB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,SAAS,GACpB,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAEhD,+BAA+B,CAC7B,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAAC;IAElD,+BAA+B,CAC7B,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAAC;IAElD,0BAA0B,CACxB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kCAAkC,CAAC,CAAC;CAChD"}
1
+ {"version":3,"file":"ITradingFloorLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,mCAAmC,GAAG,IAAI,CACp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MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,gCAAgC,CAC9B,MAAM,EAAE,6CAA6C,GACpD,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAE1D,8BAA8B,CAC5B,MAAM,EAAE,2CAA2C,EACnD,MAAM,CAAC,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,2CAA2C,CAAC,CAAC;IAExD,uBAAuB,CACrB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,SAAS,GACpB,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAEhD,yBAAyB,CACvB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAAC;IAElD,0BAA0B,CACxB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kCAAkC,CAAC,CAAC;CAChD"}
@@ -5,12 +5,9 @@ export declare class TradingFloorLensService implements ITradingFloorLensService
5
5
  constructor(signerOrProvider: Signer | Provider, contractAddress: string);
6
6
  generatePositionHashId(settlementAsset: string, trader: string, pairId: number, index: number): Promise<string>;
7
7
  getAllPositionsDataForAllTraders(params: TGetAllPositionsDataForAllTradersParamsStruct): Promise<TGetAllPositionsDataForAllTradersResultStruct>;
8
- getAllPositionsDataForAllTradersInDimension(tradingFloor: string, settlementAsset: string, arraySize: number): Promise<TCompletePositionDataFromLensStruct[]>;
9
- getAllPositionsDataForTraderInDimension(tradingFloor: string, settlementAsset: string, trader: string): Promise<TCompletePositionDataFromLensStruct[]>;
10
8
  getAllPositionsLiquidationInfo(params: TGetAllPositionsLiquidationInfoParamsStruct, phases?: number[]): Promise<TGetAllPositionsLiquidationInfoResultStruct>;
11
9
  getCompletePositionData(tradingFloor: string, positionId: BytesLike): Promise<TCompletePositionDataFromLensStruct>;
12
- getPositionDataInPairsForTrader(tradingFloor: string, settlementAsset: string, trader: string, pairIds: number[]): Promise<TCompletePositionDataFromLensStruct[]>;
13
- getPositionsDataInPairForTrader(tradingFloor: string, settlementAsset: string, trader: string, pairId: number): Promise<TCompletePositionDataFromLensStruct[]>;
10
+ getPositionsDataForTrader(tradingFloor: string, trader: string): Promise<TCompletePositionDataFromLensStruct[]>;
14
11
  getTradingFloorTradeParams(tradingFloor: string): Promise<TTradingFloorLensTradeParamsStruct>;
15
12
  }
16
13
  //# sourceMappingURL=TradingFloorLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TradingFloorLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrD,OAAO,EACL,wBAAwB,EACxB,mCAAmC,EACnC,6CAA6C,EAC7C,6CAA6C,EAC7C,2CAA2C,EAC3C,2CAA2C,EAE3C,kCAAkC,EAKnC,MAAM,4BAA4B,CAAC;AAmCpC,qBAAa,uBAAwB,YAAW,wBAAwB;IACtE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmB;gBAEhC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,eAAe,EAAE,MAAM;IAIlE,sBAAsB,CAC1B,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC;IASZ,gCAAgC,CACpC,MAAM,EAAE,6CAA6C,GACpD,OAAO,CAAC,6CAA6C,CAAC;IA2BnD,2CAA2C,CAC/C,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,mCAAmC,EAAE,CAAC;IAa3C,uCAAuC,CAC3C,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC;IAa3C,8BAA8B,CAClC,MAAM,EAAE,2CAA2C,EACnD,MAAM,CAAC,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,2CAA2C,CAAC;IAsCjD,uBAAuB,CAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,SAAS,GACpB,OAAO,CAAC,mCAAmC,CAAC;IAMzC,+BAA+B,CACnC,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,mCAAmC,EAAE,CAAC;IAc3C,+BAA+B,CACnC,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC;IAc3C,0BAA0B,CAC9B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kCAAkC,CAAC;CAU/C"}
1
+ {"version":3,"file":"TradingFloorLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrD,OAAO,EACL,wBAAwB,EACxB,mCAAmC,EACnC,6CAA6C,EAC7C,6CAA6C,EAC7C,2CAA2C,EAC3C,2CAA2C,EAE3C,kCAAkC,EAKnC,MAAM,4BAA4B,CAAC;AAyCpC,qBAAa,uBAAwB,YAAW,wBAAwB;IACtE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmB;gBAEhC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,eAAe,EAAE,MAAM;IAOlE,sBAAsB,CAC1B,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC;IASZ,gCAAgC,CACpC,MAAM,EAAE,6CAA6C,GACpD,OAAO,CAAC,6CAA6C,CAAC;IA6BnD,8BAA8B,CAClC,MAAM,EAAE,2CAA2C,EACnD,MAAM,CAAC,EAAE,MAAM,EAAE,GAChB,OAAO,CAAC,2CAA2C,CAAC;IAwCjD,uBAAuB,CAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,SAAS,GACpB,OAAO,CAAC,mCAAmC,CAAC;IAQzC,yBAAyB,CAC7B,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,EAAE,CAAC;IAW3C,0BAA0B,CAC9B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kCAAkC,CAAC;CAU/C"}
@@ -57,16 +57,22 @@ export interface ITradingFloorService {
57
57
  isSettlementAssetSupported(settlementAsset: string): Promise<boolean>;
58
58
  lexPoolForAsset(asset: string): Promise<string>;
59
59
  poolAccountantForAsset(asset: string): Promise<string>;
60
- pairTraders(asset: string, pairId: bigint, index: bigint): Promise<string>;
61
- pairTradersArray(asset: string, pairIndex: bigint): Promise<string[]>;
62
- pairTradersInfo(asset: string, trader: string, pairId: bigint): Promise<{
60
+ deprecated_pairTraders(asset: string, pairId: bigint, index: bigint): Promise<string>;
61
+ deprecated_pairTradersArray(asset: string, pairIndex: bigint): Promise<string[]>;
62
+ deprecated_pairTradersInfo(asset: string, trader: string, pairId: bigint): Promise<{
63
63
  positionsCounter: bigint;
64
64
  positionInArray: bigint;
65
65
  }>;
66
66
  pausedPairs(pairId: bigint): Promise<boolean>;
67
+ traders(index: bigint): Promise<string>;
68
+ tradersAmount(): Promise<bigint>;
69
+ tradersIndex(trader: string): Promise<bigint>;
70
+ getActivePositionsAmountForTrader(trader: string): Promise<bigint>;
71
+ activePositionIdsByTrader(trader: string, index: bigint): Promise<string>;
72
+ positionIdToActivePositionIndex(trader: string, positionId: string): Promise<bigint>;
67
73
  maxSanityProfitF(): Promise<bigint>;
68
74
  maxSlF(): Promise<bigint>;
69
- maxTradesPerPair(): Promise<bigint>;
75
+ maxTradesPerTrader(): Promise<bigint>;
70
76
  feesMap(asset: string, feeType: bigint): Promise<bigint>;
71
77
  admin(): Promise<string>;
72
78
  pendingAdmin(): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"ITradingFloorService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorService/ITradingFloorService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,QAAQ,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,KAAK,+BAA+B,GAClC,qBAAqB,CAAC,gCAAgC,CAAC;AACzD,KAAK,2BAA2B,GAC9B,qBAAqB,CAAC,2BAA2B,CAAC;AAEpD,MAAM,MAAM,gCAAgC,GAC1C,oBAAoB,CAAC,+BAA+B,CAAC,CAAC;AACxD,MAAM,MAAM,4BAA4B,GACtC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;AAEpD,MAAM,WAAW,oBAAoB;IAGnC,sBAAsB,CACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,qBAAqB,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC;QACpD,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IAEH,6BAA6B,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC;QAC5D,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,OAAO,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,EAAE,EAAE,M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OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,2BAA2B,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/C,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC9B"}
1
+ {"version":3,"file":"ITradingFloorService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradingFloorService/ITradingFloorService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,QAAQ,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,KAAK,+BAA+B,GAClC,qBAAqB,CAAC,gCAAgC,CAAC;AACzD,KAAK,2BAA2B,GAC9B,qBAAqB,CAAC,2BAA2B,CAAC;AAEpD,MAAM,MAAM,gCAAgC,GAC1C,oBAAoB,CAAC,+BAA+B,CAAC,CAAC;AACxD,MAAM,MAAM,4BAA4B,GACtC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;AAEpD,MAAM,WAAW,oBAAoB;IAEnC,sBAAsB,CACpB,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,qBAAqB,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC;QACpD,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IAEH,6BAA6B,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC;QAC5D,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,OAAO,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,EAAE,EA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