@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
@@ -0,0 +1,325 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_factory",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_WNativeToken",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_poolDeployer",
17
+ "type": "address"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [],
25
+ "name": "WNativeToken",
26
+ "outputs": [
27
+ {
28
+ "internalType": "address",
29
+ "name": "",
30
+ "type": "address"
31
+ }
32
+ ],
33
+ "stateMutability": "view",
34
+ "type": "function"
35
+ },
36
+ {
37
+ "inputs": [
38
+ {
39
+ "internalType": "int256",
40
+ "name": "amount0Delta",
41
+ "type": "int256"
42
+ },
43
+ {
44
+ "internalType": "int256",
45
+ "name": "amount1Delta",
46
+ "type": "int256"
47
+ },
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "path",
51
+ "type": "bytes"
52
+ }
53
+ ],
54
+ "name": "algebraSwapCallback",
55
+ "outputs": [],
56
+ "stateMutability": "view",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "factory",
62
+ "outputs": [
63
+ {
64
+ "internalType": "address",
65
+ "name": "",
66
+ "type": "address"
67
+ }
68
+ ],
69
+ "stateMutability": "view",
70
+ "type": "function"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "poolDeployer",
75
+ "outputs": [
76
+ {
77
+ "internalType": "address",
78
+ "name": "",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "bytes",
89
+ "name": "path",
90
+ "type": "bytes"
91
+ },
92
+ {
93
+ "internalType": "uint256",
94
+ "name": "amountInRequired",
95
+ "type": "uint256"
96
+ }
97
+ ],
98
+ "name": "quoteExactInput",
99
+ "outputs": [
100
+ {
101
+ "internalType": "uint256[]",
102
+ "name": "amountOutList",
103
+ "type": "uint256[]"
104
+ },
105
+ {
106
+ "internalType": "uint256[]",
107
+ "name": "amountInList",
108
+ "type": "uint256[]"
109
+ },
110
+ {
111
+ "internalType": "uint160[]",
112
+ "name": "sqrtPriceX96AfterList",
113
+ "type": "uint160[]"
114
+ },
115
+ {
116
+ "internalType": "uint32[]",
117
+ "name": "initializedTicksCrossedList",
118
+ "type": "uint32[]"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "gasEstimate",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "internalType": "uint16[]",
127
+ "name": "feeList",
128
+ "type": "uint16[]"
129
+ }
130
+ ],
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "components": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "tokenIn",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "internalType": "address",
145
+ "name": "tokenOut",
146
+ "type": "address"
147
+ },
148
+ {
149
+ "internalType": "address",
150
+ "name": "deployer",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "amountIn",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint160",
160
+ "name": "limitSqrtPrice",
161
+ "type": "uint160"
162
+ }
163
+ ],
164
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
165
+ "name": "params",
166
+ "type": "tuple"
167
+ }
168
+ ],
169
+ "name": "quoteExactInputSingle",
170
+ "outputs": [
171
+ {
172
+ "internalType": "uint256",
173
+ "name": "amountOut",
174
+ "type": "uint256"
175
+ },
176
+ {
177
+ "internalType": "uint256",
178
+ "name": "amountIn",
179
+ "type": "uint256"
180
+ },
181
+ {
182
+ "internalType": "uint160",
183
+ "name": "sqrtPriceX96After",
184
+ "type": "uint160"
185
+ },
186
+ {
187
+ "internalType": "uint32",
188
+ "name": "initializedTicksCrossed",
189
+ "type": "uint32"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "gasEstimate",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "uint16",
198
+ "name": "fee",
199
+ "type": "uint16"
200
+ }
201
+ ],
202
+ "stateMutability": "nonpayable",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "path",
210
+ "type": "bytes"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "amountOutRequired",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "name": "quoteExactOutput",
219
+ "outputs": [
220
+ {
221
+ "internalType": "uint256[]",
222
+ "name": "amountOutList",
223
+ "type": "uint256[]"
224
+ },
225
+ {
226
+ "internalType": "uint256[]",
227
+ "name": "amountInList",
228
+ "type": "uint256[]"
229
+ },
230
+ {
231
+ "internalType": "uint160[]",
232
+ "name": "sqrtPriceX96AfterList",
233
+ "type": "uint160[]"
234
+ },
235
+ {
236
+ "internalType": "uint32[]",
237
+ "name": "initializedTicksCrossedList",
238
+ "type": "uint32[]"
239
+ },
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "gasEstimate",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "uint16[]",
247
+ "name": "feeList",
248
+ "type": "uint16[]"
249
+ }
250
+ ],
251
+ "stateMutability": "nonpayable",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "components": [
258
+ {
259
+ "internalType": "address",
260
+ "name": "tokenIn",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "internalType": "address",
265
+ "name": "tokenOut",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "internalType": "address",
270
+ "name": "deployer",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "internalType": "uint256",
275
+ "name": "amount",
276
+ "type": "uint256"
277
+ },
278
+ {
279
+ "internalType": "uint160",
280
+ "name": "limitSqrtPrice",
281
+ "type": "uint160"
282
+ }
283
+ ],
284
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
285
+ "name": "params",
286
+ "type": "tuple"
287
+ }
288
+ ],
289
+ "name": "quoteExactOutputSingle",
290
+ "outputs": [
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "amountOut",
294
+ "type": "uint256"
295
+ },
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "amountIn",
299
+ "type": "uint256"
300
+ },
301
+ {
302
+ "internalType": "uint160",
303
+ "name": "sqrtPriceX96After",
304
+ "type": "uint160"
305
+ },
306
+ {
307
+ "internalType": "uint32",
308
+ "name": "initializedTicksCrossed",
309
+ "type": "uint32"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "gasEstimate",
314
+ "type": "uint256"
315
+ },
316
+ {
317
+ "internalType": "uint16",
318
+ "name": "fee",
319
+ "type": "uint16"
320
+ }
321
+ ],
322
+ "stateMutability": "nonpayable",
323
+ "type": "function"
324
+ }
325
+ ]
@@ -0,0 +1,322 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "vat_",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "payable": false,
11
+ "stateMutability": "nonpayable",
12
+ "type": "constructor"
13
+ },
14
+ {
15
+ "anonymous": true,
16
+ "inputs": [
17
+ {
18
+ "indexed": true,
19
+ "internalType": "bytes4",
20
+ "name": "sig",
21
+ "type": "bytes4"
22
+ },
23
+ {
24
+ "indexed": true,
25
+ "internalType": "address",
26
+ "name": "usr",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "indexed": true,
31
+ "internalType": "bytes32",
32
+ "name": "arg1",
33
+ "type": "bytes32"
34
+ },
35
+ {
36
+ "indexed": true,
37
+ "internalType": "bytes32",
38
+ "name": "arg2",
39
+ "type": "bytes32"
40
+ },
41
+ {
42
+ "indexed": false,
43
+ "internalType": "bytes",
44
+ "name": "data",
45
+ "type": "bytes"
46
+ }
47
+ ],
48
+ "name": "LogNote",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "constant": true,
53
+ "inputs": [],
54
+ "name": "Pie",
55
+ "outputs": [
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "",
59
+ "type": "uint256"
60
+ }
61
+ ],
62
+ "payable": false,
63
+ "stateMutability": "view",
64
+ "type": "function"
65
+ },
66
+ {
67
+ "constant": false,
68
+ "inputs": [],
69
+ "name": "cage",
70
+ "outputs": [],
71
+ "payable": false,
72
+ "stateMutability": "nonpayable",
73
+ "type": "function"
74
+ },
75
+ {
76
+ "constant": true,
77
+ "inputs": [],
78
+ "name": "chi",
79
+ "outputs": [
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "payable": false,
87
+ "stateMutability": "view",
88
+ "type": "function"
89
+ },
90
+ {
91
+ "constant": false,
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "guy",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "deny",
100
+ "outputs": [],
101
+ "payable": false,
102
+ "stateMutability": "nonpayable",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "constant": false,
107
+ "inputs": [],
108
+ "name": "drip",
109
+ "outputs": [
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "tmp",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "payable": false,
117
+ "stateMutability": "nonpayable",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "constant": true,
122
+ "inputs": [],
123
+ "name": "dsr",
124
+ "outputs": [
125
+ {
126
+ "internalType": "uint256",
127
+ "name": "",
128
+ "type": "uint256"
129
+ }
130
+ ],
131
+ "payable": false,
132
+ "stateMutability": "view",
133
+ "type": "function"
134
+ },
135
+ {
136
+ "constant": false,
137
+ "inputs": [
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "wad",
141
+ "type": "uint256"
142
+ }
143
+ ],
144
+ "name": "exit",
145
+ "outputs": [],
146
+ "payable": false,
147
+ "stateMutability": "nonpayable",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "constant": false,
152
+ "inputs": [
153
+ {
154
+ "internalType": "bytes32",
155
+ "name": "what",
156
+ "type": "bytes32"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "data",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "file",
165
+ "outputs": [],
166
+ "payable": false,
167
+ "stateMutability": "nonpayable",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "constant": false,
172
+ "inputs": [
173
+ {
174
+ "internalType": "bytes32",
175
+ "name": "what",
176
+ "type": "bytes32"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "addr",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "file",
185
+ "outputs": [],
186
+ "payable": false,
187
+ "stateMutability": "nonpayable",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "constant": false,
192
+ "inputs": [
193
+ {
194
+ "internalType": "uint256",
195
+ "name": "wad",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "join",
200
+ "outputs": [],
201
+ "payable": false,
202
+ "stateMutability": "nonpayable",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "constant": true,
207
+ "inputs": [],
208
+ "name": "live",
209
+ "outputs": [
210
+ {
211
+ "internalType": "uint256",
212
+ "name": "",
213
+ "type": "uint256"
214
+ }
215
+ ],
216
+ "payable": false,
217
+ "stateMutability": "view",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "constant": true,
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "pie",
230
+ "outputs": [
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "",
234
+ "type": "uint256"
235
+ }
236
+ ],
237
+ "payable": false,
238
+ "stateMutability": "view",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "constant": false,
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "guy",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "rely",
251
+ "outputs": [],
252
+ "payable": false,
253
+ "stateMutability": "nonpayable",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "constant": true,
258
+ "inputs": [],
259
+ "name": "rho",
260
+ "outputs": [
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "payable": false,
268
+ "stateMutability": "view",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "constant": true,
273
+ "inputs": [],
274
+ "name": "vat",
275
+ "outputs": [
276
+ {
277
+ "internalType": "contract VatLike",
278
+ "name": "",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "payable": false,
283
+ "stateMutability": "view",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "constant": true,
288
+ "inputs": [],
289
+ "name": "vow",
290
+ "outputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "payable": false,
298
+ "stateMutability": "view",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "constant": true,
303
+ "inputs": [
304
+ {
305
+ "internalType": "address",
306
+ "name": "",
307
+ "type": "address"
308
+ }
309
+ ],
310
+ "name": "wards",
311
+ "outputs": [
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "payable": false,
319
+ "stateMutability": "view",
320
+ "type": "function"
321
+ }
322
+ ]