@gearbox-protocol/sdk 14.11.6 → 14.11.8
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 +2 -1
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +2 -1
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +2 -1
- package/dist/cjs/abi/compressors/withdrawalCompressor.js +27 -2
- package/dist/esm/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +2 -1
- package/dist/esm/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +2 -1
- package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +2 -1
- package/dist/esm/abi/compressors/withdrawalCompressor.js +27 -2
- package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts +4 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +4 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +4 -0
- package/dist/types/abi/compressors/withdrawalCompressor.d.ts +44 -0
- package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +44 -0
- package/package.json +1 -1
|
@@ -96,7 +96,8 @@ const mellowWithdrawalSubcompressorAbi = [
|
|
|
96
96
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
99
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
100
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
100
101
|
]
|
|
101
102
|
}
|
|
102
103
|
],
|
|
@@ -96,7 +96,8 @@ const midasWithdrawalSubcompressorAbi = [
|
|
|
96
96
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
99
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
100
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
100
101
|
]
|
|
101
102
|
}
|
|
102
103
|
],
|
package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js
CHANGED
|
@@ -96,7 +96,8 @@ const securitizeRedemptionSubcompressorAbi = [
|
|
|
96
96
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
99
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
100
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
100
101
|
]
|
|
101
102
|
}
|
|
102
103
|
],
|
|
@@ -40,7 +40,10 @@ const withdrawalCompressorAbi = [
|
|
|
40
40
|
{
|
|
41
41
|
type: "function",
|
|
42
42
|
name: "compressorTypeToCompressor",
|
|
43
|
-
inputs: [
|
|
43
|
+
inputs: [
|
|
44
|
+
{ name: "", type: "bytes32", internalType: "bytes32" },
|
|
45
|
+
{ name: "", type: "uint256", internalType: "uint256" }
|
|
46
|
+
],
|
|
44
47
|
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
45
48
|
stateMutability: "view"
|
|
46
49
|
},
|
|
@@ -117,7 +120,8 @@ const withdrawalCompressorAbi = [
|
|
|
117
120
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
118
121
|
]
|
|
119
122
|
},
|
|
120
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
123
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
124
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
121
125
|
]
|
|
122
126
|
}
|
|
123
127
|
],
|
|
@@ -312,6 +316,17 @@ const withdrawalCompressorAbi = [
|
|
|
312
316
|
outputs: [],
|
|
313
317
|
stateMutability: "nonpayable"
|
|
314
318
|
},
|
|
319
|
+
{
|
|
320
|
+
type: "function",
|
|
321
|
+
name: "setWithdrawableVersionToSpecificCompressorVersion",
|
|
322
|
+
inputs: [
|
|
323
|
+
{ name: "withdrawableType", type: "bytes32", internalType: "bytes32" },
|
|
324
|
+
{ name: "withdrawableVersion", type: "uint256", internalType: "uint256" },
|
|
325
|
+
{ name: "compressorVersion", type: "uint256", internalType: "uint256" }
|
|
326
|
+
],
|
|
327
|
+
outputs: [],
|
|
328
|
+
stateMutability: "nonpayable"
|
|
329
|
+
},
|
|
315
330
|
{
|
|
316
331
|
type: "function",
|
|
317
332
|
name: "transferOwnership",
|
|
@@ -333,6 +348,16 @@ const withdrawalCompressorAbi = [
|
|
|
333
348
|
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
334
349
|
stateMutability: "view"
|
|
335
350
|
},
|
|
351
|
+
{
|
|
352
|
+
type: "function",
|
|
353
|
+
name: "withdrawableTypeToSpecificCompressorVersion",
|
|
354
|
+
inputs: [
|
|
355
|
+
{ name: "", type: "bytes32", internalType: "bytes32" },
|
|
356
|
+
{ name: "", type: "uint256", internalType: "uint256" }
|
|
357
|
+
],
|
|
358
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
359
|
+
stateMutability: "view"
|
|
360
|
+
},
|
|
336
361
|
{
|
|
337
362
|
type: "event",
|
|
338
363
|
name: "OwnershipTransferred",
|
|
@@ -73,7 +73,8 @@ const mellowWithdrawalSubcompressorAbi = [
|
|
|
73
73
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
76
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
77
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
77
78
|
]
|
|
78
79
|
}
|
|
79
80
|
],
|
|
@@ -73,7 +73,8 @@ const midasWithdrawalSubcompressorAbi = [
|
|
|
73
73
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
76
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
77
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
77
78
|
]
|
|
78
79
|
}
|
|
79
80
|
],
|
package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js
CHANGED
|
@@ -73,7 +73,8 @@ const securitizeRedemptionSubcompressorAbi = [
|
|
|
73
73
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
76
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
77
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
77
78
|
]
|
|
78
79
|
}
|
|
79
80
|
],
|
|
@@ -17,7 +17,10 @@ const withdrawalCompressorAbi = [
|
|
|
17
17
|
{
|
|
18
18
|
type: "function",
|
|
19
19
|
name: "compressorTypeToCompressor",
|
|
20
|
-
inputs: [
|
|
20
|
+
inputs: [
|
|
21
|
+
{ name: "", type: "bytes32", internalType: "bytes32" },
|
|
22
|
+
{ name: "", type: "uint256", internalType: "uint256" }
|
|
23
|
+
],
|
|
21
24
|
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
22
25
|
stateMutability: "view"
|
|
23
26
|
},
|
|
@@ -94,7 +97,8 @@ const withdrawalCompressorAbi = [
|
|
|
94
97
|
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
95
98
|
]
|
|
96
99
|
},
|
|
97
|
-
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
100
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" },
|
|
101
|
+
{ name: "extraData", type: "bytes", internalType: "bytes" }
|
|
98
102
|
]
|
|
99
103
|
}
|
|
100
104
|
],
|
|
@@ -289,6 +293,17 @@ const withdrawalCompressorAbi = [
|
|
|
289
293
|
outputs: [],
|
|
290
294
|
stateMutability: "nonpayable"
|
|
291
295
|
},
|
|
296
|
+
{
|
|
297
|
+
type: "function",
|
|
298
|
+
name: "setWithdrawableVersionToSpecificCompressorVersion",
|
|
299
|
+
inputs: [
|
|
300
|
+
{ name: "withdrawableType", type: "bytes32", internalType: "bytes32" },
|
|
301
|
+
{ name: "withdrawableVersion", type: "uint256", internalType: "uint256" },
|
|
302
|
+
{ name: "compressorVersion", type: "uint256", internalType: "uint256" }
|
|
303
|
+
],
|
|
304
|
+
outputs: [],
|
|
305
|
+
stateMutability: "nonpayable"
|
|
306
|
+
},
|
|
292
307
|
{
|
|
293
308
|
type: "function",
|
|
294
309
|
name: "transferOwnership",
|
|
@@ -310,6 +325,16 @@ const withdrawalCompressorAbi = [
|
|
|
310
325
|
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
311
326
|
stateMutability: "view"
|
|
312
327
|
},
|
|
328
|
+
{
|
|
329
|
+
type: "function",
|
|
330
|
+
name: "withdrawableTypeToSpecificCompressorVersion",
|
|
331
|
+
inputs: [
|
|
332
|
+
{ name: "", type: "bytes32", internalType: "bytes32" },
|
|
333
|
+
{ name: "", type: "uint256", internalType: "uint256" }
|
|
334
|
+
],
|
|
335
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
336
|
+
stateMutability: "view"
|
|
337
|
+
},
|
|
313
338
|
{
|
|
314
339
|
type: "event",
|
|
315
340
|
name: "OwnershipTransferred",
|
package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ export declare const mellowWithdrawalSubcompressorAbi: 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";
|
|
107
111
|
}];
|
|
108
112
|
}];
|
|
109
113
|
readonly stateMutability: "view";
|
package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ export declare const midasWithdrawalSubcompressorAbi: 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";
|
|
107
111
|
}];
|
|
108
112
|
}];
|
|
109
113
|
readonly stateMutability: "view";
|
package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ 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";
|
|
107
111
|
}];
|
|
108
112
|
}];
|
|
109
113
|
readonly stateMutability: "view";
|
|
@@ -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: "";
|
|
@@ -136,6 +140,10 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
136
140
|
readonly name: "claimableAt";
|
|
137
141
|
readonly type: "uint256";
|
|
138
142
|
readonly internalType: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly name: "extraData";
|
|
145
|
+
readonly type: "bytes";
|
|
146
|
+
readonly internalType: "bytes";
|
|
139
147
|
}];
|
|
140
148
|
}];
|
|
141
149
|
readonly stateMutability: "view";
|
|
@@ -421,6 +429,24 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
421
429
|
}];
|
|
422
430
|
readonly outputs: readonly [];
|
|
423
431
|
readonly stateMutability: "nonpayable";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "function";
|
|
434
|
+
readonly name: "setWithdrawableVersionToSpecificCompressorVersion";
|
|
435
|
+
readonly inputs: readonly [{
|
|
436
|
+
readonly name: "withdrawableType";
|
|
437
|
+
readonly type: "bytes32";
|
|
438
|
+
readonly internalType: "bytes32";
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "withdrawableVersion";
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
readonly internalType: "uint256";
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "compressorVersion";
|
|
445
|
+
readonly type: "uint256";
|
|
446
|
+
readonly internalType: "uint256";
|
|
447
|
+
}];
|
|
448
|
+
readonly outputs: readonly [];
|
|
449
|
+
readonly stateMutability: "nonpayable";
|
|
424
450
|
}, {
|
|
425
451
|
readonly type: "function";
|
|
426
452
|
readonly name: "transferOwnership";
|
|
@@ -455,6 +481,24 @@ export declare const withdrawalCompressorAbi: readonly [{
|
|
|
455
481
|
readonly internalType: "bytes32";
|
|
456
482
|
}];
|
|
457
483
|
readonly stateMutability: "view";
|
|
484
|
+
}, {
|
|
485
|
+
readonly type: "function";
|
|
486
|
+
readonly name: "withdrawableTypeToSpecificCompressorVersion";
|
|
487
|
+
readonly inputs: readonly [{
|
|
488
|
+
readonly name: "";
|
|
489
|
+
readonly type: "bytes32";
|
|
490
|
+
readonly internalType: "bytes32";
|
|
491
|
+
}, {
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
readonly internalType: "uint256";
|
|
495
|
+
}];
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly name: "";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
readonly internalType: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "view";
|
|
458
502
|
}, {
|
|
459
503
|
readonly type: "event";
|
|
460
504
|
readonly name: "OwnershipTransferred";
|
|
@@ -29,6 +29,10 @@ declare const abi: readonly [{
|
|
|
29
29
|
readonly name: "";
|
|
30
30
|
readonly type: "bytes32";
|
|
31
31
|
readonly internalType: "bytes32";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
readonly internalType: "uint256";
|
|
32
36
|
}];
|
|
33
37
|
readonly outputs: readonly [{
|
|
34
38
|
readonly name: "";
|
|
@@ -138,6 +142,10 @@ declare const abi: readonly [{
|
|
|
138
142
|
readonly name: "claimableAt";
|
|
139
143
|
readonly type: "uint256";
|
|
140
144
|
readonly internalType: "uint256";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "extraData";
|
|
147
|
+
readonly type: "bytes";
|
|
148
|
+
readonly internalType: "bytes";
|
|
141
149
|
}];
|
|
142
150
|
}];
|
|
143
151
|
readonly stateMutability: "view";
|
|
@@ -423,6 +431,24 @@ declare const abi: readonly [{
|
|
|
423
431
|
}];
|
|
424
432
|
readonly outputs: readonly [];
|
|
425
433
|
readonly stateMutability: "nonpayable";
|
|
434
|
+
}, {
|
|
435
|
+
readonly type: "function";
|
|
436
|
+
readonly name: "setWithdrawableVersionToSpecificCompressorVersion";
|
|
437
|
+
readonly inputs: readonly [{
|
|
438
|
+
readonly name: "withdrawableType";
|
|
439
|
+
readonly type: "bytes32";
|
|
440
|
+
readonly internalType: "bytes32";
|
|
441
|
+
}, {
|
|
442
|
+
readonly name: "withdrawableVersion";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
readonly internalType: "uint256";
|
|
445
|
+
}, {
|
|
446
|
+
readonly name: "compressorVersion";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
readonly internalType: "uint256";
|
|
449
|
+
}];
|
|
450
|
+
readonly outputs: readonly [];
|
|
451
|
+
readonly stateMutability: "nonpayable";
|
|
426
452
|
}, {
|
|
427
453
|
readonly type: "function";
|
|
428
454
|
readonly name: "transferOwnership";
|
|
@@ -457,6 +483,24 @@ declare const abi: readonly [{
|
|
|
457
483
|
readonly internalType: "bytes32";
|
|
458
484
|
}];
|
|
459
485
|
readonly stateMutability: "view";
|
|
486
|
+
}, {
|
|
487
|
+
readonly type: "function";
|
|
488
|
+
readonly name: "withdrawableTypeToSpecificCompressorVersion";
|
|
489
|
+
readonly inputs: readonly [{
|
|
490
|
+
readonly name: "";
|
|
491
|
+
readonly type: "bytes32";
|
|
492
|
+
readonly internalType: "bytes32";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "uint256";
|
|
496
|
+
readonly internalType: "uint256";
|
|
497
|
+
}];
|
|
498
|
+
readonly outputs: readonly [{
|
|
499
|
+
readonly name: "";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
}];
|
|
503
|
+
readonly stateMutability: "view";
|
|
460
504
|
}, {
|
|
461
505
|
readonly type: "event";
|
|
462
506
|
readonly name: "OwnershipTransferred";
|