@paraswap/dex-lib 4.3.9 → 4.3.10

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 (111) hide show
  1. package/build/dex/miro-migrator/constants.d.ts +1 -1
  2. package/build/dex/miro-migrator/constants.js +1 -1
  3. package/build/dex/miro-migrator/miro-migrator-pool.d.ts +1 -0
  4. package/build/dex/miro-migrator/miro-migrator-pool.js +1 -0
  5. package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
  6. package/build/dex/miro-migrator/miro-migrator.js +1 -0
  7. package/build/dex/miro-migrator/miro-migrator.js.map +1 -1
  8. package/build/dex/uniswap-v4/encoder.d.ts +5 -5
  9. package/build/dex/uniswap-v4/encoder.js +142 -31
  10. package/build/dex/uniswap-v4/encoder.js.map +1 -1
  11. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.d.ts +1 -0
  12. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +33 -9
  13. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +1 -1
  14. package/build/dex/uniswap-v4/uniswap-v4.d.ts +1 -0
  15. package/build/dex/uniswap-v4/uniswap-v4.js +37 -23
  16. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
  17. package/build/executor/Executor01BytecodeBuilder.js +7 -3
  18. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  19. package/build/executor/Executor02BytecodeBuilder.js +7 -3
  20. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  21. package/build/executor/Executor03BytecodeBuilder.js +14 -3
  22. package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
  23. package/package.json +1 -1
  24. package/build/abi/BProtocol.json +0 -1155
  25. package/build/abi/Jarvis.json +0 -1172
  26. package/build/abi/MStableAsset.json +0 -1545
  27. package/build/abi/OneInchLp.json +0 -1304
  28. package/build/abi/Onebit.json +0 -736
  29. package/build/abi/Shell.json +0 -1294
  30. package/build/abi/TraderJoeV2Router.json +0 -50
  31. package/build/abi/algebra-integral/Quoter.abi.json +0 -231
  32. package/build/abi/algebra-integral/SwapRouter.abi.json +0 -810
  33. package/build/abi/wUSDM.json +0 -757
  34. package/build/abi/zrx.v2.json +0 -1967
  35. package/build/abi/zrx.v3.json +0 -3454
  36. package/build/abi/zrx.v4.json +0 -2193
  37. package/build/dex/OneInchLp.d.ts +0 -24
  38. package/build/dex/OneInchLp.js +0 -43
  39. package/build/dex/OneInchLp.js.map +0 -1
  40. package/build/dex/algebra-integral/algebra-integral.d.ts +0 -43
  41. package/build/dex/algebra-integral/algebra-integral.js +0 -446
  42. package/build/dex/algebra-integral/algebra-integral.js.map +0 -1
  43. package/build/dex/algebra-integral/config.d.ts +0 -3
  44. package/build/dex/algebra-integral/config.js +0 -17
  45. package/build/dex/algebra-integral/config.js.map +0 -1
  46. package/build/dex/algebra-integral/types.d.ts +0 -33
  47. package/build/dex/algebra-integral/types.js +0 -10
  48. package/build/dex/algebra-integral/types.js.map +0 -1
  49. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  50. package/build/dex/bProtocol/bProtocol.js +0 -56
  51. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  52. package/build/dex/bProtocol/types.d.ts +0 -11
  53. package/build/dex/bProtocol/types.js +0 -8
  54. package/build/dex/bProtocol/types.js.map +0 -1
  55. package/build/dex/jarvis.d.ts +0 -56
  56. package/build/dex/jarvis.js +0 -163
  57. package/build/dex/jarvis.js.map +0 -1
  58. package/build/dex/mStable.d.ts +0 -44
  59. package/build/dex/mStable.js +0 -75
  60. package/build/dex/mStable.js.map +0 -1
  61. package/build/dex/onebit/onebit.d.ts +0 -16
  62. package/build/dex/onebit/onebit.js +0 -61
  63. package/build/dex/onebit/onebit.js.map +0 -1
  64. package/build/dex/onebit/types.d.ts +0 -14
  65. package/build/dex/onebit/types.js +0 -8
  66. package/build/dex/onebit/types.js.map +0 -1
  67. package/build/dex/shell.d.ts +0 -25
  68. package/build/dex/shell.js +0 -41
  69. package/build/dex/shell.js.map +0 -1
  70. package/build/dex/trader-joe-v2.d.ts +0 -40
  71. package/build/dex/trader-joe-v2.js +0 -74
  72. package/build/dex/trader-joe-v2.js.map +0 -1
  73. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  74. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  75. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  76. package/build/dex/usual-bond/config.d.ts +0 -3
  77. package/build/dex/usual-bond/config.js +0 -13
  78. package/build/dex/usual-bond/config.js.map +0 -1
  79. package/build/dex/usual-bond/types.d.ts +0 -7
  80. package/build/dex/usual-bond/types.js +0 -3
  81. package/build/dex/usual-bond/types.js.map +0 -1
  82. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  83. package/build/dex/usual-bond/usual-bond.js +0 -176
  84. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  85. package/build/dex/wusdm/config.d.ts +0 -3
  86. package/build/dex/wusdm/config.js +0 -43
  87. package/build/dex/wusdm/config.js.map +0 -1
  88. package/build/dex/wusdm/constants.d.ts +0 -2
  89. package/build/dex/wusdm/constants.js +0 -6
  90. package/build/dex/wusdm/constants.js.map +0 -1
  91. package/build/dex/wusdm/types.d.ts +0 -18
  92. package/build/dex/wusdm/types.js +0 -11
  93. package/build/dex/wusdm/types.js.map +0 -1
  94. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  95. package/build/dex/wusdm/wusdm-pool.js +0 -74
  96. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  97. package/build/dex/wusdm/wusdm.d.ts +0 -46
  98. package/build/dex/wusdm/wusdm.js +0 -243
  99. package/build/dex/wusdm/wusdm.js.map +0 -1
  100. package/build/dex/zerox/config.d.ts +0 -2
  101. package/build/dex/zerox/config.js +0 -33
  102. package/build/dex/zerox/config.js.map +0 -1
  103. package/build/dex/zerox/index.d.ts +0 -22
  104. package/build/dex/zerox/index.js +0 -225
  105. package/build/dex/zerox/index.js.map +0 -1
  106. package/build/dex/zerox/order.d.ts +0 -88
  107. package/build/dex/zerox/order.js +0 -53
  108. package/build/dex/zerox/order.js.map +0 -1
  109. package/build/dex/zerox/types.d.ts +0 -73
  110. package/build/dex/zerox/types.js +0 -21
  111. package/build/dex/zerox/types.js.map +0 -1
@@ -1,50 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
5
- { "internalType": "uint256", "name": "_amountOutMin", "type": "uint256" },
6
- {
7
- "internalType": "uint256[]",
8
- "name": "_pairBinSteps",
9
- "type": "uint256[]"
10
- },
11
- {
12
- "internalType": "contract IERC20[]",
13
- "name": "_tokenPath",
14
- "type": "address[]"
15
- },
16
- { "internalType": "address", "name": "_to", "type": "address" },
17
- { "internalType": "uint256", "name": "_deadline", "type": "uint256" }
18
- ],
19
- "name": "swapExactTokensForTokens",
20
- "outputs": [
21
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" }
22
- ],
23
- "stateMutability": "nonpayable",
24
- "type": "function"
25
- },
26
- {
27
- "inputs": [
28
- { "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
29
- { "internalType": "uint256", "name": "_amountInMax", "type": "uint256" },
30
- {
31
- "internalType": "uint256[]",
32
- "name": "_pairBinSteps",
33
- "type": "uint256[]"
34
- },
35
- {
36
- "internalType": "contract IERC20[]",
37
- "name": "_tokenPath",
38
- "type": "address[]"
39
- },
40
- { "internalType": "address", "name": "_to", "type": "address" },
41
- { "internalType": "uint256", "name": "_deadline", "type": "uint256" }
42
- ],
43
- "name": "swapTokensForExactTokens",
44
- "outputs": [
45
- { "internalType": "uint256[]", "name": "amountsIn", "type": "uint256[]" }
46
- ],
47
- "stateMutability": "nonpayable",
48
- "type": "function"
49
- }
50
- ]
@@ -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
- ]