@gearbox-protocol/sdk 14.12.0-next.38 → 14.12.0-next.39
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.
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +85 -1
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +85 -1
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +85 -1
- package/dist/cjs/abi/compressors/withdrawalCompressor.js +197 -1
- package/dist/cjs/abi/helpers/redemptionLogger.js +160 -0
- package/dist/cjs/abi/router/midasWorker.js +4 -4
- package/dist/cjs/dev/AccountOpener.js +2 -2
- package/dist/cjs/plugins/adapters/abi/actionAbi.js +13 -5
- package/dist/cjs/plugins/adapters/abi/adapters/iSecuritizeRedemptionGatewayAdapterV311.js +23 -8
- package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +2 -1
- package/dist/cjs/plugins/adapters/abi/securitize/iMidasGatewayAdapter.js +354 -0
- package/dist/cjs/plugins/adapters/abi/securitize/index.js +2 -0
- package/dist/esm/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +85 -1
- package/dist/esm/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +85 -1
- package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +85 -1
- package/dist/esm/abi/compressors/withdrawalCompressor.js +197 -1
- package/dist/esm/abi/helpers/redemptionLogger.js +136 -0
- package/dist/esm/abi/router/midasWorker.js +4 -4
- package/dist/esm/dev/AccountOpener.js +2 -2
- package/dist/esm/plugins/adapters/abi/actionAbi.js +13 -5
- package/dist/esm/plugins/adapters/abi/adapters/iSecuritizeRedemptionGatewayAdapterV311.js +23 -8
- package/dist/esm/plugins/adapters/abi/conctructorAbi.js +2 -1
- package/dist/esm/plugins/adapters/abi/securitize/iMidasGatewayAdapter.js +330 -0
- package/dist/esm/plugins/adapters/abi/securitize/index.js +1 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts +121 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +121 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +121 -0
- package/dist/types/abi/compressors/withdrawalCompressor.d.ts +274 -0
- package/dist/types/abi/helpers/redemptionLogger.d.ts +167 -0
- package/dist/types/abi/router/midasWorker.d.ts +4 -4
- package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +274 -0
- package/dist/types/plugins/adapters/abi/actionAbi.d.ts +1 -1
- package/dist/types/plugins/adapters/abi/adapters/iSecuritizeRedemptionGatewayAdapterV311.d.ts +37 -7
- package/dist/types/plugins/adapters/abi/securitize/iMidasGatewayAdapter.d.ts +555 -0
- package/dist/types/plugins/adapters/abi/securitize/index.d.ts +1 -0
- package/dist/types/plugins/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.d.ts +37 -7
- package/package.json +1 -1
package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts
CHANGED
|
@@ -104,6 +104,113 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
|
|
|
104
104
|
readonly name: "claimableAt";
|
|
105
105
|
readonly type: "uint256";
|
|
106
106
|
readonly internalType: "uint256";
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "extraData";
|
|
109
|
+
readonly type: "bytes";
|
|
110
|
+
readonly internalType: "bytes";
|
|
111
|
+
}];
|
|
112
|
+
}];
|
|
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";
|
|
107
214
|
}];
|
|
108
215
|
}];
|
|
109
216
|
readonly stateMutability: "view";
|
|
@@ -288,6 +395,20 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
|
|
|
288
395
|
}];
|
|
289
396
|
}];
|
|
290
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";
|
|
291
412
|
}, {
|
|
292
413
|
readonly type: "function";
|
|
293
414
|
readonly name: "version";
|
|
@@ -27,6 +27,10 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
27
27
|
readonly name: "";
|
|
28
28
|
readonly type: "bytes32";
|
|
29
29
|
readonly internalType: "bytes32";
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
readonly internalType: "uint256";
|
|
30
34
|
}];
|
|
31
35
|
readonly outputs: readonly [{
|
|
32
36
|
readonly name: "";
|
|
@@ -143,6 +147,212 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
143
147
|
}];
|
|
144
148
|
}];
|
|
145
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";
|
|
146
356
|
}, {
|
|
147
357
|
readonly type: "function";
|
|
148
358
|
readonly name: "getWithdrawableAssets";
|
|
@@ -385,6 +595,34 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
385
595
|
}];
|
|
386
596
|
}];
|
|
387
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";
|
|
388
626
|
}, {
|
|
389
627
|
readonly type: "function";
|
|
390
628
|
readonly name: "owner";
|
|
@@ -425,6 +663,24 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
425
663
|
}];
|
|
426
664
|
readonly outputs: readonly [];
|
|
427
665
|
readonly stateMutability: "nonpayable";
|
|
666
|
+
}, {
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
readonly name: "setWithdrawableVersionToSpecificCompressorVersion";
|
|
669
|
+
readonly inputs: readonly [{
|
|
670
|
+
readonly name: "withdrawableType";
|
|
671
|
+
readonly type: "bytes32";
|
|
672
|
+
readonly internalType: "bytes32";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "withdrawableVersion";
|
|
675
|
+
readonly type: "uint256";
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "compressorVersion";
|
|
679
|
+
readonly type: "uint256";
|
|
680
|
+
readonly internalType: "uint256";
|
|
681
|
+
}];
|
|
682
|
+
readonly outputs: readonly [];
|
|
683
|
+
readonly stateMutability: "nonpayable";
|
|
428
684
|
}, {
|
|
429
685
|
readonly type: "function";
|
|
430
686
|
readonly name: "transferOwnership";
|
|
@@ -459,6 +715,24 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
459
715
|
readonly internalType: "bytes32";
|
|
460
716
|
}];
|
|
461
717
|
readonly stateMutability: "view";
|
|
718
|
+
}, {
|
|
719
|
+
readonly type: "function";
|
|
720
|
+
readonly name: "withdrawableTypeToSpecificCompressorVersion";
|
|
721
|
+
readonly inputs: readonly [{
|
|
722
|
+
readonly name: "";
|
|
723
|
+
readonly type: "bytes32";
|
|
724
|
+
readonly internalType: "bytes32";
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
readonly internalType: "uint256";
|
|
729
|
+
}];
|
|
730
|
+
readonly outputs: readonly [{
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "uint256";
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
}];
|
|
735
|
+
readonly stateMutability: "view";
|
|
462
736
|
}, {
|
|
463
737
|
readonly type: "event";
|
|
464
738
|
readonly name: "OwnershipTransferred";
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export declare const redemptionLoggerAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_owner";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
}];
|
|
8
|
+
readonly stateMutability: "nonpayable";
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
readonly name: "allowedGateways";
|
|
12
|
+
readonly inputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
readonly internalType: "address";
|
|
16
|
+
}];
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly name: "";
|
|
19
|
+
readonly type: "bool";
|
|
20
|
+
readonly internalType: "bool";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "contractType";
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly name: "";
|
|
29
|
+
readonly type: "bytes32";
|
|
30
|
+
readonly internalType: "bytes32";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "view";
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly name: "logRedemption";
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly name: "creditAccount";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "redeemer";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "extraData";
|
|
46
|
+
readonly type: "bytes";
|
|
47
|
+
readonly internalType: "bytes";
|
|
48
|
+
}];
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
readonly stateMutability: "nonpayable";
|
|
51
|
+
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly name: "owner";
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "address";
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "redemptionLogs";
|
|
64
|
+
readonly inputs: readonly [{
|
|
65
|
+
readonly name: "redeemer";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly name: "";
|
|
71
|
+
readonly type: "tuple";
|
|
72
|
+
readonly internalType: "struct IRedemptionLogger.RedemptionLog";
|
|
73
|
+
readonly components: readonly [{
|
|
74
|
+
readonly name: "creditAccount";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
readonly internalType: "address";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "redeemer";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "extraData";
|
|
83
|
+
readonly type: "bytes";
|
|
84
|
+
readonly internalType: "bytes";
|
|
85
|
+
}];
|
|
86
|
+
}];
|
|
87
|
+
readonly stateMutability: "view";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly name: "renounceOwnership";
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly outputs: readonly [];
|
|
93
|
+
readonly stateMutability: "nonpayable";
|
|
94
|
+
}, {
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
readonly name: "setGatewayAllowed";
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly name: "gateway";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
readonly internalType: "address";
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "allowed";
|
|
103
|
+
readonly type: "bool";
|
|
104
|
+
readonly internalType: "bool";
|
|
105
|
+
}];
|
|
106
|
+
readonly outputs: readonly [];
|
|
107
|
+
readonly stateMutability: "nonpayable";
|
|
108
|
+
}, {
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
readonly name: "transferOwnership";
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly name: "newOwner";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
readonly internalType: "address";
|
|
115
|
+
}];
|
|
116
|
+
readonly outputs: readonly [];
|
|
117
|
+
readonly stateMutability: "nonpayable";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly name: "version";
|
|
121
|
+
readonly inputs: readonly [];
|
|
122
|
+
readonly outputs: readonly [{
|
|
123
|
+
readonly name: "";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly stateMutability: "view";
|
|
128
|
+
}, {
|
|
129
|
+
readonly type: "event";
|
|
130
|
+
readonly name: "OwnershipTransferred";
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly name: "previousOwner";
|
|
133
|
+
readonly type: "address";
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
readonly internalType: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "newOwner";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
}];
|
|
142
|
+
readonly anonymous: false;
|
|
143
|
+
}, {
|
|
144
|
+
readonly type: "event";
|
|
145
|
+
readonly name: "RedemptionLogged";
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly name: "creditAccount";
|
|
148
|
+
readonly type: "address";
|
|
149
|
+
readonly indexed: true;
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "redeemer";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "extraData";
|
|
158
|
+
readonly type: "bytes";
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
readonly internalType: "bytes";
|
|
161
|
+
}];
|
|
162
|
+
readonly anonymous: false;
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "error";
|
|
165
|
+
readonly name: "GatewayNotAllowedException";
|
|
166
|
+
readonly inputs: readonly [];
|
|
167
|
+
}];
|
|
@@ -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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
679
|
+
readonly stateMutability: "pure";
|
|
680
680
|
}, {
|
|
681
681
|
readonly type: "function";
|
|
682
682
|
readonly name: "updateRouter";
|