|
1 | 1 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | | -// WithdrawalCompressorV310 |
| 2 | +// IWithdrawalCompressorV310 |
3 | 3 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
4 | 4 |
|
5 | 5 | export const iWithdrawalCompressorV310Abi = [ |
6 | | - { |
7 | | - type: "constructor", |
8 | | - inputs: [ |
9 | | - { name: "_owner", internalType: "address", type: "address" }, |
10 | | - { name: "addressProvider_", internalType: "address", type: "address" }, |
11 | | - ], |
12 | | - stateMutability: "nonpayable", |
13 | | - }, |
14 | | - { |
15 | | - type: "function", |
16 | | - inputs: [], |
17 | | - name: "addressProvider", |
18 | | - outputs: [{ name: "", internalType: "address", type: "address" }], |
19 | | - stateMutability: "view", |
20 | | - }, |
21 | | - { |
22 | | - type: "function", |
23 | | - inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], |
24 | | - name: "compressorTypeToCompressor", |
25 | | - outputs: [{ name: "", internalType: "address", type: "address" }], |
26 | | - stateMutability: "view", |
27 | | - }, |
28 | 6 | { |
29 | 7 | type: "function", |
30 | 8 | inputs: [], |
@@ -142,7 +120,7 @@ export const iWithdrawalCompressorV310Abi = [ |
142 | 120 | name: "getWithdrawalRequestResult", |
143 | 121 | outputs: [ |
144 | 122 | { |
145 | | - name: "withdrawal", |
| 123 | + name: "", |
146 | 124 | internalType: "struct RequestableWithdrawal", |
147 | 125 | type: "tuple", |
148 | 126 | components: [ |
@@ -173,120 +151,11 @@ export const iWithdrawalCompressorV310Abi = [ |
173 | 151 | ], |
174 | 152 | stateMutability: "view", |
175 | 153 | }, |
176 | | - // TODO: REMOVE COMMENTS AFTER MIGRATION TO MULTIPLE |
177 | | - // { |
178 | | - // type: "function", |
179 | | - // inputs: [ |
180 | | - // { name: "creditAccount", internalType: "address", type: "address" }, |
181 | | - // { name: "token", internalType: "address", type: "address" }, |
182 | | - // { name: "withdrawalToken", internalType: "address", type: "address" }, |
183 | | - // { name: "amount", internalType: "uint256", type: "uint256" }, |
184 | | - // ], |
185 | | - // name: "getWithdrawalRequestResult", |
186 | | - // outputs: [ |
187 | | - // { |
188 | | - // name: "withdrawal", |
189 | | - // internalType: "struct RequestableWithdrawal", |
190 | | - // type: "tuple", |
191 | | - // components: [ |
192 | | - // { name: "token", internalType: "address", type: "address" }, |
193 | | - // { name: "amountIn", internalType: "uint256", type: "uint256" }, |
194 | | - // { |
195 | | - // name: "outputs", |
196 | | - // internalType: "struct WithdrawalOutput[]", |
197 | | - // type: "tuple[]", |
198 | | - // components: [ |
199 | | - // { name: "token", internalType: "address", type: "address" }, |
200 | | - // { name: "isDelayed", internalType: "bool", type: "bool" }, |
201 | | - // { name: "amount", internalType: "uint256", type: "uint256" }, |
202 | | - // ], |
203 | | - // }, |
204 | | - // { |
205 | | - // name: "requestCalls", |
206 | | - // internalType: "struct MultiCall[]", |
207 | | - // type: "tuple[]", |
208 | | - // components: [ |
209 | | - // { name: "target", internalType: "address", type: "address" }, |
210 | | - // { name: "callData", internalType: "bytes", type: "bytes" }, |
211 | | - // ], |
212 | | - // }, |
213 | | - // { name: "claimableAt", internalType: "uint256", type: "uint256" }, |
214 | | - // ], |
215 | | - // }, |
216 | | - // ], |
217 | | - // stateMutability: "view", |
218 | | - // }, |
219 | | - { |
220 | | - type: "function", |
221 | | - inputs: [], |
222 | | - name: "owner", |
223 | | - outputs: [{ name: "", internalType: "address", type: "address" }], |
224 | | - stateMutability: "view", |
225 | | - }, |
226 | | - { |
227 | | - type: "function", |
228 | | - inputs: [], |
229 | | - name: "renounceOwnership", |
230 | | - outputs: [], |
231 | | - stateMutability: "nonpayable", |
232 | | - }, |
233 | | - { |
234 | | - type: "function", |
235 | | - inputs: [ |
236 | | - { name: "subcompressor", internalType: "address", type: "address" }, |
237 | | - ], |
238 | | - name: "setSubcompressor", |
239 | | - outputs: [], |
240 | | - stateMutability: "nonpayable", |
241 | | - }, |
242 | | - { |
243 | | - type: "function", |
244 | | - inputs: [ |
245 | | - { name: "withdrawableType", internalType: "bytes32", type: "bytes32" }, |
246 | | - { name: "compressorType", internalType: "bytes32", type: "bytes32" }, |
247 | | - ], |
248 | | - name: "setWithdrawableTypeToCompressorType", |
249 | | - outputs: [], |
250 | | - stateMutability: "nonpayable", |
251 | | - }, |
252 | | - { |
253 | | - type: "function", |
254 | | - inputs: [{ name: "newOwner", internalType: "address", type: "address" }], |
255 | | - name: "transferOwnership", |
256 | | - outputs: [], |
257 | | - stateMutability: "nonpayable", |
258 | | - }, |
259 | 154 | { |
260 | 155 | type: "function", |
261 | 156 | inputs: [], |
262 | 157 | name: "version", |
263 | 158 | outputs: [{ name: "", internalType: "uint256", type: "uint256" }], |
264 | 159 | stateMutability: "view", |
265 | 160 | }, |
266 | | - { |
267 | | - type: "function", |
268 | | - inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], |
269 | | - name: "withdrawableTypeToCompressorType", |
270 | | - outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }], |
271 | | - stateMutability: "view", |
272 | | - }, |
273 | | - { |
274 | | - type: "event", |
275 | | - anonymous: false, |
276 | | - inputs: [ |
277 | | - { |
278 | | - name: "previousOwner", |
279 | | - internalType: "address", |
280 | | - type: "address", |
281 | | - indexed: true, |
282 | | - }, |
283 | | - { |
284 | | - name: "newOwner", |
285 | | - internalType: "address", |
286 | | - type: "address", |
287 | | - indexed: true, |
288 | | - }, |
289 | | - ], |
290 | | - name: "OwnershipTransferred", |
291 | | - }, |
292 | 161 | ] as const; |
0 commit comments