@paraswap/dex-lib 4.2.29 → 4.2.30

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,231 @@
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
+ ]