@paraswap/dex-lib 2.28.12-ramses.3 → 2.29.1-ramses

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.
@@ -0,0 +1,274 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "WETH9",
10
+ "outputs": [
11
+ {
12
+ "internalType": "address",
13
+ "name": "",
14
+ "type": "address"
15
+ }
16
+ ],
17
+ "stateMutability": "view",
18
+ "type": "function"
19
+ },
20
+ {
21
+ "inputs": [],
22
+ "name": "factory",
23
+ "outputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "stateMutability": "view",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "_factory",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "address",
42
+ "name": "_WETH9",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "initialize",
47
+ "outputs": [],
48
+ "stateMutability": "nonpayable",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "inputs": [
53
+ {
54
+ "internalType": "bytes",
55
+ "name": "path",
56
+ "type": "bytes"
57
+ },
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "amountIn",
61
+ "type": "uint256"
62
+ }
63
+ ],
64
+ "name": "quoteExactInput",
65
+ "outputs": [
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "amountOut",
69
+ "type": "uint256"
70
+ },
71
+ {
72
+ "internalType": "uint160[]",
73
+ "name": "sqrtPriceX96AfterList",
74
+ "type": "uint160[]"
75
+ },
76
+ {
77
+ "internalType": "uint32[]",
78
+ "name": "initializedTicksCrossedList",
79
+ "type": "uint32[]"
80
+ },
81
+ {
82
+ "internalType": "uint256",
83
+ "name": "gasEstimate",
84
+ "type": "uint256"
85
+ }
86
+ ],
87
+ "stateMutability": "nonpayable",
88
+ "type": "function"
89
+ },
90
+ {
91
+ "inputs": [
92
+ {
93
+ "components": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "tokenIn",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "address",
101
+ "name": "tokenOut",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "amountIn",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "internalType": "uint24",
111
+ "name": "fee",
112
+ "type": "uint24"
113
+ },
114
+ {
115
+ "internalType": "uint160",
116
+ "name": "sqrtPriceLimitX96",
117
+ "type": "uint160"
118
+ }
119
+ ],
120
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
121
+ "name": "params",
122
+ "type": "tuple"
123
+ }
124
+ ],
125
+ "name": "quoteExactInputSingle",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "amountOut",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "internalType": "uint160",
134
+ "name": "sqrtPriceX96After",
135
+ "type": "uint160"
136
+ },
137
+ {
138
+ "internalType": "uint32",
139
+ "name": "initializedTicksCrossed",
140
+ "type": "uint32"
141
+ },
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "gasEstimate",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "stateMutability": "nonpayable",
149
+ "type": "function"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "bytes",
155
+ "name": "path",
156
+ "type": "bytes"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "amountOut",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "quoteExactOutput",
165
+ "outputs": [
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "amountIn",
169
+ "type": "uint256"
170
+ },
171
+ {
172
+ "internalType": "uint160[]",
173
+ "name": "sqrtPriceX96AfterList",
174
+ "type": "uint160[]"
175
+ },
176
+ {
177
+ "internalType": "uint32[]",
178
+ "name": "initializedTicksCrossedList",
179
+ "type": "uint32[]"
180
+ },
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "gasEstimate",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "stateMutability": "nonpayable",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "components": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "tokenIn",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "internalType": "address",
201
+ "name": "tokenOut",
202
+ "type": "address"
203
+ },
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "amount",
207
+ "type": "uint256"
208
+ },
209
+ {
210
+ "internalType": "uint24",
211
+ "name": "fee",
212
+ "type": "uint24"
213
+ },
214
+ {
215
+ "internalType": "uint160",
216
+ "name": "sqrtPriceLimitX96",
217
+ "type": "uint160"
218
+ }
219
+ ],
220
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
221
+ "name": "params",
222
+ "type": "tuple"
223
+ }
224
+ ],
225
+ "name": "quoteExactOutputSingle",
226
+ "outputs": [
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "amountIn",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "internalType": "uint160",
234
+ "name": "sqrtPriceX96After",
235
+ "type": "uint160"
236
+ },
237
+ {
238
+ "internalType": "uint32",
239
+ "name": "initializedTicksCrossed",
240
+ "type": "uint32"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "gasEstimate",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "stateMutability": "nonpayable",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "int256",
255
+ "name": "amount0Delta",
256
+ "type": "int256"
257
+ },
258
+ {
259
+ "internalType": "int256",
260
+ "name": "amount1Delta",
261
+ "type": "int256"
262
+ },
263
+ {
264
+ "internalType": "bytes",
265
+ "name": "path",
266
+ "type": "bytes"
267
+ }
268
+ ],
269
+ "name": "ramsesV2SwapCallback",
270
+ "outputs": [],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ }
274
+ ]