@paraswap/dex-lib 4.6.3-pool-tracker-data.0 → 4.6.3-pool-tracker-data.2

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 (61) hide show
  1. package/build/abi/algebra-integral/blackhole-cl/Quoter.abi.json +325 -0
  2. package/build/abi/lite-psm/pot.json +322 -0
  3. package/build/abi/lite-psm/psm.json +24 -249
  4. package/build/abi/lite-psm/vat.json +363 -0
  5. package/build/config.js +0 -2
  6. package/build/config.js.map +1 -1
  7. package/build/dex/aave-gsm/aave-gsm.js +1 -1
  8. package/build/dex/aave-gsm/aave-gsm.js.map +1 -1
  9. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +52 -0
  10. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +363 -0
  11. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  12. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  13. package/build/dex/aave-pt-to-usdc/config.js +59 -0
  14. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  15. package/build/dex/aave-pt-to-usdc/constants.d.ts +6 -0
  16. package/build/dex/aave-pt-to-usdc/constants.js +13 -0
  17. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  18. package/build/dex/aave-pt-to-usdc/types.d.ts +34 -0
  19. package/build/dex/aave-pt-to-usdc/types.js +3 -0
  20. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  21. package/build/dex/aave-v3/aave-v3.js.map +1 -1
  22. package/build/dex/algebra-integral/constants.d.ts +3 -0
  23. package/build/dex/algebra-integral/constants.js +7 -0
  24. package/build/dex/algebra-integral/constants.js.map +1 -0
  25. package/build/dex/algebra-integral/forks/blackhole-cl.d.ts +20 -0
  26. package/build/dex/algebra-integral/forks/blackhole-cl.js +118 -0
  27. package/build/dex/algebra-integral/forks/blackhole-cl.js.map +1 -0
  28. package/build/dex/angle-transmuter/angle-transmuter.js +8 -4
  29. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  30. package/build/dex/ekubo/pools/math/sqrt-ratio.d.ts +8 -0
  31. package/build/dex/ekubo/pools/math/sqrt-ratio.js +113 -0
  32. package/build/dex/ekubo/pools/math/sqrt-ratio.js.map +1 -0
  33. package/build/dex/ekubo/pools/mev-resist.d.ts +7 -0
  34. package/build/dex/ekubo/pools/mev-resist.js +40 -0
  35. package/build/dex/ekubo/pools/mev-resist.js.map +1 -0
  36. package/build/dex/ekubo/pools/pool.d.ts +47 -0
  37. package/build/dex/ekubo/pools/pool.js +76 -0
  38. package/build/dex/ekubo/pools/pool.js.map +1 -0
  39. package/build/dex/idle-dao/idle-dao.d.ts +0 -1
  40. package/build/dex/idle-dao/idle-dao.js +11 -23
  41. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  42. package/build/dex/index.js +0 -4
  43. package/build/dex/index.js.map +1 -1
  44. package/build/dex/lite-psm/lite-psm-event-pool.js +2 -2
  45. package/build/dex/lite-psm/lite-psm-event-pool.js.map +1 -1
  46. package/build/dex/lite-psm/lite-psm.js +4 -3
  47. package/build/dex/lite-psm/lite-psm.js.map +1 -1
  48. package/build/dex/maker-psm/maker-psm.d.ts +2 -12
  49. package/build/dex/maker-psm/maker-psm.js +3 -2
  50. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  51. package/build/dex/miro-migrator/miro-migrator-pool.js +4 -6
  52. package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
  53. package/build/dex/solidly/forks-override/blackhole.d.ts +23 -0
  54. package/build/dex/solidly/forks-override/blackhole.js +81 -0
  55. package/build/dex/solidly/forks-override/blackhole.js.map +1 -0
  56. package/build/dex/spark/config.js +1 -1
  57. package/build/dex/spark/config.js.map +1 -1
  58. package/build/dex/spark/scripts/validate-state.js +1 -1
  59. package/build/dex/spark/scripts/validate-state.js.map +1 -1
  60. package/build/types.d.ts +0 -1
  61. package/package.json +1 -1
@@ -1,10 +1,9 @@
1
1
  [
2
2
  {
3
3
  "inputs": [
4
- { "internalType": "bytes32", "name": "ilk_", "type": "bytes32" },
5
- { "internalType": "address", "name": "gem_", "type": "address" },
4
+ { "internalType": "address", "name": "gemJoin_", "type": "address" },
6
5
  { "internalType": "address", "name": "daiJoin_", "type": "address" },
7
- { "internalType": "address", "name": "pocket_", "type": "address" }
6
+ { "internalType": "address", "name": "vow_", "type": "address" }
8
7
  ],
9
8
  "stateMutability": "nonpayable",
10
9
  "type": "constructor"
@@ -39,59 +38,14 @@
39
38
  "inputs": [
40
39
  {
41
40
  "indexed": false,
42
- "internalType": "uint256",
43
- "name": "wad",
44
- "type": "uint256"
45
- }
46
- ],
47
- "name": "Chug",
48
- "type": "event"
49
- },
50
- {
51
- "anonymous": false,
52
- "inputs": [
53
- {
54
- "indexed": true,
55
41
  "internalType": "address",
56
- "name": "usr",
42
+ "name": "user",
57
43
  "type": "address"
58
44
  }
59
45
  ],
60
46
  "name": "Deny",
61
47
  "type": "event"
62
48
  },
63
- {
64
- "anonymous": false,
65
- "inputs": [
66
- {
67
- "indexed": true,
68
- "internalType": "address",
69
- "name": "usr",
70
- "type": "address"
71
- }
72
- ],
73
- "name": "Diss",
74
- "type": "event"
75
- },
76
- {
77
- "anonymous": false,
78
- "inputs": [
79
- {
80
- "indexed": true,
81
- "internalType": "bytes32",
82
- "name": "what",
83
- "type": "bytes32"
84
- },
85
- {
86
- "indexed": false,
87
- "internalType": "address",
88
- "name": "data",
89
- "type": "address"
90
- }
91
- ],
92
- "name": "File",
93
- "type": "event"
94
- },
95
49
  {
96
50
  "anonymous": false,
97
51
  "inputs": [
@@ -116,34 +70,8 @@
116
70
  "inputs": [
117
71
  {
118
72
  "indexed": false,
119
- "internalType": "uint256",
120
- "name": "wad",
121
- "type": "uint256"
122
- }
123
- ],
124
- "name": "Fill",
125
- "type": "event"
126
- },
127
- {
128
- "anonymous": false,
129
- "inputs": [
130
- {
131
- "indexed": true,
132
73
  "internalType": "address",
133
- "name": "usr",
134
- "type": "address"
135
- }
136
- ],
137
- "name": "Kiss",
138
- "type": "event"
139
- },
140
- {
141
- "anonymous": false,
142
- "inputs": [
143
- {
144
- "indexed": true,
145
- "internalType": "address",
146
- "name": "usr",
74
+ "name": "user",
147
75
  "type": "address"
148
76
  }
149
77
  ],
@@ -175,87 +103,21 @@
175
103
  "name": "SellGem",
176
104
  "type": "event"
177
105
  },
178
- {
179
- "anonymous": false,
180
- "inputs": [
181
- {
182
- "indexed": false,
183
- "internalType": "uint256",
184
- "name": "wad",
185
- "type": "uint256"
186
- }
187
- ],
188
- "name": "Trim",
189
- "type": "event"
190
- },
191
- {
192
- "inputs": [],
193
- "name": "HALTED",
194
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
195
- "stateMutability": "view",
196
- "type": "function"
197
- },
198
- {
199
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
200
- "name": "bud",
201
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
202
- "stateMutability": "view",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [],
207
- "name": "buf",
208
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
209
- "stateMutability": "view",
210
- "type": "function"
211
- },
212
106
  {
213
107
  "inputs": [
214
108
  { "internalType": "address", "name": "usr", "type": "address" },
215
109
  { "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
216
110
  ],
217
111
  "name": "buyGem",
218
- "outputs": [
219
- { "internalType": "uint256", "name": "daiInWad", "type": "uint256" }
220
- ],
221
- "stateMutability": "nonpayable",
222
- "type": "function"
223
- },
224
- {
225
- "inputs": [
226
- { "internalType": "address", "name": "usr", "type": "address" },
227
- { "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
228
- ],
229
- "name": "buyGemNoFee",
230
- "outputs": [
231
- { "internalType": "uint256", "name": "daiInWad", "type": "uint256" }
232
- ],
233
- "stateMutability": "nonpayable",
234
- "type": "function"
235
- },
236
- {
237
- "inputs": [],
238
- "name": "chug",
239
- "outputs": [
240
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
241
- ],
112
+ "outputs": [],
242
113
  "stateMutability": "nonpayable",
243
114
  "type": "function"
244
115
  },
245
- {
246
- "inputs": [],
247
- "name": "cut",
248
- "outputs": [
249
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
250
- ],
251
- "stateMutability": "view",
252
- "type": "function"
253
- },
254
116
  {
255
117
  "inputs": [],
256
118
  "name": "dai",
257
119
  "outputs": [
258
- { "internalType": "contract GemLike", "name": "", "type": "address" }
120
+ { "internalType": "contract DaiAbstract", "name": "", "type": "address" }
259
121
  ],
260
122
  "stateMutability": "view",
261
123
  "type": "function"
@@ -264,18 +126,15 @@
264
126
  "inputs": [],
265
127
  "name": "daiJoin",
266
128
  "outputs": [
267
- { "internalType": "contract DaiJoinLike", "name": "", "type": "address" }
129
+ {
130
+ "internalType": "contract DaiJoinAbstract",
131
+ "name": "",
132
+ "type": "address"
133
+ }
268
134
  ],
269
135
  "stateMutability": "view",
270
136
  "type": "function"
271
137
  },
272
- {
273
- "inputs": [],
274
- "name": "dec",
275
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
276
- "stateMutability": "view",
277
- "type": "function"
278
- },
279
138
  {
280
139
  "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
281
140
  "name": "deny",
@@ -283,13 +142,6 @@
283
142
  "stateMutability": "nonpayable",
284
143
  "type": "function"
285
144
  },
286
- {
287
- "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
288
- "name": "diss",
289
- "outputs": [],
290
- "stateMutability": "nonpayable",
291
- "type": "function"
292
- },
293
145
  {
294
146
  "inputs": [
295
147
  { "internalType": "bytes32", "name": "what", "type": "bytes32" },
@@ -300,48 +152,24 @@
300
152
  "stateMutability": "nonpayable",
301
153
  "type": "function"
302
154
  },
303
- {
304
- "inputs": [
305
- { "internalType": "bytes32", "name": "what", "type": "bytes32" },
306
- { "internalType": "address", "name": "data", "type": "address" }
307
- ],
308
- "name": "file",
309
- "outputs": [],
310
- "stateMutability": "nonpayable",
311
- "type": "function"
312
- },
313
- {
314
- "inputs": [],
315
- "name": "fill",
316
- "outputs": [
317
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
318
- ],
319
- "stateMutability": "nonpayable",
320
- "type": "function"
321
- },
322
155
  {
323
156
  "inputs": [],
324
- "name": "gem",
157
+ "name": "gemJoin",
325
158
  "outputs": [
326
- { "internalType": "contract GemLike", "name": "", "type": "address" }
159
+ {
160
+ "internalType": "contract AuthGemJoinAbstract",
161
+ "name": "",
162
+ "type": "address"
163
+ }
327
164
  ],
328
165
  "stateMutability": "view",
329
166
  "type": "function"
330
167
  },
331
168
  {
332
- "inputs": [],
333
- "name": "gemJoin",
334
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [],
340
- "name": "gush",
341
- "outputs": [
342
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
343
- ],
344
- "stateMutability": "view",
169
+ "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
170
+ "name": "hope",
171
+ "outputs": [],
172
+ "stateMutability": "nonpayable",
345
173
  "type": "function"
346
174
  },
347
175
  {
@@ -353,25 +181,11 @@
353
181
  },
354
182
  {
355
183
  "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
356
- "name": "kiss",
184
+ "name": "nope",
357
185
  "outputs": [],
358
186
  "stateMutability": "nonpayable",
359
187
  "type": "function"
360
188
  },
361
- {
362
- "inputs": [],
363
- "name": "live",
364
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
365
- "stateMutability": "view",
366
- "type": "function"
367
- },
368
- {
369
- "inputs": [],
370
- "name": "pocket",
371
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
372
- "stateMutability": "view",
373
- "type": "function"
374
- },
375
189
  {
376
190
  "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
377
191
  "name": "rely",
@@ -379,36 +193,13 @@
379
193
  "stateMutability": "nonpayable",
380
194
  "type": "function"
381
195
  },
382
- {
383
- "inputs": [],
384
- "name": "rush",
385
- "outputs": [
386
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
387
- ],
388
- "stateMutability": "view",
389
- "type": "function"
390
- },
391
196
  {
392
197
  "inputs": [
393
198
  { "internalType": "address", "name": "usr", "type": "address" },
394
199
  { "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
395
200
  ],
396
201
  "name": "sellGem",
397
- "outputs": [
398
- { "internalType": "uint256", "name": "daiOutWad", "type": "uint256" }
399
- ],
400
- "stateMutability": "nonpayable",
401
- "type": "function"
402
- },
403
- {
404
- "inputs": [
405
- { "internalType": "address", "name": "usr", "type": "address" },
406
- { "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
407
- ],
408
- "name": "sellGemNoFee",
409
- "outputs": [
410
- { "internalType": "uint256", "name": "daiOutWad", "type": "uint256" }
411
- ],
202
+ "outputs": [],
412
203
  "stateMutability": "nonpayable",
413
204
  "type": "function"
414
205
  },
@@ -419,13 +210,6 @@
419
210
  "stateMutability": "view",
420
211
  "type": "function"
421
212
  },
422
- {
423
- "inputs": [],
424
- "name": "to18ConversionFactor",
425
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
426
- "stateMutability": "view",
427
- "type": "function"
428
- },
429
213
  {
430
214
  "inputs": [],
431
215
  "name": "tout",
@@ -433,20 +217,11 @@
433
217
  "stateMutability": "view",
434
218
  "type": "function"
435
219
  },
436
- {
437
- "inputs": [],
438
- "name": "trim",
439
- "outputs": [
440
- { "internalType": "uint256", "name": "wad", "type": "uint256" }
441
- ],
442
- "stateMutability": "nonpayable",
443
- "type": "function"
444
- },
445
220
  {
446
221
  "inputs": [],
447
222
  "name": "vat",
448
223
  "outputs": [
449
- { "internalType": "contract VatLike", "name": "", "type": "address" }
224
+ { "internalType": "contract VatAbstract", "name": "", "type": "address" }
450
225
  ],
451
226
  "stateMutability": "view",
452
227
  "type": "function"