@gearbox-protocol/sdk 11.12.2 → 11.12.3
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/IWithdrawalCompressorV310.js +1 -132
- package/dist/cjs/sdk/accounts/AbstractCreditAccountsService.js +3 -2
- package/dist/esm/abi/IWithdrawalCompressorV310.js +1 -132
- package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +3 -2
- package/dist/types/abi/IWithdrawalCompressorV310.d.ts +1 -116
- package/dist/types/sdk/accounts/AbstractCreditAccountsService.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,28 +22,6 @@ __export(IWithdrawalCompressorV310_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(IWithdrawalCompressorV310_exports);
|
|
24
24
|
const iWithdrawalCompressorV310Abi = [
|
|
25
|
-
{
|
|
26
|
-
type: "constructor",
|
|
27
|
-
inputs: [
|
|
28
|
-
{ name: "_owner", internalType: "address", type: "address" },
|
|
29
|
-
{ name: "addressProvider_", internalType: "address", type: "address" }
|
|
30
|
-
],
|
|
31
|
-
stateMutability: "nonpayable"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
type: "function",
|
|
35
|
-
inputs: [],
|
|
36
|
-
name: "addressProvider",
|
|
37
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
38
|
-
stateMutability: "view"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
type: "function",
|
|
42
|
-
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
43
|
-
name: "compressorTypeToCompressor",
|
|
44
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
45
|
-
stateMutability: "view"
|
|
46
|
-
},
|
|
47
25
|
{
|
|
48
26
|
type: "function",
|
|
49
27
|
inputs: [],
|
|
@@ -161,7 +139,7 @@ const iWithdrawalCompressorV310Abi = [
|
|
|
161
139
|
name: "getWithdrawalRequestResult",
|
|
162
140
|
outputs: [
|
|
163
141
|
{
|
|
164
|
-
name: "
|
|
142
|
+
name: "",
|
|
165
143
|
internalType: "struct RequestableWithdrawal",
|
|
166
144
|
type: "tuple",
|
|
167
145
|
components: [
|
|
@@ -192,121 +170,12 @@ const iWithdrawalCompressorV310Abi = [
|
|
|
192
170
|
],
|
|
193
171
|
stateMutability: "view"
|
|
194
172
|
},
|
|
195
|
-
// TODO: REMOVE COMMENTS AFTER MIGRATION TO MULTIPLE
|
|
196
|
-
// {
|
|
197
|
-
// type: "function",
|
|
198
|
-
// inputs: [
|
|
199
|
-
// { name: "creditAccount", internalType: "address", type: "address" },
|
|
200
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
201
|
-
// { name: "withdrawalToken", internalType: "address", type: "address" },
|
|
202
|
-
// { name: "amount", internalType: "uint256", type: "uint256" },
|
|
203
|
-
// ],
|
|
204
|
-
// name: "getWithdrawalRequestResult",
|
|
205
|
-
// outputs: [
|
|
206
|
-
// {
|
|
207
|
-
// name: "withdrawal",
|
|
208
|
-
// internalType: "struct RequestableWithdrawal",
|
|
209
|
-
// type: "tuple",
|
|
210
|
-
// components: [
|
|
211
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
212
|
-
// { name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
213
|
-
// {
|
|
214
|
-
// name: "outputs",
|
|
215
|
-
// internalType: "struct WithdrawalOutput[]",
|
|
216
|
-
// type: "tuple[]",
|
|
217
|
-
// components: [
|
|
218
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
219
|
-
// { name: "isDelayed", internalType: "bool", type: "bool" },
|
|
220
|
-
// { name: "amount", internalType: "uint256", type: "uint256" },
|
|
221
|
-
// ],
|
|
222
|
-
// },
|
|
223
|
-
// {
|
|
224
|
-
// name: "requestCalls",
|
|
225
|
-
// internalType: "struct MultiCall[]",
|
|
226
|
-
// type: "tuple[]",
|
|
227
|
-
// components: [
|
|
228
|
-
// { name: "target", internalType: "address", type: "address" },
|
|
229
|
-
// { name: "callData", internalType: "bytes", type: "bytes" },
|
|
230
|
-
// ],
|
|
231
|
-
// },
|
|
232
|
-
// { name: "claimableAt", internalType: "uint256", type: "uint256" },
|
|
233
|
-
// ],
|
|
234
|
-
// },
|
|
235
|
-
// ],
|
|
236
|
-
// stateMutability: "view",
|
|
237
|
-
// },
|
|
238
|
-
{
|
|
239
|
-
type: "function",
|
|
240
|
-
inputs: [],
|
|
241
|
-
name: "owner",
|
|
242
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
243
|
-
stateMutability: "view"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
type: "function",
|
|
247
|
-
inputs: [],
|
|
248
|
-
name: "renounceOwnership",
|
|
249
|
-
outputs: [],
|
|
250
|
-
stateMutability: "nonpayable"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
type: "function",
|
|
254
|
-
inputs: [
|
|
255
|
-
{ name: "subcompressor", internalType: "address", type: "address" }
|
|
256
|
-
],
|
|
257
|
-
name: "setSubcompressor",
|
|
258
|
-
outputs: [],
|
|
259
|
-
stateMutability: "nonpayable"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
type: "function",
|
|
263
|
-
inputs: [
|
|
264
|
-
{ name: "withdrawableType", internalType: "bytes32", type: "bytes32" },
|
|
265
|
-
{ name: "compressorType", internalType: "bytes32", type: "bytes32" }
|
|
266
|
-
],
|
|
267
|
-
name: "setWithdrawableTypeToCompressorType",
|
|
268
|
-
outputs: [],
|
|
269
|
-
stateMutability: "nonpayable"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
type: "function",
|
|
273
|
-
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
274
|
-
name: "transferOwnership",
|
|
275
|
-
outputs: [],
|
|
276
|
-
stateMutability: "nonpayable"
|
|
277
|
-
},
|
|
278
173
|
{
|
|
279
174
|
type: "function",
|
|
280
175
|
inputs: [],
|
|
281
176
|
name: "version",
|
|
282
177
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
283
178
|
stateMutability: "view"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
type: "function",
|
|
287
|
-
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
288
|
-
name: "withdrawableTypeToCompressorType",
|
|
289
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
290
|
-
stateMutability: "view"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
type: "event",
|
|
294
|
-
anonymous: false,
|
|
295
|
-
inputs: [
|
|
296
|
-
{
|
|
297
|
-
name: "previousOwner",
|
|
298
|
-
internalType: "address",
|
|
299
|
-
type: "address",
|
|
300
|
-
indexed: true
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
name: "newOwner",
|
|
304
|
-
internalType: "address",
|
|
305
|
-
type: "address",
|
|
306
|
-
indexed: true
|
|
307
|
-
}
|
|
308
|
-
],
|
|
309
|
-
name: "OwnershipTransferred"
|
|
310
179
|
}
|
|
311
180
|
];
|
|
312
181
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -36,8 +36,9 @@ var import_router = require("../router/index.js");
|
|
|
36
36
|
var import_sdk_legacy = require("../sdk-legacy/index.js");
|
|
37
37
|
var import_utils = require("../utils/index.js");
|
|
38
38
|
var import_viem2 = require("../utils/viem/index.js");
|
|
39
|
-
function getWithdrawalCompressorAddress(
|
|
40
|
-
|
|
39
|
+
function getWithdrawalCompressorAddress(chainId) {
|
|
40
|
+
const compressor = chainId === 1 ? "0xfB79b6713fe214B8748ED7b0db1f93E4f1aC9d29" : void 0;
|
|
41
|
+
return compressor;
|
|
41
42
|
}
|
|
42
43
|
class AbstractCreditAccountService extends import_base.SDKConstruct {
|
|
43
44
|
#compressor;
|
|
@@ -1,26 +1,4 @@
|
|
|
1
1
|
const iWithdrawalCompressorV310Abi = [
|
|
2
|
-
{
|
|
3
|
-
type: "constructor",
|
|
4
|
-
inputs: [
|
|
5
|
-
{ name: "_owner", internalType: "address", type: "address" },
|
|
6
|
-
{ name: "addressProvider_", internalType: "address", type: "address" }
|
|
7
|
-
],
|
|
8
|
-
stateMutability: "nonpayable"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
type: "function",
|
|
12
|
-
inputs: [],
|
|
13
|
-
name: "addressProvider",
|
|
14
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15
|
-
stateMutability: "view"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
type: "function",
|
|
19
|
-
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
20
|
-
name: "compressorTypeToCompressor",
|
|
21
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
22
|
-
stateMutability: "view"
|
|
23
|
-
},
|
|
24
2
|
{
|
|
25
3
|
type: "function",
|
|
26
4
|
inputs: [],
|
|
@@ -138,7 +116,7 @@ const iWithdrawalCompressorV310Abi = [
|
|
|
138
116
|
name: "getWithdrawalRequestResult",
|
|
139
117
|
outputs: [
|
|
140
118
|
{
|
|
141
|
-
name: "
|
|
119
|
+
name: "",
|
|
142
120
|
internalType: "struct RequestableWithdrawal",
|
|
143
121
|
type: "tuple",
|
|
144
122
|
components: [
|
|
@@ -169,121 +147,12 @@ const iWithdrawalCompressorV310Abi = [
|
|
|
169
147
|
],
|
|
170
148
|
stateMutability: "view"
|
|
171
149
|
},
|
|
172
|
-
// TODO: REMOVE COMMENTS AFTER MIGRATION TO MULTIPLE
|
|
173
|
-
// {
|
|
174
|
-
// type: "function",
|
|
175
|
-
// inputs: [
|
|
176
|
-
// { name: "creditAccount", internalType: "address", type: "address" },
|
|
177
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
178
|
-
// { name: "withdrawalToken", internalType: "address", type: "address" },
|
|
179
|
-
// { name: "amount", internalType: "uint256", type: "uint256" },
|
|
180
|
-
// ],
|
|
181
|
-
// name: "getWithdrawalRequestResult",
|
|
182
|
-
// outputs: [
|
|
183
|
-
// {
|
|
184
|
-
// name: "withdrawal",
|
|
185
|
-
// internalType: "struct RequestableWithdrawal",
|
|
186
|
-
// type: "tuple",
|
|
187
|
-
// components: [
|
|
188
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
189
|
-
// { name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
190
|
-
// {
|
|
191
|
-
// name: "outputs",
|
|
192
|
-
// internalType: "struct WithdrawalOutput[]",
|
|
193
|
-
// type: "tuple[]",
|
|
194
|
-
// components: [
|
|
195
|
-
// { name: "token", internalType: "address", type: "address" },
|
|
196
|
-
// { name: "isDelayed", internalType: "bool", type: "bool" },
|
|
197
|
-
// { name: "amount", internalType: "uint256", type: "uint256" },
|
|
198
|
-
// ],
|
|
199
|
-
// },
|
|
200
|
-
// {
|
|
201
|
-
// name: "requestCalls",
|
|
202
|
-
// internalType: "struct MultiCall[]",
|
|
203
|
-
// type: "tuple[]",
|
|
204
|
-
// components: [
|
|
205
|
-
// { name: "target", internalType: "address", type: "address" },
|
|
206
|
-
// { name: "callData", internalType: "bytes", type: "bytes" },
|
|
207
|
-
// ],
|
|
208
|
-
// },
|
|
209
|
-
// { name: "claimableAt", internalType: "uint256", type: "uint256" },
|
|
210
|
-
// ],
|
|
211
|
-
// },
|
|
212
|
-
// ],
|
|
213
|
-
// stateMutability: "view",
|
|
214
|
-
// },
|
|
215
|
-
{
|
|
216
|
-
type: "function",
|
|
217
|
-
inputs: [],
|
|
218
|
-
name: "owner",
|
|
219
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
220
|
-
stateMutability: "view"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
type: "function",
|
|
224
|
-
inputs: [],
|
|
225
|
-
name: "renounceOwnership",
|
|
226
|
-
outputs: [],
|
|
227
|
-
stateMutability: "nonpayable"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
type: "function",
|
|
231
|
-
inputs: [
|
|
232
|
-
{ name: "subcompressor", internalType: "address", type: "address" }
|
|
233
|
-
],
|
|
234
|
-
name: "setSubcompressor",
|
|
235
|
-
outputs: [],
|
|
236
|
-
stateMutability: "nonpayable"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
type: "function",
|
|
240
|
-
inputs: [
|
|
241
|
-
{ name: "withdrawableType", internalType: "bytes32", type: "bytes32" },
|
|
242
|
-
{ name: "compressorType", internalType: "bytes32", type: "bytes32" }
|
|
243
|
-
],
|
|
244
|
-
name: "setWithdrawableTypeToCompressorType",
|
|
245
|
-
outputs: [],
|
|
246
|
-
stateMutability: "nonpayable"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
type: "function",
|
|
250
|
-
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
251
|
-
name: "transferOwnership",
|
|
252
|
-
outputs: [],
|
|
253
|
-
stateMutability: "nonpayable"
|
|
254
|
-
},
|
|
255
150
|
{
|
|
256
151
|
type: "function",
|
|
257
152
|
inputs: [],
|
|
258
153
|
name: "version",
|
|
259
154
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
260
155
|
stateMutability: "view"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
type: "function",
|
|
264
|
-
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
265
|
-
name: "withdrawableTypeToCompressorType",
|
|
266
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
267
|
-
stateMutability: "view"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
type: "event",
|
|
271
|
-
anonymous: false,
|
|
272
|
-
inputs: [
|
|
273
|
-
{
|
|
274
|
-
name: "previousOwner",
|
|
275
|
-
internalType: "address",
|
|
276
|
-
type: "address",
|
|
277
|
-
indexed: true
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
name: "newOwner",
|
|
281
|
-
internalType: "address",
|
|
282
|
-
type: "address",
|
|
283
|
-
indexed: true
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
name: "OwnershipTransferred"
|
|
287
156
|
}
|
|
288
157
|
];
|
|
289
158
|
export {
|
|
@@ -26,8 +26,9 @@ import { assetsMap } from "../router/index.js";
|
|
|
26
26
|
import { BigIntMath } from "../sdk-legacy/index.js";
|
|
27
27
|
import { AddressMap, childLogger } from "../utils/index.js";
|
|
28
28
|
import { simulateWithPriceUpdates } from "../utils/viem/index.js";
|
|
29
|
-
function getWithdrawalCompressorAddress(
|
|
30
|
-
|
|
29
|
+
function getWithdrawalCompressorAddress(chainId) {
|
|
30
|
+
const compressor = chainId === 1 ? "0xfB79b6713fe214B8748ED7b0db1f93E4f1aC9d29" : void 0;
|
|
31
|
+
return compressor;
|
|
31
32
|
}
|
|
32
33
|
class AbstractCreditAccountService extends SDKConstruct {
|
|
33
34
|
#compressor;
|
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
export declare const iWithdrawalCompressorV310Abi: readonly [{
|
|
2
|
-
readonly type: "constructor";
|
|
3
|
-
readonly inputs: readonly [{
|
|
4
|
-
readonly name: "_owner";
|
|
5
|
-
readonly internalType: "address";
|
|
6
|
-
readonly type: "address";
|
|
7
|
-
}, {
|
|
8
|
-
readonly name: "addressProvider_";
|
|
9
|
-
readonly internalType: "address";
|
|
10
|
-
readonly type: "address";
|
|
11
|
-
}];
|
|
12
|
-
readonly stateMutability: "nonpayable";
|
|
13
|
-
}, {
|
|
14
|
-
readonly type: "function";
|
|
15
|
-
readonly inputs: readonly [];
|
|
16
|
-
readonly name: "addressProvider";
|
|
17
|
-
readonly outputs: readonly [{
|
|
18
|
-
readonly name: "";
|
|
19
|
-
readonly internalType: "address";
|
|
20
|
-
readonly type: "address";
|
|
21
|
-
}];
|
|
22
|
-
readonly stateMutability: "view";
|
|
23
|
-
}, {
|
|
24
|
-
readonly type: "function";
|
|
25
|
-
readonly inputs: readonly [{
|
|
26
|
-
readonly name: "";
|
|
27
|
-
readonly internalType: "bytes32";
|
|
28
|
-
readonly type: "bytes32";
|
|
29
|
-
}];
|
|
30
|
-
readonly name: "compressorTypeToCompressor";
|
|
31
|
-
readonly outputs: readonly [{
|
|
32
|
-
readonly name: "";
|
|
33
|
-
readonly internalType: "address";
|
|
34
|
-
readonly type: "address";
|
|
35
|
-
}];
|
|
36
|
-
readonly stateMutability: "view";
|
|
37
|
-
}, {
|
|
38
2
|
readonly type: "function";
|
|
39
3
|
readonly inputs: readonly [];
|
|
40
4
|
readonly name: "contractType";
|
|
@@ -183,7 +147,7 @@ export declare const iWithdrawalCompressorV310Abi: readonly [{
|
|
|
183
147
|
}];
|
|
184
148
|
readonly name: "getWithdrawalRequestResult";
|
|
185
149
|
readonly outputs: readonly [{
|
|
186
|
-
readonly name: "
|
|
150
|
+
readonly name: "";
|
|
187
151
|
readonly internalType: "struct RequestableWithdrawal";
|
|
188
152
|
readonly type: "tuple";
|
|
189
153
|
readonly components: readonly [{
|
|
@@ -231,56 +195,6 @@ export declare const iWithdrawalCompressorV310Abi: readonly [{
|
|
|
231
195
|
}];
|
|
232
196
|
}];
|
|
233
197
|
readonly stateMutability: "view";
|
|
234
|
-
}, {
|
|
235
|
-
readonly type: "function";
|
|
236
|
-
readonly inputs: readonly [];
|
|
237
|
-
readonly name: "owner";
|
|
238
|
-
readonly outputs: readonly [{
|
|
239
|
-
readonly name: "";
|
|
240
|
-
readonly internalType: "address";
|
|
241
|
-
readonly type: "address";
|
|
242
|
-
}];
|
|
243
|
-
readonly stateMutability: "view";
|
|
244
|
-
}, {
|
|
245
|
-
readonly type: "function";
|
|
246
|
-
readonly inputs: readonly [];
|
|
247
|
-
readonly name: "renounceOwnership";
|
|
248
|
-
readonly outputs: readonly [];
|
|
249
|
-
readonly stateMutability: "nonpayable";
|
|
250
|
-
}, {
|
|
251
|
-
readonly type: "function";
|
|
252
|
-
readonly inputs: readonly [{
|
|
253
|
-
readonly name: "subcompressor";
|
|
254
|
-
readonly internalType: "address";
|
|
255
|
-
readonly type: "address";
|
|
256
|
-
}];
|
|
257
|
-
readonly name: "setSubcompressor";
|
|
258
|
-
readonly outputs: readonly [];
|
|
259
|
-
readonly stateMutability: "nonpayable";
|
|
260
|
-
}, {
|
|
261
|
-
readonly type: "function";
|
|
262
|
-
readonly inputs: readonly [{
|
|
263
|
-
readonly name: "withdrawableType";
|
|
264
|
-
readonly internalType: "bytes32";
|
|
265
|
-
readonly type: "bytes32";
|
|
266
|
-
}, {
|
|
267
|
-
readonly name: "compressorType";
|
|
268
|
-
readonly internalType: "bytes32";
|
|
269
|
-
readonly type: "bytes32";
|
|
270
|
-
}];
|
|
271
|
-
readonly name: "setWithdrawableTypeToCompressorType";
|
|
272
|
-
readonly outputs: readonly [];
|
|
273
|
-
readonly stateMutability: "nonpayable";
|
|
274
|
-
}, {
|
|
275
|
-
readonly type: "function";
|
|
276
|
-
readonly inputs: readonly [{
|
|
277
|
-
readonly name: "newOwner";
|
|
278
|
-
readonly internalType: "address";
|
|
279
|
-
readonly type: "address";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "transferOwnership";
|
|
282
|
-
readonly outputs: readonly [];
|
|
283
|
-
readonly stateMutability: "nonpayable";
|
|
284
198
|
}, {
|
|
285
199
|
readonly type: "function";
|
|
286
200
|
readonly inputs: readonly [];
|
|
@@ -291,33 +205,4 @@ export declare const iWithdrawalCompressorV310Abi: readonly [{
|
|
|
291
205
|
readonly type: "uint256";
|
|
292
206
|
}];
|
|
293
207
|
readonly stateMutability: "view";
|
|
294
|
-
}, {
|
|
295
|
-
readonly type: "function";
|
|
296
|
-
readonly inputs: readonly [{
|
|
297
|
-
readonly name: "";
|
|
298
|
-
readonly internalType: "bytes32";
|
|
299
|
-
readonly type: "bytes32";
|
|
300
|
-
}];
|
|
301
|
-
readonly name: "withdrawableTypeToCompressorType";
|
|
302
|
-
readonly outputs: readonly [{
|
|
303
|
-
readonly name: "";
|
|
304
|
-
readonly internalType: "bytes32";
|
|
305
|
-
readonly type: "bytes32";
|
|
306
|
-
}];
|
|
307
|
-
readonly stateMutability: "view";
|
|
308
|
-
}, {
|
|
309
|
-
readonly type: "event";
|
|
310
|
-
readonly anonymous: false;
|
|
311
|
-
readonly inputs: readonly [{
|
|
312
|
-
readonly name: "previousOwner";
|
|
313
|
-
readonly internalType: "address";
|
|
314
|
-
readonly type: "address";
|
|
315
|
-
readonly indexed: true;
|
|
316
|
-
}, {
|
|
317
|
-
readonly name: "newOwner";
|
|
318
|
-
readonly internalType: "address";
|
|
319
|
-
readonly type: "address";
|
|
320
|
-
readonly indexed: true;
|
|
321
|
-
}];
|
|
322
|
-
readonly name: "OwnershipTransferred";
|
|
323
208
|
}];
|
|
@@ -9,7 +9,7 @@ import type { AccountToCheck, AddCollateralProps, ChangeDeptProps, ClaimDelayedP
|
|
|
9
9
|
export interface CreditAccountServiceOptions {
|
|
10
10
|
batchSize?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare function getWithdrawalCompressorAddress(
|
|
12
|
+
export declare function getWithdrawalCompressorAddress(chainId: number): "0xfB79b6713fe214B8748ED7b0db1f93E4f1aC9d29" | undefined;
|
|
13
13
|
export declare abstract class AbstractCreditAccountService extends SDKConstruct {
|
|
14
14
|
#private;
|
|
15
15
|
constructor(sdk: GearboxSDK, options?: CreditAccountServiceOptions);
|