@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2
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/AGENTS.md +28 -18
- package/abis.json +23476 -12295
- package/dist/contracts/Addys.d.ts +124 -0
- package/dist/contracts/Addys.d.ts.map +1 -0
- package/dist/contracts/Addys.js +134 -0
- package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +892 -97
- package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +139 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
- package/dist/contracts/AgentWrapper.d.ts +164 -6
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +219 -6
- package/dist/contracts/ChequeBook.d.ts +360 -204
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +507 -298
- package/dist/contracts/DefaultsLocal.d.ts +320 -0
- package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
- package/dist/contracts/DefaultsLocal.js +350 -0
- package/dist/contracts/ERC20.d.ts +552 -27
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +713 -66
- package/dist/contracts/EarnVault.d.ts +284 -255
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +488 -456
- package/dist/contracts/EarnVaultAgent.d.ts +127 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +139 -0
- package/dist/contracts/EarnVaultWallet.d.ts +777 -0
- package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
- package/dist/contracts/EarnVaultWallet.js +987 -0
- package/dist/contracts/Erc20Token.d.ts +813 -0
- package/dist/contracts/Erc20Token.d.ts.map +1 -0
- package/dist/contracts/Erc20Token.js +1006 -0
- package/dist/contracts/HighCommand.d.ts +40 -0
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +45 -0
- package/dist/contracts/Kernel.d.ts +4 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +4 -0
- package/dist/contracts/Ledger.d.ts +4 -75
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +4 -99
- package/dist/contracts/LevgVault.d.ts +299 -299
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +530 -530
- package/dist/contracts/LevgVaultAgent.d.ts +127 -69
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +134 -79
- package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
- package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
- package/dist/contracts/LevgVaultWallet.js +1439 -0
- package/dist/contracts/LocalGov.d.ts +427 -0
- package/dist/contracts/LocalGov.d.ts.map +1 -0
- package/dist/contracts/LocalGov.js +507 -0
- package/dist/contracts/Migrator.d.ts +160 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +187 -0
- package/dist/contracts/Ownership.d.ts +414 -0
- package/dist/contracts/Ownership.d.ts.map +1 -0
- package/dist/contracts/Ownership.js +472 -0
- package/dist/contracts/Paymaster.d.ts +119 -322
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +118 -404
- package/dist/contracts/Sentinel.d.ts +9 -6
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +8 -4
- package/dist/contracts/UndyToken.d.ts +821 -0
- package/dist/contracts/UndyToken.d.ts.map +1 -0
- package/dist/contracts/UndyToken.js +1017 -0
- package/dist/contracts/UserWalletConfig.d.ts +334 -317
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +391 -371
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
- package/dist/contracts/VaultErc20Token.d.ts +522 -0
- package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
- package/dist/contracts/VaultErc20Token.js +658 -0
- package/dist/contracts/index.d.ts +10 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/sdk.d.ts +20 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +20 -0
- package/package.json +1 -1
|
@@ -100,6 +100,27 @@ export declare const abi: readonly [{
|
|
|
100
100
|
}];
|
|
101
101
|
readonly anonymous: false;
|
|
102
102
|
readonly type: "event";
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: "PendingOwnershipTimeLockCancelled";
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly name: "newTimeLock";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
readonly indexed: false;
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "initiatedBlock";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "confirmBlock";
|
|
115
|
+
readonly type: "uint256";
|
|
116
|
+
readonly indexed: false;
|
|
117
|
+
}, {
|
|
118
|
+
readonly name: "cancelledBy";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
readonly indexed: true;
|
|
121
|
+
}];
|
|
122
|
+
readonly anonymous: false;
|
|
123
|
+
readonly type: "event";
|
|
103
124
|
}, {
|
|
104
125
|
readonly name: "OwnershipTimeLockSet";
|
|
105
126
|
readonly inputs: readonly [{
|
|
@@ -109,6 +130,52 @@ export declare const abi: readonly [{
|
|
|
109
130
|
}];
|
|
110
131
|
readonly anonymous: false;
|
|
111
132
|
readonly type: "event";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "PendingOwnershipTimeLockSet";
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly name: "newTimeLock";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
readonly indexed: false;
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "initiatedBlock";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly indexed: false;
|
|
143
|
+
}, {
|
|
144
|
+
readonly name: "confirmBlock";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
readonly indexed: false;
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "currentOwner";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
readonly indexed: true;
|
|
151
|
+
}];
|
|
152
|
+
readonly anonymous: false;
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "PendingOwnershipTimeLockConfirmed";
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly name: "oldTimeLock";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
}, {
|
|
161
|
+
readonly name: "newTimeLock";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
readonly indexed: false;
|
|
164
|
+
}, {
|
|
165
|
+
readonly name: "initiatedBlock";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "confirmBlock";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
readonly indexed: false;
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "confirmedBy";
|
|
174
|
+
readonly type: "address";
|
|
175
|
+
readonly indexed: true;
|
|
176
|
+
}];
|
|
177
|
+
readonly anonymous: false;
|
|
178
|
+
readonly type: "event";
|
|
112
179
|
}, {
|
|
113
180
|
readonly stateMutability: "nonpayable";
|
|
114
181
|
readonly type: "function";
|
|
@@ -148,6 +215,18 @@ export declare const abi: readonly [{
|
|
|
148
215
|
readonly type: "uint256";
|
|
149
216
|
}];
|
|
150
217
|
readonly outputs: readonly [];
|
|
218
|
+
}, {
|
|
219
|
+
readonly stateMutability: "nonpayable";
|
|
220
|
+
readonly type: "function";
|
|
221
|
+
readonly name: "confirmPendingOwnershipTimeLock";
|
|
222
|
+
readonly inputs: readonly [];
|
|
223
|
+
readonly outputs: readonly [];
|
|
224
|
+
}, {
|
|
225
|
+
readonly stateMutability: "nonpayable";
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly name: "cancelPendingOwnershipTimeLock";
|
|
228
|
+
readonly inputs: readonly [];
|
|
229
|
+
readonly outputs: readonly [];
|
|
151
230
|
}, {
|
|
152
231
|
readonly stateMutability: "view";
|
|
153
232
|
readonly type: "function";
|
|
@@ -185,6 +264,28 @@ export declare const abi: readonly [{
|
|
|
185
264
|
readonly type: "uint256";
|
|
186
265
|
}];
|
|
187
266
|
}];
|
|
267
|
+
}, {
|
|
268
|
+
readonly stateMutability: "view";
|
|
269
|
+
readonly type: "function";
|
|
270
|
+
readonly name: "pendingOwnershipTimeLock";
|
|
271
|
+
readonly inputs: readonly [];
|
|
272
|
+
readonly outputs: readonly [{
|
|
273
|
+
readonly name: "";
|
|
274
|
+
readonly type: "tuple";
|
|
275
|
+
readonly components: readonly [{
|
|
276
|
+
readonly name: "newTimeLock";
|
|
277
|
+
readonly type: "uint256";
|
|
278
|
+
}, {
|
|
279
|
+
readonly name: "initiatedBlock";
|
|
280
|
+
readonly type: "uint256";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "confirmBlock";
|
|
283
|
+
readonly type: "uint256";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "currentOwner";
|
|
286
|
+
readonly type: "address";
|
|
287
|
+
}];
|
|
288
|
+
}];
|
|
188
289
|
}, {
|
|
189
290
|
readonly stateMutability: "view";
|
|
190
291
|
readonly type: "function";
|
|
@@ -216,14 +317,66 @@ export declare const abi: readonly [{
|
|
|
216
317
|
readonly type: "bool";
|
|
217
318
|
}];
|
|
218
319
|
}, {
|
|
219
|
-
readonly stateMutability: "
|
|
320
|
+
readonly stateMutability: "nonpayable";
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "setTimeLock";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly name: "_numBlocks";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}];
|
|
327
|
+
readonly outputs: readonly [];
|
|
328
|
+
}, {
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
330
|
+
readonly type: "function";
|
|
331
|
+
readonly name: "setTimeLockViaMigrator";
|
|
332
|
+
readonly inputs: readonly [{
|
|
333
|
+
readonly name: "_numBlocks";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}];
|
|
336
|
+
readonly outputs: readonly [];
|
|
337
|
+
}, {
|
|
338
|
+
readonly stateMutability: "nonpayable";
|
|
220
339
|
readonly type: "function";
|
|
221
|
-
readonly name: "
|
|
340
|
+
readonly name: "confirmPendingTimeLock";
|
|
222
341
|
readonly inputs: readonly [];
|
|
342
|
+
readonly outputs: readonly [];
|
|
343
|
+
}, {
|
|
344
|
+
readonly stateMutability: "nonpayable";
|
|
345
|
+
readonly type: "function";
|
|
346
|
+
readonly name: "cancelPendingTimeLock";
|
|
347
|
+
readonly inputs: readonly [];
|
|
348
|
+
readonly outputs: readonly [];
|
|
349
|
+
}, {
|
|
350
|
+
readonly stateMutability: "nonpayable";
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
readonly name: "setPendingMigration";
|
|
353
|
+
readonly inputs: readonly [{
|
|
354
|
+
readonly name: "_toWallet";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
}];
|
|
223
357
|
readonly outputs: readonly [{
|
|
224
358
|
readonly name: "";
|
|
225
|
-
readonly type: "
|
|
359
|
+
readonly type: "tuple";
|
|
360
|
+
readonly components: readonly [{
|
|
361
|
+
readonly name: "toWallet";
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "initiatedBlock";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "confirmBlock";
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "currentOwner";
|
|
371
|
+
readonly type: "address";
|
|
372
|
+
}];
|
|
226
373
|
}];
|
|
374
|
+
}, {
|
|
375
|
+
readonly stateMutability: "nonpayable";
|
|
376
|
+
readonly type: "function";
|
|
377
|
+
readonly name: "clearPendingMigration";
|
|
378
|
+
readonly inputs: readonly [];
|
|
379
|
+
readonly outputs: readonly [];
|
|
227
380
|
}, {
|
|
228
381
|
readonly stateMutability: "view";
|
|
229
382
|
readonly type: "function";
|
|
@@ -1230,103 +1383,6 @@ export declare const abi: readonly [{
|
|
|
1230
1383
|
}];
|
|
1231
1384
|
}];
|
|
1232
1385
|
readonly outputs: readonly [];
|
|
1233
|
-
}, {
|
|
1234
|
-
readonly stateMutability: "nonpayable";
|
|
1235
|
-
readonly type: "function";
|
|
1236
|
-
readonly name: "addPendingPayee";
|
|
1237
|
-
readonly inputs: readonly [{
|
|
1238
|
-
readonly name: "_payee";
|
|
1239
|
-
readonly type: "address";
|
|
1240
|
-
}, {
|
|
1241
|
-
readonly name: "_pending";
|
|
1242
|
-
readonly type: "tuple";
|
|
1243
|
-
readonly components: readonly [{
|
|
1244
|
-
readonly name: "settings";
|
|
1245
|
-
readonly type: "tuple";
|
|
1246
|
-
readonly components: readonly [{
|
|
1247
|
-
readonly name: "startBlock";
|
|
1248
|
-
readonly type: "uint256";
|
|
1249
|
-
}, {
|
|
1250
|
-
readonly name: "expiryBlock";
|
|
1251
|
-
readonly type: "uint256";
|
|
1252
|
-
}, {
|
|
1253
|
-
readonly name: "canPull";
|
|
1254
|
-
readonly type: "bool";
|
|
1255
|
-
}, {
|
|
1256
|
-
readonly name: "periodLength";
|
|
1257
|
-
readonly type: "uint256";
|
|
1258
|
-
}, {
|
|
1259
|
-
readonly name: "maxNumTxsPerPeriod";
|
|
1260
|
-
readonly type: "uint256";
|
|
1261
|
-
}, {
|
|
1262
|
-
readonly name: "txCooldownBlocks";
|
|
1263
|
-
readonly type: "uint256";
|
|
1264
|
-
}, {
|
|
1265
|
-
readonly name: "failOnZeroPrice";
|
|
1266
|
-
readonly type: "bool";
|
|
1267
|
-
}, {
|
|
1268
|
-
readonly name: "primaryAsset";
|
|
1269
|
-
readonly type: "address";
|
|
1270
|
-
}, {
|
|
1271
|
-
readonly name: "onlyPrimaryAsset";
|
|
1272
|
-
readonly type: "bool";
|
|
1273
|
-
}, {
|
|
1274
|
-
readonly name: "unitLimits";
|
|
1275
|
-
readonly type: "tuple";
|
|
1276
|
-
readonly components: readonly [{
|
|
1277
|
-
readonly name: "perTxCap";
|
|
1278
|
-
readonly type: "uint256";
|
|
1279
|
-
}, {
|
|
1280
|
-
readonly name: "perPeriodCap";
|
|
1281
|
-
readonly type: "uint256";
|
|
1282
|
-
}, {
|
|
1283
|
-
readonly name: "lifetimeCap";
|
|
1284
|
-
readonly type: "uint256";
|
|
1285
|
-
}];
|
|
1286
|
-
}, {
|
|
1287
|
-
readonly name: "usdLimits";
|
|
1288
|
-
readonly type: "tuple";
|
|
1289
|
-
readonly components: readonly [{
|
|
1290
|
-
readonly name: "perTxCap";
|
|
1291
|
-
readonly type: "uint256";
|
|
1292
|
-
}, {
|
|
1293
|
-
readonly name: "perPeriodCap";
|
|
1294
|
-
readonly type: "uint256";
|
|
1295
|
-
}, {
|
|
1296
|
-
readonly name: "lifetimeCap";
|
|
1297
|
-
readonly type: "uint256";
|
|
1298
|
-
}];
|
|
1299
|
-
}];
|
|
1300
|
-
}, {
|
|
1301
|
-
readonly name: "initiatedBlock";
|
|
1302
|
-
readonly type: "uint256";
|
|
1303
|
-
}, {
|
|
1304
|
-
readonly name: "confirmBlock";
|
|
1305
|
-
readonly type: "uint256";
|
|
1306
|
-
}, {
|
|
1307
|
-
readonly name: "currentOwner";
|
|
1308
|
-
readonly type: "address";
|
|
1309
|
-
}];
|
|
1310
|
-
}];
|
|
1311
|
-
readonly outputs: readonly [];
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly stateMutability: "nonpayable";
|
|
1314
|
-
readonly type: "function";
|
|
1315
|
-
readonly name: "confirmPendingPayee";
|
|
1316
|
-
readonly inputs: readonly [{
|
|
1317
|
-
readonly name: "_payee";
|
|
1318
|
-
readonly type: "address";
|
|
1319
|
-
}];
|
|
1320
|
-
readonly outputs: readonly [];
|
|
1321
|
-
}, {
|
|
1322
|
-
readonly stateMutability: "nonpayable";
|
|
1323
|
-
readonly type: "function";
|
|
1324
|
-
readonly name: "cancelPendingPayee";
|
|
1325
|
-
readonly inputs: readonly [{
|
|
1326
|
-
readonly name: "_payee";
|
|
1327
|
-
readonly type: "address";
|
|
1328
|
-
}];
|
|
1329
|
-
readonly outputs: readonly [];
|
|
1330
1386
|
}, {
|
|
1331
1387
|
readonly stateMutability: "nonpayable";
|
|
1332
1388
|
readonly type: "function";
|
|
@@ -1480,6 +1536,64 @@ export declare const abi: readonly [{
|
|
|
1480
1536
|
}];
|
|
1481
1537
|
}];
|
|
1482
1538
|
readonly outputs: readonly [];
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly stateMutability: "nonpayable";
|
|
1541
|
+
readonly type: "function";
|
|
1542
|
+
readonly name: "setChequeSettingsViaMigrator";
|
|
1543
|
+
readonly inputs: readonly [{
|
|
1544
|
+
readonly name: "_config";
|
|
1545
|
+
readonly type: "tuple";
|
|
1546
|
+
readonly components: readonly [{
|
|
1547
|
+
readonly name: "maxNumActiveCheques";
|
|
1548
|
+
readonly type: "uint256";
|
|
1549
|
+
}, {
|
|
1550
|
+
readonly name: "maxChequeUsdValue";
|
|
1551
|
+
readonly type: "uint256";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly name: "instantUsdThreshold";
|
|
1554
|
+
readonly type: "uint256";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly name: "perPeriodPaidUsdCap";
|
|
1557
|
+
readonly type: "uint256";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly name: "maxNumChequesPaidPerPeriod";
|
|
1560
|
+
readonly type: "uint256";
|
|
1561
|
+
}, {
|
|
1562
|
+
readonly name: "payCooldownBlocks";
|
|
1563
|
+
readonly type: "uint256";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly name: "perPeriodCreatedUsdCap";
|
|
1566
|
+
readonly type: "uint256";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly name: "maxNumChequesCreatedPerPeriod";
|
|
1569
|
+
readonly type: "uint256";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly name: "createCooldownBlocks";
|
|
1572
|
+
readonly type: "uint256";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly name: "periodLength";
|
|
1575
|
+
readonly type: "uint256";
|
|
1576
|
+
}, {
|
|
1577
|
+
readonly name: "expensiveDelayBlocks";
|
|
1578
|
+
readonly type: "uint256";
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly name: "defaultExpiryBlocks";
|
|
1581
|
+
readonly type: "uint256";
|
|
1582
|
+
}, {
|
|
1583
|
+
readonly name: "allowedAssets";
|
|
1584
|
+
readonly type: "address[]";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly name: "canManagersCreateCheques";
|
|
1587
|
+
readonly type: "bool";
|
|
1588
|
+
}, {
|
|
1589
|
+
readonly name: "canManagerPay";
|
|
1590
|
+
readonly type: "bool";
|
|
1591
|
+
}, {
|
|
1592
|
+
readonly name: "canBePulled";
|
|
1593
|
+
readonly type: "bool";
|
|
1594
|
+
}];
|
|
1595
|
+
}];
|
|
1596
|
+
readonly outputs: readonly [];
|
|
1483
1597
|
}, {
|
|
1484
1598
|
readonly stateMutability: "nonpayable";
|
|
1485
1599
|
readonly type: "function";
|
|
@@ -2155,85 +2269,6 @@ export declare const abi: readonly [{
|
|
|
2155
2269
|
readonly name: "";
|
|
2156
2270
|
readonly type: "uint256";
|
|
2157
2271
|
}];
|
|
2158
|
-
}, {
|
|
2159
|
-
readonly stateMutability: "view";
|
|
2160
|
-
readonly type: "function";
|
|
2161
|
-
readonly name: "pendingPayees";
|
|
2162
|
-
readonly inputs: readonly [{
|
|
2163
|
-
readonly name: "arg0";
|
|
2164
|
-
readonly type: "address";
|
|
2165
|
-
}];
|
|
2166
|
-
readonly outputs: readonly [{
|
|
2167
|
-
readonly name: "";
|
|
2168
|
-
readonly type: "tuple";
|
|
2169
|
-
readonly components: readonly [{
|
|
2170
|
-
readonly name: "settings";
|
|
2171
|
-
readonly type: "tuple";
|
|
2172
|
-
readonly components: readonly [{
|
|
2173
|
-
readonly name: "startBlock";
|
|
2174
|
-
readonly type: "uint256";
|
|
2175
|
-
}, {
|
|
2176
|
-
readonly name: "expiryBlock";
|
|
2177
|
-
readonly type: "uint256";
|
|
2178
|
-
}, {
|
|
2179
|
-
readonly name: "canPull";
|
|
2180
|
-
readonly type: "bool";
|
|
2181
|
-
}, {
|
|
2182
|
-
readonly name: "periodLength";
|
|
2183
|
-
readonly type: "uint256";
|
|
2184
|
-
}, {
|
|
2185
|
-
readonly name: "maxNumTxsPerPeriod";
|
|
2186
|
-
readonly type: "uint256";
|
|
2187
|
-
}, {
|
|
2188
|
-
readonly name: "txCooldownBlocks";
|
|
2189
|
-
readonly type: "uint256";
|
|
2190
|
-
}, {
|
|
2191
|
-
readonly name: "failOnZeroPrice";
|
|
2192
|
-
readonly type: "bool";
|
|
2193
|
-
}, {
|
|
2194
|
-
readonly name: "primaryAsset";
|
|
2195
|
-
readonly type: "address";
|
|
2196
|
-
}, {
|
|
2197
|
-
readonly name: "onlyPrimaryAsset";
|
|
2198
|
-
readonly type: "bool";
|
|
2199
|
-
}, {
|
|
2200
|
-
readonly name: "unitLimits";
|
|
2201
|
-
readonly type: "tuple";
|
|
2202
|
-
readonly components: readonly [{
|
|
2203
|
-
readonly name: "perTxCap";
|
|
2204
|
-
readonly type: "uint256";
|
|
2205
|
-
}, {
|
|
2206
|
-
readonly name: "perPeriodCap";
|
|
2207
|
-
readonly type: "uint256";
|
|
2208
|
-
}, {
|
|
2209
|
-
readonly name: "lifetimeCap";
|
|
2210
|
-
readonly type: "uint256";
|
|
2211
|
-
}];
|
|
2212
|
-
}, {
|
|
2213
|
-
readonly name: "usdLimits";
|
|
2214
|
-
readonly type: "tuple";
|
|
2215
|
-
readonly components: readonly [{
|
|
2216
|
-
readonly name: "perTxCap";
|
|
2217
|
-
readonly type: "uint256";
|
|
2218
|
-
}, {
|
|
2219
|
-
readonly name: "perPeriodCap";
|
|
2220
|
-
readonly type: "uint256";
|
|
2221
|
-
}, {
|
|
2222
|
-
readonly name: "lifetimeCap";
|
|
2223
|
-
readonly type: "uint256";
|
|
2224
|
-
}];
|
|
2225
|
-
}];
|
|
2226
|
-
}, {
|
|
2227
|
-
readonly name: "initiatedBlock";
|
|
2228
|
-
readonly type: "uint256";
|
|
2229
|
-
}, {
|
|
2230
|
-
readonly name: "confirmBlock";
|
|
2231
|
-
readonly type: "uint256";
|
|
2232
|
-
}, {
|
|
2233
|
-
readonly name: "currentOwner";
|
|
2234
|
-
readonly type: "address";
|
|
2235
|
-
}];
|
|
2236
|
-
}];
|
|
2237
2272
|
}, {
|
|
2238
2273
|
readonly stateMutability: "view";
|
|
2239
2274
|
readonly type: "function";
|
|
@@ -2621,16 +2656,51 @@ export declare const abi: readonly [{
|
|
|
2621
2656
|
}, {
|
|
2622
2657
|
readonly stateMutability: "view";
|
|
2623
2658
|
readonly type: "function";
|
|
2624
|
-
readonly name: "
|
|
2659
|
+
readonly name: "pendingTimeLock";
|
|
2625
2660
|
readonly inputs: readonly [];
|
|
2626
2661
|
readonly outputs: readonly [{
|
|
2627
2662
|
readonly name: "";
|
|
2628
|
-
readonly type: "
|
|
2663
|
+
readonly type: "tuple";
|
|
2664
|
+
readonly components: readonly [{
|
|
2665
|
+
readonly name: "newTimeLock";
|
|
2666
|
+
readonly type: "uint256";
|
|
2667
|
+
}, {
|
|
2668
|
+
readonly name: "initiatedBlock";
|
|
2669
|
+
readonly type: "uint256";
|
|
2670
|
+
}, {
|
|
2671
|
+
readonly name: "confirmBlock";
|
|
2672
|
+
readonly type: "uint256";
|
|
2673
|
+
}, {
|
|
2674
|
+
readonly name: "currentOwner";
|
|
2675
|
+
readonly type: "address";
|
|
2676
|
+
}];
|
|
2629
2677
|
}];
|
|
2630
2678
|
}, {
|
|
2631
2679
|
readonly stateMutability: "view";
|
|
2632
2680
|
readonly type: "function";
|
|
2633
|
-
readonly name: "
|
|
2681
|
+
readonly name: "pendingMigration";
|
|
2682
|
+
readonly inputs: readonly [];
|
|
2683
|
+
readonly outputs: readonly [{
|
|
2684
|
+
readonly name: "";
|
|
2685
|
+
readonly type: "tuple";
|
|
2686
|
+
readonly components: readonly [{
|
|
2687
|
+
readonly name: "toWallet";
|
|
2688
|
+
readonly type: "address";
|
|
2689
|
+
}, {
|
|
2690
|
+
readonly name: "initiatedBlock";
|
|
2691
|
+
readonly type: "uint256";
|
|
2692
|
+
}, {
|
|
2693
|
+
readonly name: "confirmBlock";
|
|
2694
|
+
readonly type: "uint256";
|
|
2695
|
+
}, {
|
|
2696
|
+
readonly name: "currentOwner";
|
|
2697
|
+
readonly type: "address";
|
|
2698
|
+
}];
|
|
2699
|
+
}];
|
|
2700
|
+
}, {
|
|
2701
|
+
readonly stateMutability: "view";
|
|
2702
|
+
readonly type: "function";
|
|
2703
|
+
readonly name: "isFrozen";
|
|
2634
2704
|
readonly inputs: readonly [];
|
|
2635
2705
|
readonly outputs: readonly [{
|
|
2636
2706
|
readonly name: "";
|
|
@@ -2639,29 +2709,29 @@ export declare const abi: readonly [{
|
|
|
2639
2709
|
}, {
|
|
2640
2710
|
readonly stateMutability: "view";
|
|
2641
2711
|
readonly type: "function";
|
|
2642
|
-
readonly name: "
|
|
2712
|
+
readonly name: "inEjectMode";
|
|
2643
2713
|
readonly inputs: readonly [];
|
|
2644
2714
|
readonly outputs: readonly [{
|
|
2645
2715
|
readonly name: "";
|
|
2646
|
-
readonly type: "
|
|
2716
|
+
readonly type: "bool";
|
|
2647
2717
|
}];
|
|
2648
2718
|
}, {
|
|
2649
2719
|
readonly stateMutability: "view";
|
|
2650
2720
|
readonly type: "function";
|
|
2651
|
-
readonly name: "
|
|
2721
|
+
readonly name: "groupId";
|
|
2652
2722
|
readonly inputs: readonly [];
|
|
2653
2723
|
readonly outputs: readonly [{
|
|
2654
2724
|
readonly name: "";
|
|
2655
|
-
readonly type: "
|
|
2725
|
+
readonly type: "uint256";
|
|
2656
2726
|
}];
|
|
2657
2727
|
}, {
|
|
2658
2728
|
readonly stateMutability: "view";
|
|
2659
2729
|
readonly type: "function";
|
|
2660
|
-
readonly name: "
|
|
2730
|
+
readonly name: "startingAgent";
|
|
2661
2731
|
readonly inputs: readonly [];
|
|
2662
2732
|
readonly outputs: readonly [{
|
|
2663
2733
|
readonly name: "";
|
|
2664
|
-
readonly type: "
|
|
2734
|
+
readonly type: "address";
|
|
2665
2735
|
}];
|
|
2666
2736
|
}, {
|
|
2667
2737
|
readonly stateMutability: "view";
|
|
@@ -3067,58 +3137,6 @@ export declare const abi: readonly [{
|
|
|
3067
3137
|
readonly type: "uint256";
|
|
3068
3138
|
}];
|
|
3069
3139
|
readonly outputs: readonly [];
|
|
3070
|
-
}, {
|
|
3071
|
-
readonly stateMutability: "nonpayable";
|
|
3072
|
-
readonly type: "function";
|
|
3073
|
-
readonly name: "setTimeLock";
|
|
3074
|
-
readonly inputs: readonly [{
|
|
3075
|
-
readonly name: "_numBlocks";
|
|
3076
|
-
readonly type: "uint256";
|
|
3077
|
-
}];
|
|
3078
|
-
readonly outputs: readonly [];
|
|
3079
|
-
}, {
|
|
3080
|
-
readonly stateMutability: "nonpayable";
|
|
3081
|
-
readonly type: "function";
|
|
3082
|
-
readonly name: "setTimeLockViaMigrator";
|
|
3083
|
-
readonly inputs: readonly [{
|
|
3084
|
-
readonly name: "_numBlocks";
|
|
3085
|
-
readonly type: "uint256";
|
|
3086
|
-
}];
|
|
3087
|
-
readonly outputs: readonly [];
|
|
3088
|
-
}, {
|
|
3089
|
-
readonly stateMutability: "nonpayable";
|
|
3090
|
-
readonly type: "function";
|
|
3091
|
-
readonly name: "confirmPendingTimeLock";
|
|
3092
|
-
readonly inputs: readonly [];
|
|
3093
|
-
readonly outputs: readonly [];
|
|
3094
|
-
}, {
|
|
3095
|
-
readonly stateMutability: "nonpayable";
|
|
3096
|
-
readonly type: "function";
|
|
3097
|
-
readonly name: "cancelPendingTimeLock";
|
|
3098
|
-
readonly inputs: readonly [];
|
|
3099
|
-
readonly outputs: readonly [];
|
|
3100
|
-
}, {
|
|
3101
|
-
readonly stateMutability: "view";
|
|
3102
|
-
readonly type: "function";
|
|
3103
|
-
readonly name: "pendingTimeLock";
|
|
3104
|
-
readonly inputs: readonly [];
|
|
3105
|
-
readonly outputs: readonly [{
|
|
3106
|
-
readonly name: "";
|
|
3107
|
-
readonly type: "tuple";
|
|
3108
|
-
readonly components: readonly [{
|
|
3109
|
-
readonly name: "newTimeLock";
|
|
3110
|
-
readonly type: "uint256";
|
|
3111
|
-
}, {
|
|
3112
|
-
readonly name: "initiatedBlock";
|
|
3113
|
-
readonly type: "uint256";
|
|
3114
|
-
}, {
|
|
3115
|
-
readonly name: "confirmBlock";
|
|
3116
|
-
readonly type: "uint256";
|
|
3117
|
-
}, {
|
|
3118
|
-
readonly name: "currentOwner";
|
|
3119
|
-
readonly type: "address";
|
|
3120
|
-
}];
|
|
3121
|
-
}];
|
|
3122
3140
|
}];
|
|
3123
3141
|
export declare const deployAddress: Address | undefined;
|
|
3124
3142
|
export type Contract = {
|
|
@@ -3131,9 +3149,14 @@ export type Contract = {
|
|
|
3131
3149
|
initiatedBlock: bigint;
|
|
3132
3150
|
confirmBlock: bigint;
|
|
3133
3151
|
}>;
|
|
3152
|
+
pendingOwnershipTimeLock: () => Promise<{
|
|
3153
|
+
newTimeLock: bigint;
|
|
3154
|
+
initiatedBlock: bigint;
|
|
3155
|
+
confirmBlock: bigint;
|
|
3156
|
+
currentOwner: `0x${string}`;
|
|
3157
|
+
}>;
|
|
3134
3158
|
MIN_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
3135
3159
|
MAX_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
3136
|
-
apiVersion: () => Promise<string>;
|
|
3137
3160
|
checkSignerPermissionsAndGetBundle: (signer: `0x${string}`, action: bigint, assets?: `0x${string}`[], legoIds?: bigint[], transferRecipient?: `0x${string}`) => Promise<{
|
|
3138
3161
|
ledger: `0x${string}`;
|
|
3139
3162
|
missionControl: `0x${string}`;
|
|
@@ -3272,32 +3295,6 @@ export type Contract = {
|
|
|
3272
3295
|
payees: (arg0: bigint) => Promise<`0x${string}`>;
|
|
3273
3296
|
indexOfPayee: (arg0: `0x${string}`) => Promise<bigint>;
|
|
3274
3297
|
numPayees: () => Promise<bigint>;
|
|
3275
|
-
pendingPayees: (arg0: `0x${string}`) => Promise<{
|
|
3276
|
-
settings: {
|
|
3277
|
-
startBlock: bigint;
|
|
3278
|
-
expiryBlock: bigint;
|
|
3279
|
-
canPull: boolean;
|
|
3280
|
-
periodLength: bigint;
|
|
3281
|
-
maxNumTxsPerPeriod: bigint;
|
|
3282
|
-
txCooldownBlocks: bigint;
|
|
3283
|
-
failOnZeroPrice: boolean;
|
|
3284
|
-
primaryAsset: `0x${string}`;
|
|
3285
|
-
onlyPrimaryAsset: boolean;
|
|
3286
|
-
unitLimits: {
|
|
3287
|
-
perTxCap: bigint;
|
|
3288
|
-
perPeriodCap: bigint;
|
|
3289
|
-
lifetimeCap: bigint;
|
|
3290
|
-
};
|
|
3291
|
-
usdLimits: {
|
|
3292
|
-
perTxCap: bigint;
|
|
3293
|
-
perPeriodCap: bigint;
|
|
3294
|
-
lifetimeCap: bigint;
|
|
3295
|
-
};
|
|
3296
|
-
};
|
|
3297
|
-
initiatedBlock: bigint;
|
|
3298
|
-
confirmBlock: bigint;
|
|
3299
|
-
currentOwner: `0x${string}`;
|
|
3300
|
-
}>;
|
|
3301
3298
|
whitelistAddr: (arg0: bigint) => Promise<`0x${string}`>;
|
|
3302
3299
|
indexOfWhitelist: (arg0: `0x${string}`) => Promise<bigint>;
|
|
3303
3300
|
numWhitelisted: () => Promise<bigint>;
|
|
@@ -3408,29 +3405,47 @@ export type Contract = {
|
|
|
3408
3405
|
canPull: boolean;
|
|
3409
3406
|
}>;
|
|
3410
3407
|
timeLock: () => Promise<bigint>;
|
|
3408
|
+
pendingTimeLock: () => Promise<{
|
|
3409
|
+
newTimeLock: bigint;
|
|
3410
|
+
initiatedBlock: bigint;
|
|
3411
|
+
confirmBlock: bigint;
|
|
3412
|
+
currentOwner: `0x${string}`;
|
|
3413
|
+
}>;
|
|
3414
|
+
pendingMigration: () => Promise<{
|
|
3415
|
+
toWallet: `0x${string}`;
|
|
3416
|
+
initiatedBlock: bigint;
|
|
3417
|
+
confirmBlock: bigint;
|
|
3418
|
+
currentOwner: `0x${string}`;
|
|
3419
|
+
}>;
|
|
3411
3420
|
isFrozen: () => Promise<boolean>;
|
|
3412
3421
|
inEjectMode: () => Promise<boolean>;
|
|
3413
3422
|
groupId: () => Promise<bigint>;
|
|
3414
3423
|
startingAgent: () => Promise<`0x${string}`>;
|
|
3415
|
-
didSetWallet: () => Promise<boolean>;
|
|
3416
3424
|
UNDY_HQ: () => Promise<`0x${string}`>;
|
|
3417
3425
|
WETH: () => Promise<`0x${string}`>;
|
|
3418
3426
|
ETH: () => Promise<`0x${string}`>;
|
|
3419
3427
|
MIN_TIMELOCK: () => Promise<bigint>;
|
|
3420
3428
|
MAX_TIMELOCK: () => Promise<bigint>;
|
|
3421
|
-
pendingTimeLock: () => Promise<{
|
|
3422
|
-
newTimeLock: bigint;
|
|
3423
|
-
initiatedBlock: bigint;
|
|
3424
|
-
confirmBlock: bigint;
|
|
3425
|
-
currentOwner: `0x${string}`;
|
|
3426
|
-
}>;
|
|
3427
3429
|
};
|
|
3428
3430
|
mutations: {
|
|
3429
3431
|
changeOwnership: (newOwner: `0x${string}`) => Promise<void>;
|
|
3430
3432
|
confirmOwnershipChange: () => Promise<void>;
|
|
3431
3433
|
cancelOwnershipChange: () => Promise<void>;
|
|
3432
3434
|
setOwnershipTimeLock: (numBlocks: bigint) => Promise<void>;
|
|
3435
|
+
confirmPendingOwnershipTimeLock: () => Promise<void>;
|
|
3436
|
+
cancelPendingOwnershipTimeLock: () => Promise<void>;
|
|
3433
3437
|
setWallet: (wallet: `0x${string}`) => Promise<boolean>;
|
|
3438
|
+
setTimeLock: (numBlocks: bigint) => Promise<void>;
|
|
3439
|
+
setTimeLockViaMigrator: (numBlocks: bigint) => Promise<void>;
|
|
3440
|
+
confirmPendingTimeLock: () => Promise<void>;
|
|
3441
|
+
cancelPendingTimeLock: () => Promise<void>;
|
|
3442
|
+
setPendingMigration: (toWallet: `0x${string}`) => Promise<{
|
|
3443
|
+
toWallet: `0x${string}`;
|
|
3444
|
+
initiatedBlock: bigint;
|
|
3445
|
+
confirmBlock: bigint;
|
|
3446
|
+
currentOwner: `0x${string}`;
|
|
3447
|
+
}>;
|
|
3448
|
+
clearPendingMigration: () => Promise<void>;
|
|
3434
3449
|
checkManagerLimitsPostTx: (manager: `0x${string}`, txUsdValue: bigint, underlyingAsset: `0x${string}`, vaultToken: `0x${string}`, shouldCheckSwap: boolean, fromAssetUsdValue: bigint, toAssetUsdValue: bigint, vaultRegistry: `0x${string}`) => Promise<boolean>;
|
|
3435
3450
|
checkRecipientLimitsAndUpdateData: (recipient: `0x${string}`, txUsdValue: bigint, asset: `0x${string}`, amount: bigint) => Promise<boolean>;
|
|
3436
3451
|
validateCheque: (recipient: `0x${string}`, asset: `0x${string}`, amount: bigint, txUsdValue: bigint, signer: `0x${string}`) => Promise<boolean>;
|
|
@@ -3623,34 +3638,6 @@ export type Contract = {
|
|
|
3623
3638
|
canPayOwner: boolean;
|
|
3624
3639
|
canPull: boolean;
|
|
3625
3640
|
}) => Promise<void>;
|
|
3626
|
-
addPendingPayee: (payee: `0x${string}`, pending: {
|
|
3627
|
-
settings: {
|
|
3628
|
-
startBlock: bigint;
|
|
3629
|
-
expiryBlock: bigint;
|
|
3630
|
-
canPull: boolean;
|
|
3631
|
-
periodLength: bigint;
|
|
3632
|
-
maxNumTxsPerPeriod: bigint;
|
|
3633
|
-
txCooldownBlocks: bigint;
|
|
3634
|
-
failOnZeroPrice: boolean;
|
|
3635
|
-
primaryAsset: `0x${string}`;
|
|
3636
|
-
onlyPrimaryAsset: boolean;
|
|
3637
|
-
unitLimits: {
|
|
3638
|
-
perTxCap: bigint;
|
|
3639
|
-
perPeriodCap: bigint;
|
|
3640
|
-
lifetimeCap: bigint;
|
|
3641
|
-
};
|
|
3642
|
-
usdLimits: {
|
|
3643
|
-
perTxCap: bigint;
|
|
3644
|
-
perPeriodCap: bigint;
|
|
3645
|
-
lifetimeCap: bigint;
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
initiatedBlock: bigint;
|
|
3649
|
-
confirmBlock: bigint;
|
|
3650
|
-
currentOwner: `0x${string}`;
|
|
3651
|
-
}) => Promise<void>;
|
|
3652
|
-
confirmPendingPayee: (payee: `0x${string}`) => Promise<void>;
|
|
3653
|
-
cancelPendingPayee: (payee: `0x${string}`) => Promise<void>;
|
|
3654
3641
|
createCheque: (recipient: `0x${string}`, cheque: {
|
|
3655
3642
|
recipient: `0x${string}`;
|
|
3656
3643
|
asset: `0x${string}`;
|
|
@@ -3695,6 +3682,24 @@ export type Contract = {
|
|
|
3695
3682
|
canManagerPay: boolean;
|
|
3696
3683
|
canBePulled: boolean;
|
|
3697
3684
|
}) => Promise<void>;
|
|
3685
|
+
setChequeSettingsViaMigrator: (config: {
|
|
3686
|
+
maxNumActiveCheques: bigint;
|
|
3687
|
+
maxChequeUsdValue: bigint;
|
|
3688
|
+
instantUsdThreshold: bigint;
|
|
3689
|
+
perPeriodPaidUsdCap: bigint;
|
|
3690
|
+
maxNumChequesPaidPerPeriod: bigint;
|
|
3691
|
+
payCooldownBlocks: bigint;
|
|
3692
|
+
perPeriodCreatedUsdCap: bigint;
|
|
3693
|
+
maxNumChequesCreatedPerPeriod: bigint;
|
|
3694
|
+
createCooldownBlocks: bigint;
|
|
3695
|
+
periodLength: bigint;
|
|
3696
|
+
expensiveDelayBlocks: bigint;
|
|
3697
|
+
defaultExpiryBlocks: bigint;
|
|
3698
|
+
allowedAssets: `0x${string}`[];
|
|
3699
|
+
canManagersCreateCheques: boolean;
|
|
3700
|
+
canManagerPay: boolean;
|
|
3701
|
+
canBePulled: boolean;
|
|
3702
|
+
}) => Promise<void>;
|
|
3698
3703
|
updateAssetData: (legoId: bigint, asset: `0x${string}`, shouldCheckYield: boolean) => Promise<bigint>;
|
|
3699
3704
|
updateAllAssetData: (shouldCheckYield: boolean) => Promise<bigint>;
|
|
3700
3705
|
migrateFunds: (toWallet: `0x${string}`, asset: `0x${string}`) => Promise<bigint>;
|
|
@@ -3710,10 +3715,6 @@ export type Contract = {
|
|
|
3710
3715
|
setPaymaster: (paymaster: `0x${string}`) => Promise<void>;
|
|
3711
3716
|
setChequeBook: (chequeBook: `0x${string}`) => Promise<void>;
|
|
3712
3717
|
setMigrator: (migrator: `0x${string}`) => Promise<void>;
|
|
3713
|
-
setTimeLock: (numBlocks: bigint) => Promise<void>;
|
|
3714
|
-
setTimeLockViaMigrator: (numBlocks: bigint) => Promise<void>;
|
|
3715
|
-
confirmPendingTimeLock: () => Promise<void>;
|
|
3716
|
-
cancelPendingTimeLock: () => Promise<void>;
|
|
3717
3718
|
};
|
|
3718
3719
|
events: {
|
|
3719
3720
|
EjectionModeSet: (inEjectMode: boolean) => Promise<void>;
|
|
@@ -3722,7 +3723,10 @@ export type Contract = {
|
|
|
3722
3723
|
OwnershipChangeInitiated: (prevOwner: `0x${string}`, newOwner: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
3723
3724
|
OwnershipChangeConfirmed: (prevOwner: `0x${string}`, newOwner: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
3724
3725
|
OwnershipChangeCancelled: (cancelledOwner: `0x${string}`, cancelledBy: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
3726
|
+
PendingOwnershipTimeLockCancelled: (newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, cancelledBy: `0x${string}`) => Promise<void>;
|
|
3725
3727
|
OwnershipTimeLockSet: (numBlocks: bigint) => Promise<void>;
|
|
3728
|
+
PendingOwnershipTimeLockSet: (newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, currentOwner: `0x${string}`) => Promise<void>;
|
|
3729
|
+
PendingOwnershipTimeLockConfirmed: (oldTimeLock: bigint, newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, confirmedBy: `0x${string}`) => Promise<void>;
|
|
3726
3730
|
};
|
|
3727
3731
|
};
|
|
3728
3732
|
export type Calls = keyof Contract['calls'];
|
|
@@ -3794,18 +3798,30 @@ export type SDK = {
|
|
|
3794
3798
|
topic: Address;
|
|
3795
3799
|
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'OwnershipChangeCancelled'>[];
|
|
3796
3800
|
};
|
|
3801
|
+
PendingOwnershipTimeLockCancelled: {
|
|
3802
|
+
topic: Address;
|
|
3803
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockCancelled'>[];
|
|
3804
|
+
};
|
|
3797
3805
|
OwnershipTimeLockSet: {
|
|
3798
3806
|
topic: Address;
|
|
3799
3807
|
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'OwnershipTimeLockSet'>[];
|
|
3800
3808
|
};
|
|
3809
|
+
PendingOwnershipTimeLockSet: {
|
|
3810
|
+
topic: Address;
|
|
3811
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockSet'>[];
|
|
3812
|
+
};
|
|
3813
|
+
PendingOwnershipTimeLockConfirmed: {
|
|
3814
|
+
topic: Address;
|
|
3815
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockConfirmed'>[];
|
|
3816
|
+
};
|
|
3801
3817
|
};
|
|
3802
3818
|
hasPendingOwnerChange: (...args: ExtractArgs<Contract['calls']['hasPendingOwnerChange']>) => Promise<CallReturn<'hasPendingOwnerChange'>>;
|
|
3803
3819
|
owner: (...args: ExtractArgs<Contract['calls']['owner']>) => Promise<CallReturn<'owner'>>;
|
|
3804
3820
|
ownershipTimeLock: (...args: ExtractArgs<Contract['calls']['ownershipTimeLock']>) => Promise<CallReturn<'ownershipTimeLock'>>;
|
|
3805
3821
|
pendingOwner: (...args: ExtractArgs<Contract['calls']['pendingOwner']>) => Promise<CallReturn<'pendingOwner'>>;
|
|
3822
|
+
pendingOwnershipTimeLock: (...args: ExtractArgs<Contract['calls']['pendingOwnershipTimeLock']>) => Promise<CallReturn<'pendingOwnershipTimeLock'>>;
|
|
3806
3823
|
MIN_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MIN_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MIN_OWNERSHIP_TIMELOCK'>>;
|
|
3807
3824
|
MAX_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MAX_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MAX_OWNERSHIP_TIMELOCK'>>;
|
|
3808
|
-
apiVersion: (...args: ExtractArgs<Contract['calls']['apiVersion']>) => Promise<CallReturn<'apiVersion'>>;
|
|
3809
3825
|
checkSignerPermissionsAndGetBundle: (...args: ExtractArgs<Contract['calls']['checkSignerPermissionsAndGetBundle']>) => Promise<CallReturn<'checkSignerPermissionsAndGetBundle'>>;
|
|
3810
3826
|
isAgentSender: (...args: ExtractArgs<Contract['calls']['isAgentSender']>) => Promise<CallReturn<'isAgentSender'>>;
|
|
3811
3827
|
getActionDataBundle: (...args: ExtractArgs<Contract['calls']['getActionDataBundle']>) => Promise<CallReturn<'getActionDataBundle'>>;
|
|
@@ -3826,7 +3842,6 @@ export type SDK = {
|
|
|
3826
3842
|
payees: (...args: ExtractArgs<Contract['calls']['payees']>) => Promise<CallReturn<'payees'>>;
|
|
3827
3843
|
indexOfPayee: (...args: ExtractArgs<Contract['calls']['indexOfPayee']>) => Promise<CallReturn<'indexOfPayee'>>;
|
|
3828
3844
|
numPayees: (...args: ExtractArgs<Contract['calls']['numPayees']>) => Promise<CallReturn<'numPayees'>>;
|
|
3829
|
-
pendingPayees: (...args: ExtractArgs<Contract['calls']['pendingPayees']>) => Promise<CallReturn<'pendingPayees'>>;
|
|
3830
3845
|
whitelistAddr: (...args: ExtractArgs<Contract['calls']['whitelistAddr']>) => Promise<CallReturn<'whitelistAddr'>>;
|
|
3831
3846
|
indexOfWhitelist: (...args: ExtractArgs<Contract['calls']['indexOfWhitelist']>) => Promise<CallReturn<'indexOfWhitelist'>>;
|
|
3832
3847
|
numWhitelisted: (...args: ExtractArgs<Contract['calls']['numWhitelisted']>) => Promise<CallReturn<'numWhitelisted'>>;
|
|
@@ -3838,22 +3853,30 @@ export type SDK = {
|
|
|
3838
3853
|
globalManagerSettings: (...args: ExtractArgs<Contract['calls']['globalManagerSettings']>) => Promise<CallReturn<'globalManagerSettings'>>;
|
|
3839
3854
|
globalPayeeSettings: (...args: ExtractArgs<Contract['calls']['globalPayeeSettings']>) => Promise<CallReturn<'globalPayeeSettings'>>;
|
|
3840
3855
|
timeLock: (...args: ExtractArgs<Contract['calls']['timeLock']>) => Promise<CallReturn<'timeLock'>>;
|
|
3856
|
+
pendingTimeLock: (...args: ExtractArgs<Contract['calls']['pendingTimeLock']>) => Promise<CallReturn<'pendingTimeLock'>>;
|
|
3857
|
+
pendingMigration: (...args: ExtractArgs<Contract['calls']['pendingMigration']>) => Promise<CallReturn<'pendingMigration'>>;
|
|
3841
3858
|
isFrozen: (...args: ExtractArgs<Contract['calls']['isFrozen']>) => Promise<CallReturn<'isFrozen'>>;
|
|
3842
3859
|
inEjectMode: (...args: ExtractArgs<Contract['calls']['inEjectMode']>) => Promise<CallReturn<'inEjectMode'>>;
|
|
3843
3860
|
groupId: (...args: ExtractArgs<Contract['calls']['groupId']>) => Promise<CallReturn<'groupId'>>;
|
|
3844
3861
|
startingAgent: (...args: ExtractArgs<Contract['calls']['startingAgent']>) => Promise<CallReturn<'startingAgent'>>;
|
|
3845
|
-
didSetWallet: (...args: ExtractArgs<Contract['calls']['didSetWallet']>) => Promise<CallReturn<'didSetWallet'>>;
|
|
3846
3862
|
UNDY_HQ: (...args: ExtractArgs<Contract['calls']['UNDY_HQ']>) => Promise<CallReturn<'UNDY_HQ'>>;
|
|
3847
3863
|
WETH: (...args: ExtractArgs<Contract['calls']['WETH']>) => Promise<CallReturn<'WETH'>>;
|
|
3848
3864
|
ETH: (...args: ExtractArgs<Contract['calls']['ETH']>) => Promise<CallReturn<'ETH'>>;
|
|
3849
3865
|
MIN_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MIN_TIMELOCK']>) => Promise<CallReturn<'MIN_TIMELOCK'>>;
|
|
3850
3866
|
MAX_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MAX_TIMELOCK']>) => Promise<CallReturn<'MAX_TIMELOCK'>>;
|
|
3851
|
-
pendingTimeLock: (...args: ExtractArgs<Contract['calls']['pendingTimeLock']>) => Promise<CallReturn<'pendingTimeLock'>>;
|
|
3852
3867
|
changeOwnership: (...args: ExtractArgs<Contract['mutations']['changeOwnership']>) => Promise<Address>;
|
|
3853
3868
|
confirmOwnershipChange: (...args: ExtractArgs<Contract['mutations']['confirmOwnershipChange']>) => Promise<Address>;
|
|
3854
3869
|
cancelOwnershipChange: (...args: ExtractArgs<Contract['mutations']['cancelOwnershipChange']>) => Promise<Address>;
|
|
3855
3870
|
setOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['setOwnershipTimeLock']>) => Promise<Address>;
|
|
3871
|
+
confirmPendingOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['confirmPendingOwnershipTimeLock']>) => Promise<Address>;
|
|
3872
|
+
cancelPendingOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['cancelPendingOwnershipTimeLock']>) => Promise<Address>;
|
|
3856
3873
|
setWallet: (...args: ExtractArgs<Contract['mutations']['setWallet']>) => Promise<Address>;
|
|
3874
|
+
setTimeLock: (...args: ExtractArgs<Contract['mutations']['setTimeLock']>) => Promise<Address>;
|
|
3875
|
+
setTimeLockViaMigrator: (...args: ExtractArgs<Contract['mutations']['setTimeLockViaMigrator']>) => Promise<Address>;
|
|
3876
|
+
confirmPendingTimeLock: (...args: ExtractArgs<Contract['mutations']['confirmPendingTimeLock']>) => Promise<Address>;
|
|
3877
|
+
cancelPendingTimeLock: (...args: ExtractArgs<Contract['mutations']['cancelPendingTimeLock']>) => Promise<Address>;
|
|
3878
|
+
setPendingMigration: (...args: ExtractArgs<Contract['mutations']['setPendingMigration']>) => Promise<Address>;
|
|
3879
|
+
clearPendingMigration: (...args: ExtractArgs<Contract['mutations']['clearPendingMigration']>) => Promise<Address>;
|
|
3857
3880
|
checkManagerLimitsPostTx: (...args: ExtractArgs<Contract['mutations']['checkManagerLimitsPostTx']>) => Promise<Address>;
|
|
3858
3881
|
checkRecipientLimitsAndUpdateData: (...args: ExtractArgs<Contract['mutations']['checkRecipientLimitsAndUpdateData']>) => Promise<Address>;
|
|
3859
3882
|
validateCheque: (...args: ExtractArgs<Contract['mutations']['validateCheque']>) => Promise<Address>;
|
|
@@ -3870,12 +3893,10 @@ export type SDK = {
|
|
|
3870
3893
|
updatePayee: (...args: ExtractArgs<Contract['mutations']['updatePayee']>) => Promise<Address>;
|
|
3871
3894
|
removePayee: (...args: ExtractArgs<Contract['mutations']['removePayee']>) => Promise<Address>;
|
|
3872
3895
|
setGlobalPayeeSettings: (...args: ExtractArgs<Contract['mutations']['setGlobalPayeeSettings']>) => Promise<Address>;
|
|
3873
|
-
addPendingPayee: (...args: ExtractArgs<Contract['mutations']['addPendingPayee']>) => Promise<Address>;
|
|
3874
|
-
confirmPendingPayee: (...args: ExtractArgs<Contract['mutations']['confirmPendingPayee']>) => Promise<Address>;
|
|
3875
|
-
cancelPendingPayee: (...args: ExtractArgs<Contract['mutations']['cancelPendingPayee']>) => Promise<Address>;
|
|
3876
3896
|
createCheque: (...args: ExtractArgs<Contract['mutations']['createCheque']>) => Promise<Address>;
|
|
3877
3897
|
cancelCheque: (...args: ExtractArgs<Contract['mutations']['cancelCheque']>) => Promise<Address>;
|
|
3878
3898
|
setChequeSettings: (...args: ExtractArgs<Contract['mutations']['setChequeSettings']>) => Promise<Address>;
|
|
3899
|
+
setChequeSettingsViaMigrator: (...args: ExtractArgs<Contract['mutations']['setChequeSettingsViaMigrator']>) => Promise<Address>;
|
|
3879
3900
|
updateAssetData: (...args: ExtractArgs<Contract['mutations']['updateAssetData']>) => Promise<Address>;
|
|
3880
3901
|
updateAllAssetData: (...args: ExtractArgs<Contract['mutations']['updateAllAssetData']>) => Promise<Address>;
|
|
3881
3902
|
migrateFunds: (...args: ExtractArgs<Contract['mutations']['migrateFunds']>) => Promise<Address>;
|
|
@@ -3891,10 +3912,6 @@ export type SDK = {
|
|
|
3891
3912
|
setPaymaster: (...args: ExtractArgs<Contract['mutations']['setPaymaster']>) => Promise<Address>;
|
|
3892
3913
|
setChequeBook: (...args: ExtractArgs<Contract['mutations']['setChequeBook']>) => Promise<Address>;
|
|
3893
3914
|
setMigrator: (...args: ExtractArgs<Contract['mutations']['setMigrator']>) => Promise<Address>;
|
|
3894
|
-
setTimeLock: (...args: ExtractArgs<Contract['mutations']['setTimeLock']>) => Promise<Address>;
|
|
3895
|
-
setTimeLockViaMigrator: (...args: ExtractArgs<Contract['mutations']['setTimeLockViaMigrator']>) => Promise<Address>;
|
|
3896
|
-
confirmPendingTimeLock: (...args: ExtractArgs<Contract['mutations']['confirmPendingTimeLock']>) => Promise<Address>;
|
|
3897
|
-
cancelPendingTimeLock: (...args: ExtractArgs<Contract['mutations']['cancelPendingTimeLock']>) => Promise<Address>;
|
|
3898
3915
|
};
|
|
3899
3916
|
export declare function toSdk(deployAddress: Address, publicClient?: PublicClient, walletClient?: WalletClient, addressResolver?: AddressResolverFunction): SDK;
|
|
3900
3917
|
export {};
|