@paraswap/dex-lib 4.7.15-executor-build-os-arm.0 → 4.7.16

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 (34) hide show
  1. package/build/abi/pharaoh-v3/PharaohV3Factory.abi.json +0 -310
  2. package/build/abi/uniswap-v4/hooks/arena/arena-fee-helper.abi.json +476 -0
  3. package/build/dex/index.js +2 -0
  4. package/build/dex/index.js.map +1 -1
  5. package/build/dex/uniswap-v3/config.js +38 -34
  6. package/build/dex/uniswap-v3/config.js.map +1 -1
  7. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js +2 -5
  8. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js.map +1 -1
  9. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3.js +9 -15
  10. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3.js.map +1 -1
  11. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.d.ts +2 -2
  12. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js.map +1 -1
  13. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +2 -1
  14. package/build/dex/uniswap-v3/uniswap-v3-pool.js +3 -1
  15. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  16. package/build/dex/uniswap-v3/uniswap-v3.d.ts +2 -2
  17. package/build/dex/uniswap-v3/uniswap-v3.js +1 -1
  18. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  19. package/build/dex/uniswap-v4/hooks/arena/arena-hook.d.ts +17 -0
  20. package/build/dex/uniswap-v4/hooks/arena/arena-hook.js +97 -0
  21. package/build/dex/uniswap-v4/hooks/arena/arena-hook.js.map +1 -0
  22. package/build/dex/uniswap-v4/hooks/arena.d.ts +6 -0
  23. package/build/dex/uniswap-v4/hooks/arena.js +10 -0
  24. package/build/dex/uniswap-v4/hooks/arena.js.map +1 -0
  25. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  26. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +2 -0
  27. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +1 -0
  28. package/build/dex/uniswap-v4/hooks/index.d.ts +16 -1
  29. package/build/dex/uniswap-v4/hooks/index.js +34 -6
  30. package/build/dex/uniswap-v4/hooks/index.js.map +1 -1
  31. package/build/dex/uniswap-v4/hooks/types.d.ts +50 -0
  32. package/build/dex/uniswap-v4/hooks/types.js +3 -0
  33. package/build/dex/uniswap-v4/hooks/types.js.map +1 -0
  34. package/package.json +1 -1
@@ -1,55 +1,4 @@
1
1
  [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "_accessHub", "type": "address" }
5
- ],
6
- "stateMutability": "nonpayable",
7
- "type": "constructor"
8
- },
9
- { "inputs": [], "name": "ADDRESS_ZERO", "type": "error" },
10
- { "inputs": [], "name": "F0", "type": "error" },
11
- { "inputs": [], "name": "FEE_TOO_LARGE", "type": "error" },
12
- { "inputs": [], "name": "IDENTICAL_TOKENS", "type": "error" },
13
- { "inputs": [], "name": "NOT_ACCESSHUB", "type": "error" },
14
- { "inputs": [], "name": "PAIR_EXISTS", "type": "error" },
15
- {
16
- "anonymous": false,
17
- "inputs": [
18
- {
19
- "indexed": false,
20
- "internalType": "address",
21
- "name": "pool",
22
- "type": "address"
23
- },
24
- {
25
- "indexed": false,
26
- "internalType": "uint24",
27
- "name": "newFee",
28
- "type": "uint24"
29
- }
30
- ],
31
- "name": "FeeAdjustment",
32
- "type": "event"
33
- },
34
- {
35
- "anonymous": false,
36
- "inputs": [
37
- {
38
- "indexed": true,
39
- "internalType": "address",
40
- "name": "oldFeeCollector",
41
- "type": "address"
42
- },
43
- {
44
- "indexed": true,
45
- "internalType": "address",
46
- "name": "newFeeCollector",
47
- "type": "address"
48
- }
49
- ],
50
- "name": "FeeCollectorChanged",
51
- "type": "event"
52
- },
53
2
  {
54
3
  "anonymous": false,
55
4
  "inputs": [
@@ -86,264 +35,5 @@
86
35
  ],
87
36
  "name": "PoolCreated",
88
37
  "type": "event"
89
- },
90
- {
91
- "anonymous": false,
92
- "inputs": [
93
- {
94
- "indexed": false,
95
- "internalType": "uint24",
96
- "name": "feeProtocolOld",
97
- "type": "uint24"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "uint24",
102
- "name": "feeProtocolNew",
103
- "type": "uint24"
104
- }
105
- ],
106
- "name": "SetFeeProtocol",
107
- "type": "event"
108
- },
109
- {
110
- "anonymous": false,
111
- "inputs": [
112
- {
113
- "indexed": false,
114
- "internalType": "address",
115
- "name": "pool",
116
- "type": "address"
117
- },
118
- {
119
- "indexed": false,
120
- "internalType": "uint24",
121
- "name": "feeProtocolOld",
122
- "type": "uint24"
123
- },
124
- {
125
- "indexed": false,
126
- "internalType": "uint24",
127
- "name": "feeProtocolNew",
128
- "type": "uint24"
129
- }
130
- ],
131
- "name": "SetPoolFeeProtocol",
132
- "type": "event"
133
- },
134
- {
135
- "anonymous": false,
136
- "inputs": [
137
- {
138
- "indexed": true,
139
- "internalType": "int24",
140
- "name": "tickSpacing",
141
- "type": "int24"
142
- },
143
- {
144
- "indexed": true,
145
- "internalType": "uint24",
146
- "name": "fee",
147
- "type": "uint24"
148
- }
149
- ],
150
- "name": "TickSpacingEnabled",
151
- "type": "event"
152
- },
153
- {
154
- "inputs": [],
155
- "name": "DEFAULT_FEE_FLAG",
156
- "outputs": [{ "internalType": "uint24", "name": "", "type": "uint24" }],
157
- "stateMutability": "view",
158
- "type": "function"
159
- },
160
- {
161
- "inputs": [],
162
- "name": "accessHub",
163
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
164
- "stateMutability": "view",
165
- "type": "function"
166
- },
167
- {
168
- "inputs": [
169
- { "internalType": "address", "name": "tokenA", "type": "address" },
170
- { "internalType": "address", "name": "tokenB", "type": "address" },
171
- { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
172
- { "internalType": "uint160", "name": "sqrtPriceX96", "type": "uint160" }
173
- ],
174
- "name": "createPool",
175
- "outputs": [
176
- { "internalType": "address", "name": "pool", "type": "address" }
177
- ],
178
- "stateMutability": "nonpayable",
179
- "type": "function"
180
- },
181
- {
182
- "inputs": [
183
- { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
184
- { "internalType": "uint24", "name": "initialFee", "type": "uint24" }
185
- ],
186
- "name": "enableTickSpacing",
187
- "outputs": [],
188
- "stateMutability": "nonpayable",
189
- "type": "function"
190
- },
191
- {
192
- "inputs": [],
193
- "name": "feeCollector",
194
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
195
- "stateMutability": "view",
196
- "type": "function"
197
- },
198
- {
199
- "inputs": [],
200
- "name": "feeProtocol",
201
- "outputs": [{ "internalType": "uint24", "name": "", "type": "uint24" }],
202
- "stateMutability": "view",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [
207
- { "internalType": "address", "name": "pool", "type": "address" }
208
- ],
209
- "name": "gaugeFeeSplitEnable",
210
- "outputs": [],
211
- "stateMutability": "nonpayable",
212
- "type": "function"
213
- },
214
- {
215
- "inputs": [
216
- { "internalType": "address", "name": "tokenA", "type": "address" },
217
- { "internalType": "address", "name": "tokenB", "type": "address" },
218
- { "internalType": "int24", "name": "tickSpacing", "type": "int24" }
219
- ],
220
- "name": "getPool",
221
- "outputs": [
222
- { "internalType": "address", "name": "pool", "type": "address" }
223
- ],
224
- "stateMutability": "view",
225
- "type": "function"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "address",
231
- "name": "_ramsesV3PoolDeployer",
232
- "type": "address"
233
- }
234
- ],
235
- "name": "initialize",
236
- "outputs": [],
237
- "stateMutability": "nonpayable",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [
242
- { "internalType": "address", "name": "pool", "type": "address" }
243
- ],
244
- "name": "isPairV3",
245
- "outputs": [{ "internalType": "bool", "name": "isV3", "type": "bool" }],
246
- "stateMutability": "view",
247
- "type": "function"
248
- },
249
- {
250
- "inputs": [],
251
- "name": "parameters",
252
- "outputs": [
253
- { "internalType": "address", "name": "factory", "type": "address" },
254
- { "internalType": "address", "name": "token0", "type": "address" },
255
- { "internalType": "address", "name": "token1", "type": "address" },
256
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
257
- { "internalType": "int24", "name": "tickSpacing", "type": "int24" }
258
- ],
259
- "stateMutability": "view",
260
- "type": "function"
261
- },
262
- {
263
- "inputs": [
264
- { "internalType": "address", "name": "pool", "type": "address" }
265
- ],
266
- "name": "poolFeeProtocol",
267
- "outputs": [
268
- {
269
- "internalType": "uint24",
270
- "name": "__poolFeeProtocol",
271
- "type": "uint24"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "ramsesV3PoolDeployer",
280
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
281
- "stateMutability": "view",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [
286
- { "internalType": "address", "name": "_pool", "type": "address" },
287
- { "internalType": "uint24", "name": "_fee", "type": "uint24" }
288
- ],
289
- "name": "setFee",
290
- "outputs": [],
291
- "stateMutability": "nonpayable",
292
- "type": "function"
293
- },
294
- {
295
- "inputs": [
296
- { "internalType": "address", "name": "_feeCollector", "type": "address" }
297
- ],
298
- "name": "setFeeCollector",
299
- "outputs": [],
300
- "stateMutability": "nonpayable",
301
- "type": "function"
302
- },
303
- {
304
- "inputs": [
305
- { "internalType": "uint24", "name": "_feeProtocol", "type": "uint24" }
306
- ],
307
- "name": "setFeeProtocol",
308
- "outputs": [],
309
- "stateMutability": "nonpayable",
310
- "type": "function"
311
- },
312
- {
313
- "inputs": [
314
- { "internalType": "address", "name": "pool", "type": "address" },
315
- { "internalType": "uint24", "name": "_feeProtocol", "type": "uint24" }
316
- ],
317
- "name": "setPoolFeeProtocol",
318
- "outputs": [],
319
- "stateMutability": "nonpayable",
320
- "type": "function"
321
- },
322
- {
323
- "inputs": [
324
- { "internalType": "address", "name": "_voter", "type": "address" }
325
- ],
326
- "name": "setVoter",
327
- "outputs": [],
328
- "stateMutability": "nonpayable",
329
- "type": "function"
330
- },
331
- {
332
- "inputs": [
333
- { "internalType": "int24", "name": "tickSpacing", "type": "int24" }
334
- ],
335
- "name": "tickSpacingInitialFee",
336
- "outputs": [
337
- { "internalType": "uint24", "name": "initialFee", "type": "uint24" }
338
- ],
339
- "stateMutability": "view",
340
- "type": "function"
341
- },
342
- {
343
- "inputs": [],
344
- "name": "voter",
345
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
346
- "stateMutability": "view",
347
- "type": "function"
348
38
  }
349
39
  ]