@paraswap/dex-lib 4.2.30 → 4.2.32

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 (55) hide show
  1. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +1 -1
  2. package/build/dex/balancer-v3/balancer-v3-pool.js +5 -22
  3. package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -1
  4. package/build/dex/balancer-v3/config.js +14 -0
  5. package/build/dex/balancer-v3/config.js.map +1 -1
  6. package/build/dex/bebop/bebop.js +15 -2
  7. package/build/dex/bebop/bebop.js.map +1 -1
  8. package/build/dex/cables/cables.js +15 -2
  9. package/build/dex/cables/cables.js.map +1 -1
  10. package/build/dex/dexalot/dexalot.js +41 -30
  11. package/build/dex/dexalot/dexalot.js.map +1 -1
  12. package/build/dex/generic-rfq/generic-rfq.js +28 -14
  13. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  14. package/build/dex/hashflow/hashflow.js +53 -65
  15. package/build/dex/hashflow/hashflow.js.map +1 -1
  16. package/build/dex/miro-migrator/constants.d.ts +1 -1
  17. package/build/dex/miro-migrator/constants.js +1 -1
  18. package/build/dex/miro-migrator/miro-migrator-pool.d.ts +5 -5
  19. package/build/dex/miro-migrator/miro-migrator-pool.js +22 -13
  20. package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
  21. package/build/dex/miro-migrator/miro-migrator.js +2 -4
  22. package/build/dex/miro-migrator/miro-migrator.js.map +1 -1
  23. package/build/dex/swaap-v2/swaap-v2.js +59 -67
  24. package/build/dex/swaap-v2/swaap-v2.js.map +1 -1
  25. package/build/dex/uniswap-v2/rpc-pool-tracker.d.ts +14 -9
  26. package/build/dex/uniswap-v2/rpc-pool-tracker.js +163 -51
  27. package/build/dex/uniswap-v2/rpc-pool-tracker.js.map +1 -1
  28. package/build/dex/uniswap-v4/encoder.d.ts +6 -5
  29. package/build/dex/uniswap-v4/encoder.js +121 -30
  30. package/build/dex/uniswap-v4/encoder.js.map +1 -1
  31. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +31 -2
  32. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +1 -1
  33. package/build/dex/uniswap-v4/uniswap-v4.js +25 -22
  34. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
  35. package/build/executor/Executor02BytecodeBuilder.d.ts +6 -0
  36. package/build/executor/Executor02BytecodeBuilder.js +104 -15
  37. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  38. package/build/generic-swap-transaction-builder.d.ts +3 -2
  39. package/build/generic-swap-transaction-builder.js +27 -2
  40. package/build/generic-swap-transaction-builder.js.map +1 -1
  41. package/package.json +1 -1
  42. package/build/abi/algebra-integral/Quoter.abi.json +0 -231
  43. package/build/abi/algebra-integral/SwapRouter.abi.json +0 -810
  44. package/build/dex/algebra-integral/algebra-integral.d.ts +0 -43
  45. package/build/dex/algebra-integral/algebra-integral.js +0 -446
  46. package/build/dex/algebra-integral/algebra-integral.js.map +0 -1
  47. package/build/dex/algebra-integral/config.d.ts +0 -3
  48. package/build/dex/algebra-integral/config.js +0 -17
  49. package/build/dex/algebra-integral/config.js.map +0 -1
  50. package/build/dex/algebra-integral/types.d.ts +0 -33
  51. package/build/dex/algebra-integral/types.js +0 -10
  52. package/build/dex/algebra-integral/types.js.map +0 -1
  53. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  54. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  55. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
@@ -1,231 +0,0 @@
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": "amountIn",
95
- "type": "uint256"
96
- }
97
- ],
98
- "name": "quoteExactInput",
99
- "outputs": [
100
- {
101
- "internalType": "uint256",
102
- "name": "amountOut",
103
- "type": "uint256"
104
- },
105
- {
106
- "internalType": "uint16[]",
107
- "name": "fees",
108
- "type": "uint16[]"
109
- }
110
- ],
111
- "stateMutability": "nonpayable",
112
- "type": "function"
113
- },
114
- {
115
- "inputs": [
116
- {
117
- "internalType": "address",
118
- "name": "tokenIn",
119
- "type": "address"
120
- },
121
- {
122
- "internalType": "address",
123
- "name": "tokenOut",
124
- "type": "address"
125
- },
126
- {
127
- "internalType": "address",
128
- "name": "deployer",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "uint256",
133
- "name": "amountIn",
134
- "type": "uint256"
135
- },
136
- {
137
- "internalType": "uint160",
138
- "name": "limitSqrtPrice",
139
- "type": "uint160"
140
- }
141
- ],
142
- "name": "quoteExactInputSingle",
143
- "outputs": [
144
- {
145
- "internalType": "uint256",
146
- "name": "amountOut",
147
- "type": "uint256"
148
- },
149
- {
150
- "internalType": "uint16",
151
- "name": "fee",
152
- "type": "uint16"
153
- }
154
- ],
155
- "stateMutability": "nonpayable",
156
- "type": "function"
157
- },
158
- {
159
- "inputs": [
160
- {
161
- "internalType": "bytes",
162
- "name": "path",
163
- "type": "bytes"
164
- },
165
- {
166
- "internalType": "uint256",
167
- "name": "amountOut",
168
- "type": "uint256"
169
- }
170
- ],
171
- "name": "quoteExactOutput",
172
- "outputs": [
173
- {
174
- "internalType": "uint256",
175
- "name": "amountIn",
176
- "type": "uint256"
177
- },
178
- {
179
- "internalType": "uint16[]",
180
- "name": "fees",
181
- "type": "uint16[]"
182
- }
183
- ],
184
- "stateMutability": "nonpayable",
185
- "type": "function"
186
- },
187
- {
188
- "inputs": [
189
- {
190
- "internalType": "address",
191
- "name": "tokenIn",
192
- "type": "address"
193
- },
194
- {
195
- "internalType": "address",
196
- "name": "tokenOut",
197
- "type": "address"
198
- },
199
- {
200
- "internalType": "address",
201
- "name": "deployer",
202
- "type": "address"
203
- },
204
- {
205
- "internalType": "uint256",
206
- "name": "amountOut",
207
- "type": "uint256"
208
- },
209
- {
210
- "internalType": "uint160",
211
- "name": "limitSqrtPrice",
212
- "type": "uint160"
213
- }
214
- ],
215
- "name": "quoteExactOutputSingle",
216
- "outputs": [
217
- {
218
- "internalType": "uint256",
219
- "name": "amountIn",
220
- "type": "uint256"
221
- },
222
- {
223
- "internalType": "uint16",
224
- "name": "fee",
225
- "type": "uint16"
226
- }
227
- ],
228
- "stateMutability": "nonpayable",
229
- "type": "function"
230
- }
231
- ]