@gearbox-protocol/sdk 14.11.10 → 14.11.12

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 (24) hide show
  1. package/dist/cjs/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +83 -0
  2. package/dist/cjs/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +83 -0
  3. package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +83 -0
  4. package/dist/cjs/abi/compressors/withdrawalCompressor.js +172 -0
  5. package/dist/cjs/abi/router/midasWorker.js +4 -4
  6. package/dist/cjs/dev/AccountOpener.js +2 -2
  7. package/dist/cjs/plugins/adapters/abi/actionAbi.js +0 -6
  8. package/dist/cjs/plugins/adapters/contracts/MidasGatewayAdapterContract.js +19 -29
  9. package/dist/esm/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +83 -0
  10. package/dist/esm/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +83 -0
  11. package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +83 -0
  12. package/dist/esm/abi/compressors/withdrawalCompressor.js +172 -0
  13. package/dist/esm/abi/router/midasWorker.js +4 -4
  14. package/dist/esm/dev/AccountOpener.js +2 -2
  15. package/dist/esm/plugins/adapters/abi/actionAbi.js +0 -6
  16. package/dist/esm/plugins/adapters/contracts/MidasGatewayAdapterContract.js +19 -29
  17. package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts +117 -0
  18. package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +117 -0
  19. package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +117 -0
  20. package/dist/types/abi/compressors/withdrawalCompressor.d.ts +234 -0
  21. package/dist/types/abi/router/midasWorker.d.ts +4 -4
  22. package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +234 -0
  23. package/dist/types/plugins/adapters/contracts/MidasGatewayAdapterContract.d.ts +4 -10
  24. package/package.json +1 -1
@@ -111,6 +111,109 @@ export declare const mellowWithdrawalSubcompressorAbi: readonly [{
111
111
  }];
112
112
  }];
113
113
  readonly stateMutability: "view";
114
+ }, {
115
+ readonly type: "function";
116
+ readonly name: "getExternalAccountCurrentWithdrawals";
117
+ readonly inputs: readonly [{
118
+ readonly name: "";
119
+ readonly type: "address";
120
+ readonly internalType: "address";
121
+ }, {
122
+ readonly name: "";
123
+ readonly type: "address";
124
+ readonly internalType: "address";
125
+ }];
126
+ readonly outputs: readonly [{
127
+ readonly name: "claimableWithdrawals";
128
+ readonly type: "tuple[]";
129
+ readonly internalType: "struct ClaimableWithdrawal[]";
130
+ readonly components: readonly [{
131
+ readonly name: "token";
132
+ readonly type: "address";
133
+ readonly internalType: "address";
134
+ }, {
135
+ readonly name: "withdrawalPhantomToken";
136
+ readonly type: "address";
137
+ readonly internalType: "address";
138
+ }, {
139
+ readonly name: "withdrawalTokenSpent";
140
+ readonly type: "uint256";
141
+ readonly internalType: "uint256";
142
+ }, {
143
+ readonly name: "outputs";
144
+ readonly type: "tuple[]";
145
+ readonly internalType: "struct WithdrawalOutput[]";
146
+ readonly components: readonly [{
147
+ readonly name: "token";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "isDelayed";
152
+ readonly type: "bool";
153
+ readonly internalType: "bool";
154
+ }, {
155
+ readonly name: "amount";
156
+ readonly type: "uint256";
157
+ readonly internalType: "uint256";
158
+ }];
159
+ }, {
160
+ readonly name: "claimCalls";
161
+ readonly type: "tuple[]";
162
+ readonly internalType: "struct MultiCall[]";
163
+ readonly components: readonly [{
164
+ readonly name: "target";
165
+ readonly type: "address";
166
+ readonly internalType: "address";
167
+ }, {
168
+ readonly name: "callData";
169
+ readonly type: "bytes";
170
+ readonly internalType: "bytes";
171
+ }];
172
+ }, {
173
+ readonly name: "extraData";
174
+ readonly type: "bytes";
175
+ readonly internalType: "bytes";
176
+ }];
177
+ }, {
178
+ readonly name: "pendingWithdrawals";
179
+ readonly type: "tuple[]";
180
+ readonly internalType: "struct PendingWithdrawal[]";
181
+ readonly components: readonly [{
182
+ readonly name: "token";
183
+ readonly type: "address";
184
+ readonly internalType: "address";
185
+ }, {
186
+ readonly name: "withdrawalPhantomToken";
187
+ readonly type: "address";
188
+ readonly internalType: "address";
189
+ }, {
190
+ readonly name: "expectedOutputs";
191
+ readonly type: "tuple[]";
192
+ readonly internalType: "struct WithdrawalOutput[]";
193
+ readonly components: readonly [{
194
+ readonly name: "token";
195
+ readonly type: "address";
196
+ readonly internalType: "address";
197
+ }, {
198
+ readonly name: "isDelayed";
199
+ readonly type: "bool";
200
+ readonly internalType: "bool";
201
+ }, {
202
+ readonly name: "amount";
203
+ readonly type: "uint256";
204
+ readonly internalType: "uint256";
205
+ }];
206
+ }, {
207
+ readonly name: "claimableAt";
208
+ readonly type: "uint256";
209
+ readonly internalType: "uint256";
210
+ }, {
211
+ readonly name: "extraData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }];
216
+ readonly stateMutability: "pure";
114
217
  }, {
115
218
  readonly type: "function";
116
219
  readonly name: "getWithdrawableAssets";
@@ -292,6 +395,20 @@ export declare const mellowWithdrawalSubcompressorAbi: readonly [{
292
395
  }];
293
396
  }];
294
397
  readonly stateMutability: "view";
398
+ }, {
399
+ readonly type: "function";
400
+ readonly name: "getWithdrawalStatus";
401
+ readonly inputs: readonly [{
402
+ readonly name: "";
403
+ readonly type: "address";
404
+ readonly internalType: "address";
405
+ }];
406
+ readonly outputs: readonly [{
407
+ readonly name: "";
408
+ readonly type: "uint8";
409
+ readonly internalType: "enum WithdrawalStatus";
410
+ }];
411
+ readonly stateMutability: "pure";
295
412
  }, {
296
413
  readonly type: "function";
297
414
  readonly name: "version";
@@ -111,6 +111,109 @@ export declare const midasWithdrawalSubcompressorAbi: readonly [{
111
111
  }];
112
112
  }];
113
113
  readonly stateMutability: "view";
114
+ }, {
115
+ readonly type: "function";
116
+ readonly name: "getExternalAccountCurrentWithdrawals";
117
+ readonly inputs: readonly [{
118
+ readonly name: "account";
119
+ readonly type: "address";
120
+ readonly internalType: "address";
121
+ }, {
122
+ readonly name: "token";
123
+ readonly type: "address";
124
+ readonly internalType: "address";
125
+ }];
126
+ readonly outputs: readonly [{
127
+ readonly name: "";
128
+ readonly type: "tuple[]";
129
+ readonly internalType: "struct ClaimableWithdrawal[]";
130
+ readonly components: readonly [{
131
+ readonly name: "token";
132
+ readonly type: "address";
133
+ readonly internalType: "address";
134
+ }, {
135
+ readonly name: "withdrawalPhantomToken";
136
+ readonly type: "address";
137
+ readonly internalType: "address";
138
+ }, {
139
+ readonly name: "withdrawalTokenSpent";
140
+ readonly type: "uint256";
141
+ readonly internalType: "uint256";
142
+ }, {
143
+ readonly name: "outputs";
144
+ readonly type: "tuple[]";
145
+ readonly internalType: "struct WithdrawalOutput[]";
146
+ readonly components: readonly [{
147
+ readonly name: "token";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "isDelayed";
152
+ readonly type: "bool";
153
+ readonly internalType: "bool";
154
+ }, {
155
+ readonly name: "amount";
156
+ readonly type: "uint256";
157
+ readonly internalType: "uint256";
158
+ }];
159
+ }, {
160
+ readonly name: "claimCalls";
161
+ readonly type: "tuple[]";
162
+ readonly internalType: "struct MultiCall[]";
163
+ readonly components: readonly [{
164
+ readonly name: "target";
165
+ readonly type: "address";
166
+ readonly internalType: "address";
167
+ }, {
168
+ readonly name: "callData";
169
+ readonly type: "bytes";
170
+ readonly internalType: "bytes";
171
+ }];
172
+ }, {
173
+ readonly name: "extraData";
174
+ readonly type: "bytes";
175
+ readonly internalType: "bytes";
176
+ }];
177
+ }, {
178
+ readonly name: "";
179
+ readonly type: "tuple[]";
180
+ readonly internalType: "struct PendingWithdrawal[]";
181
+ readonly components: readonly [{
182
+ readonly name: "token";
183
+ readonly type: "address";
184
+ readonly internalType: "address";
185
+ }, {
186
+ readonly name: "withdrawalPhantomToken";
187
+ readonly type: "address";
188
+ readonly internalType: "address";
189
+ }, {
190
+ readonly name: "expectedOutputs";
191
+ readonly type: "tuple[]";
192
+ readonly internalType: "struct WithdrawalOutput[]";
193
+ readonly components: readonly [{
194
+ readonly name: "token";
195
+ readonly type: "address";
196
+ readonly internalType: "address";
197
+ }, {
198
+ readonly name: "isDelayed";
199
+ readonly type: "bool";
200
+ readonly internalType: "bool";
201
+ }, {
202
+ readonly name: "amount";
203
+ readonly type: "uint256";
204
+ readonly internalType: "uint256";
205
+ }];
206
+ }, {
207
+ readonly name: "claimableAt";
208
+ readonly type: "uint256";
209
+ readonly internalType: "uint256";
210
+ }, {
211
+ readonly name: "extraData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }];
216
+ readonly stateMutability: "view";
114
217
  }, {
115
218
  readonly type: "function";
116
219
  readonly name: "getWithdrawableAssets";
@@ -292,6 +395,20 @@ export declare const midasWithdrawalSubcompressorAbi: readonly [{
292
395
  }];
293
396
  }];
294
397
  readonly stateMutability: "view";
398
+ }, {
399
+ readonly type: "function";
400
+ readonly name: "getWithdrawalStatus";
401
+ readonly inputs: readonly [{
402
+ readonly name: "redeemer";
403
+ readonly type: "address";
404
+ readonly internalType: "address";
405
+ }];
406
+ readonly outputs: readonly [{
407
+ readonly name: "";
408
+ readonly type: "uint8";
409
+ readonly internalType: "enum WithdrawalStatus";
410
+ }];
411
+ readonly stateMutability: "view";
295
412
  }, {
296
413
  readonly type: "function";
297
414
  readonly name: "version";
@@ -111,6 +111,109 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
111
111
  }];
112
112
  }];
113
113
  readonly stateMutability: "view";
114
+ }, {
115
+ readonly type: "function";
116
+ readonly name: "getExternalAccountCurrentWithdrawals";
117
+ readonly inputs: readonly [{
118
+ readonly name: "account";
119
+ readonly type: "address";
120
+ readonly internalType: "address";
121
+ }, {
122
+ readonly name: "token";
123
+ readonly type: "address";
124
+ readonly internalType: "address";
125
+ }];
126
+ readonly outputs: readonly [{
127
+ readonly name: "";
128
+ readonly type: "tuple[]";
129
+ readonly internalType: "struct ClaimableWithdrawal[]";
130
+ readonly components: readonly [{
131
+ readonly name: "token";
132
+ readonly type: "address";
133
+ readonly internalType: "address";
134
+ }, {
135
+ readonly name: "withdrawalPhantomToken";
136
+ readonly type: "address";
137
+ readonly internalType: "address";
138
+ }, {
139
+ readonly name: "withdrawalTokenSpent";
140
+ readonly type: "uint256";
141
+ readonly internalType: "uint256";
142
+ }, {
143
+ readonly name: "outputs";
144
+ readonly type: "tuple[]";
145
+ readonly internalType: "struct WithdrawalOutput[]";
146
+ readonly components: readonly [{
147
+ readonly name: "token";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "isDelayed";
152
+ readonly type: "bool";
153
+ readonly internalType: "bool";
154
+ }, {
155
+ readonly name: "amount";
156
+ readonly type: "uint256";
157
+ readonly internalType: "uint256";
158
+ }];
159
+ }, {
160
+ readonly name: "claimCalls";
161
+ readonly type: "tuple[]";
162
+ readonly internalType: "struct MultiCall[]";
163
+ readonly components: readonly [{
164
+ readonly name: "target";
165
+ readonly type: "address";
166
+ readonly internalType: "address";
167
+ }, {
168
+ readonly name: "callData";
169
+ readonly type: "bytes";
170
+ readonly internalType: "bytes";
171
+ }];
172
+ }, {
173
+ readonly name: "extraData";
174
+ readonly type: "bytes";
175
+ readonly internalType: "bytes";
176
+ }];
177
+ }, {
178
+ readonly name: "";
179
+ readonly type: "tuple[]";
180
+ readonly internalType: "struct PendingWithdrawal[]";
181
+ readonly components: readonly [{
182
+ readonly name: "token";
183
+ readonly type: "address";
184
+ readonly internalType: "address";
185
+ }, {
186
+ readonly name: "withdrawalPhantomToken";
187
+ readonly type: "address";
188
+ readonly internalType: "address";
189
+ }, {
190
+ readonly name: "expectedOutputs";
191
+ readonly type: "tuple[]";
192
+ readonly internalType: "struct WithdrawalOutput[]";
193
+ readonly components: readonly [{
194
+ readonly name: "token";
195
+ readonly type: "address";
196
+ readonly internalType: "address";
197
+ }, {
198
+ readonly name: "isDelayed";
199
+ readonly type: "bool";
200
+ readonly internalType: "bool";
201
+ }, {
202
+ readonly name: "amount";
203
+ readonly type: "uint256";
204
+ readonly internalType: "uint256";
205
+ }];
206
+ }, {
207
+ readonly name: "claimableAt";
208
+ readonly type: "uint256";
209
+ readonly internalType: "uint256";
210
+ }, {
211
+ readonly name: "extraData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }];
216
+ readonly stateMutability: "view";
114
217
  }, {
115
218
  readonly type: "function";
116
219
  readonly name: "getWithdrawableAssets";
@@ -292,6 +395,20 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
292
395
  }];
293
396
  }];
294
397
  readonly stateMutability: "view";
398
+ }, {
399
+ readonly type: "function";
400
+ readonly name: "getWithdrawalStatus";
401
+ readonly inputs: readonly [{
402
+ readonly name: "redeemer";
403
+ readonly type: "address";
404
+ readonly internalType: "address";
405
+ }];
406
+ readonly outputs: readonly [{
407
+ readonly name: "";
408
+ readonly type: "uint8";
409
+ readonly internalType: "enum WithdrawalStatus";
410
+ }];
411
+ readonly stateMutability: "view";
295
412
  }, {
296
413
  readonly type: "function";
297
414
  readonly name: "version";
@@ -147,6 +147,212 @@ export declare const withdrawalCompressorAbi: readonly [{
147
147
  }];
148
148
  }];
149
149
  readonly stateMutability: "view";
150
+ }, {
151
+ readonly type: "function";
152
+ readonly name: "getExternalAccountCurrentWithdrawals";
153
+ readonly inputs: readonly [{
154
+ readonly name: "withdrawalTokens";
155
+ readonly type: "address[]";
156
+ readonly internalType: "address[]";
157
+ }, {
158
+ readonly name: "account";
159
+ readonly type: "address";
160
+ readonly internalType: "address";
161
+ }];
162
+ readonly outputs: readonly [{
163
+ readonly name: "";
164
+ readonly type: "tuple[]";
165
+ readonly internalType: "struct ClaimableWithdrawal[]";
166
+ readonly components: readonly [{
167
+ readonly name: "token";
168
+ readonly type: "address";
169
+ readonly internalType: "address";
170
+ }, {
171
+ readonly name: "withdrawalPhantomToken";
172
+ readonly type: "address";
173
+ readonly internalType: "address";
174
+ }, {
175
+ readonly name: "withdrawalTokenSpent";
176
+ readonly type: "uint256";
177
+ readonly internalType: "uint256";
178
+ }, {
179
+ readonly name: "outputs";
180
+ readonly type: "tuple[]";
181
+ readonly internalType: "struct WithdrawalOutput[]";
182
+ readonly components: readonly [{
183
+ readonly name: "token";
184
+ readonly type: "address";
185
+ readonly internalType: "address";
186
+ }, {
187
+ readonly name: "isDelayed";
188
+ readonly type: "bool";
189
+ readonly internalType: "bool";
190
+ }, {
191
+ readonly name: "amount";
192
+ readonly type: "uint256";
193
+ readonly internalType: "uint256";
194
+ }];
195
+ }, {
196
+ readonly name: "claimCalls";
197
+ readonly type: "tuple[]";
198
+ readonly internalType: "struct MultiCall[]";
199
+ readonly components: readonly [{
200
+ readonly name: "target";
201
+ readonly type: "address";
202
+ readonly internalType: "address";
203
+ }, {
204
+ readonly name: "callData";
205
+ readonly type: "bytes";
206
+ readonly internalType: "bytes";
207
+ }];
208
+ }, {
209
+ readonly name: "extraData";
210
+ readonly type: "bytes";
211
+ readonly internalType: "bytes";
212
+ }];
213
+ }, {
214
+ readonly name: "";
215
+ readonly type: "tuple[]";
216
+ readonly internalType: "struct PendingWithdrawal[]";
217
+ readonly components: readonly [{
218
+ readonly name: "token";
219
+ readonly type: "address";
220
+ readonly internalType: "address";
221
+ }, {
222
+ readonly name: "withdrawalPhantomToken";
223
+ readonly type: "address";
224
+ readonly internalType: "address";
225
+ }, {
226
+ readonly name: "expectedOutputs";
227
+ readonly type: "tuple[]";
228
+ readonly internalType: "struct WithdrawalOutput[]";
229
+ readonly components: readonly [{
230
+ readonly name: "token";
231
+ readonly type: "address";
232
+ readonly internalType: "address";
233
+ }, {
234
+ readonly name: "isDelayed";
235
+ readonly type: "bool";
236
+ readonly internalType: "bool";
237
+ }, {
238
+ readonly name: "amount";
239
+ readonly type: "uint256";
240
+ readonly internalType: "uint256";
241
+ }];
242
+ }, {
243
+ readonly name: "claimableAt";
244
+ readonly type: "uint256";
245
+ readonly internalType: "uint256";
246
+ }, {
247
+ readonly name: "extraData";
248
+ readonly type: "bytes";
249
+ readonly internalType: "bytes";
250
+ }];
251
+ }];
252
+ readonly stateMutability: "view";
253
+ }, {
254
+ readonly type: "function";
255
+ readonly name: "getExternalAccountCurrentWithdrawals";
256
+ readonly inputs: readonly [{
257
+ readonly name: "withdrawalToken";
258
+ readonly type: "address";
259
+ readonly internalType: "address";
260
+ }, {
261
+ readonly name: "account";
262
+ readonly type: "address";
263
+ readonly internalType: "address";
264
+ }];
265
+ readonly outputs: readonly [{
266
+ readonly name: "";
267
+ readonly type: "tuple[]";
268
+ readonly internalType: "struct ClaimableWithdrawal[]";
269
+ readonly components: readonly [{
270
+ readonly name: "token";
271
+ readonly type: "address";
272
+ readonly internalType: "address";
273
+ }, {
274
+ readonly name: "withdrawalPhantomToken";
275
+ readonly type: "address";
276
+ readonly internalType: "address";
277
+ }, {
278
+ readonly name: "withdrawalTokenSpent";
279
+ readonly type: "uint256";
280
+ readonly internalType: "uint256";
281
+ }, {
282
+ readonly name: "outputs";
283
+ readonly type: "tuple[]";
284
+ readonly internalType: "struct WithdrawalOutput[]";
285
+ readonly components: readonly [{
286
+ readonly name: "token";
287
+ readonly type: "address";
288
+ readonly internalType: "address";
289
+ }, {
290
+ readonly name: "isDelayed";
291
+ readonly type: "bool";
292
+ readonly internalType: "bool";
293
+ }, {
294
+ readonly name: "amount";
295
+ readonly type: "uint256";
296
+ readonly internalType: "uint256";
297
+ }];
298
+ }, {
299
+ readonly name: "claimCalls";
300
+ readonly type: "tuple[]";
301
+ readonly internalType: "struct MultiCall[]";
302
+ readonly components: readonly [{
303
+ readonly name: "target";
304
+ readonly type: "address";
305
+ readonly internalType: "address";
306
+ }, {
307
+ readonly name: "callData";
308
+ readonly type: "bytes";
309
+ readonly internalType: "bytes";
310
+ }];
311
+ }, {
312
+ readonly name: "extraData";
313
+ readonly type: "bytes";
314
+ readonly internalType: "bytes";
315
+ }];
316
+ }, {
317
+ readonly name: "";
318
+ readonly type: "tuple[]";
319
+ readonly internalType: "struct PendingWithdrawal[]";
320
+ readonly components: readonly [{
321
+ readonly name: "token";
322
+ readonly type: "address";
323
+ readonly internalType: "address";
324
+ }, {
325
+ readonly name: "withdrawalPhantomToken";
326
+ readonly type: "address";
327
+ readonly internalType: "address";
328
+ }, {
329
+ readonly name: "expectedOutputs";
330
+ readonly type: "tuple[]";
331
+ readonly internalType: "struct WithdrawalOutput[]";
332
+ readonly components: readonly [{
333
+ readonly name: "token";
334
+ readonly type: "address";
335
+ readonly internalType: "address";
336
+ }, {
337
+ readonly name: "isDelayed";
338
+ readonly type: "bool";
339
+ readonly internalType: "bool";
340
+ }, {
341
+ readonly name: "amount";
342
+ readonly type: "uint256";
343
+ readonly internalType: "uint256";
344
+ }];
345
+ }, {
346
+ readonly name: "claimableAt";
347
+ readonly type: "uint256";
348
+ readonly internalType: "uint256";
349
+ }, {
350
+ readonly name: "extraData";
351
+ readonly type: "bytes";
352
+ readonly internalType: "bytes";
353
+ }];
354
+ }];
355
+ readonly stateMutability: "view";
150
356
  }, {
151
357
  readonly type: "function";
152
358
  readonly name: "getWithdrawableAssets";
@@ -389,6 +595,34 @@ export declare const withdrawalCompressorAbi: readonly [{
389
595
  }];
390
596
  }];
391
597
  readonly stateMutability: "view";
598
+ }, {
599
+ readonly type: "function";
600
+ readonly name: "getWithdrawalStatus";
601
+ readonly inputs: readonly [{
602
+ readonly name: "redeemers";
603
+ readonly type: "address[]";
604
+ readonly internalType: "address[]";
605
+ }];
606
+ readonly outputs: readonly [{
607
+ readonly name: "";
608
+ readonly type: "uint8[]";
609
+ readonly internalType: "enum WithdrawalStatus[]";
610
+ }];
611
+ readonly stateMutability: "view";
612
+ }, {
613
+ readonly type: "function";
614
+ readonly name: "getWithdrawalStatus";
615
+ readonly inputs: readonly [{
616
+ readonly name: "redeemer";
617
+ readonly type: "address";
618
+ readonly internalType: "address";
619
+ }];
620
+ readonly outputs: readonly [{
621
+ readonly name: "";
622
+ readonly type: "uint8";
623
+ readonly internalType: "enum WithdrawalStatus";
624
+ }];
625
+ readonly stateMutability: "view";
392
626
  }, {
393
627
  readonly type: "function";
394
628
  readonly name: "owner";
@@ -547,7 +547,7 @@ export declare const midasWorkerAbi: readonly [{
547
547
  readonly type: "function";
548
548
  readonly name: "trimSpecialVertex";
549
549
  readonly inputs: readonly [{
550
- readonly name: "edge";
550
+ readonly name: "";
551
551
  readonly type: "tuple";
552
552
  readonly internalType: "struct Edge";
553
553
  readonly components: readonly [{
@@ -592,7 +592,7 @@ export declare const midasWorkerAbi: readonly [{
592
592
  readonly internalType: "uint256";
593
593
  }];
594
594
  }, {
595
- readonly name: "graph";
595
+ readonly name: "";
596
596
  readonly type: "tuple";
597
597
  readonly internalType: "struct Graph";
598
598
  readonly components: readonly [{
@@ -667,7 +667,7 @@ export declare const midasWorkerAbi: readonly [{
667
667
  }];
668
668
  }];
669
669
  }, {
670
- readonly name: "targetToken";
670
+ readonly name: "";
671
671
  readonly type: "address";
672
672
  readonly internalType: "address";
673
673
  }];
@@ -676,7 +676,7 @@ export declare const midasWorkerAbi: readonly [{
676
676
  readonly type: "bool";
677
677
  readonly internalType: "bool";
678
678
  }];
679
- readonly stateMutability: "view";
679
+ readonly stateMutability: "pure";
680
680
  }, {
681
681
  readonly type: "function";
682
682
  readonly name: "updateRouter";