@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
|
@@ -78,6 +78,27 @@ export declare const abi: readonly [{
|
|
|
78
78
|
}];
|
|
79
79
|
readonly anonymous: false;
|
|
80
80
|
readonly type: "event";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "PendingOwnershipTimeLockCancelled";
|
|
83
|
+
readonly inputs: readonly [{
|
|
84
|
+
readonly name: "newTimeLock";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
readonly indexed: false;
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "initiatedBlock";
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
readonly indexed: false;
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "confirmBlock";
|
|
93
|
+
readonly type: "uint256";
|
|
94
|
+
readonly indexed: false;
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "cancelledBy";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
readonly indexed: true;
|
|
99
|
+
}];
|
|
100
|
+
readonly anonymous: false;
|
|
101
|
+
readonly type: "event";
|
|
81
102
|
}, {
|
|
82
103
|
readonly name: "OwnershipTimeLockSet";
|
|
83
104
|
readonly inputs: readonly [{
|
|
@@ -87,6 +108,52 @@ export declare const abi: readonly [{
|
|
|
87
108
|
}];
|
|
88
109
|
readonly anonymous: false;
|
|
89
110
|
readonly type: "event";
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "PendingOwnershipTimeLockSet";
|
|
113
|
+
readonly inputs: readonly [{
|
|
114
|
+
readonly name: "newTimeLock";
|
|
115
|
+
readonly type: "uint256";
|
|
116
|
+
readonly indexed: false;
|
|
117
|
+
}, {
|
|
118
|
+
readonly name: "initiatedBlock";
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
readonly indexed: false;
|
|
121
|
+
}, {
|
|
122
|
+
readonly name: "confirmBlock";
|
|
123
|
+
readonly type: "uint256";
|
|
124
|
+
readonly indexed: false;
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "currentOwner";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
readonly indexed: true;
|
|
129
|
+
}];
|
|
130
|
+
readonly anonymous: false;
|
|
131
|
+
readonly type: "event";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "PendingOwnershipTimeLockConfirmed";
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly name: "oldTimeLock";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
readonly indexed: false;
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "newTimeLock";
|
|
140
|
+
readonly type: "uint256";
|
|
141
|
+
readonly indexed: false;
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "initiatedBlock";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
readonly indexed: false;
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "confirmBlock";
|
|
148
|
+
readonly type: "uint256";
|
|
149
|
+
readonly indexed: false;
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "confirmedBy";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
readonly indexed: true;
|
|
154
|
+
}];
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly type: "event";
|
|
90
157
|
}, {
|
|
91
158
|
readonly stateMutability: "nonpayable";
|
|
92
159
|
readonly type: "function";
|
|
@@ -126,6 +193,18 @@ export declare const abi: readonly [{
|
|
|
126
193
|
readonly type: "uint256";
|
|
127
194
|
}];
|
|
128
195
|
readonly outputs: readonly [];
|
|
196
|
+
}, {
|
|
197
|
+
readonly stateMutability: "nonpayable";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
readonly name: "confirmPendingOwnershipTimeLock";
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly outputs: readonly [];
|
|
202
|
+
}, {
|
|
203
|
+
readonly stateMutability: "nonpayable";
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
readonly name: "cancelPendingOwnershipTimeLock";
|
|
206
|
+
readonly inputs: readonly [];
|
|
207
|
+
readonly outputs: readonly [];
|
|
129
208
|
}, {
|
|
130
209
|
readonly stateMutability: "view";
|
|
131
210
|
readonly type: "function";
|
|
@@ -163,6 +242,28 @@ export declare const abi: readonly [{
|
|
|
163
242
|
readonly type: "uint256";
|
|
164
243
|
}];
|
|
165
244
|
}];
|
|
245
|
+
}, {
|
|
246
|
+
readonly stateMutability: "view";
|
|
247
|
+
readonly type: "function";
|
|
248
|
+
readonly name: "pendingOwnershipTimeLock";
|
|
249
|
+
readonly inputs: readonly [];
|
|
250
|
+
readonly outputs: readonly [{
|
|
251
|
+
readonly name: "";
|
|
252
|
+
readonly type: "tuple";
|
|
253
|
+
readonly components: readonly [{
|
|
254
|
+
readonly name: "newTimeLock";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "initiatedBlock";
|
|
258
|
+
readonly type: "uint256";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "confirmBlock";
|
|
261
|
+
readonly type: "uint256";
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: "currentOwner";
|
|
264
|
+
readonly type: "address";
|
|
265
|
+
}];
|
|
266
|
+
}];
|
|
166
267
|
}, {
|
|
167
268
|
readonly stateMutability: "view";
|
|
168
269
|
readonly type: "function";
|
|
@@ -273,8 +374,18 @@ export declare const abi: readonly [{
|
|
|
273
374
|
readonly name: "_amount";
|
|
274
375
|
readonly type: "uint256";
|
|
275
376
|
}, {
|
|
276
|
-
readonly name: "
|
|
277
|
-
readonly type: "
|
|
377
|
+
readonly name: "_sig";
|
|
378
|
+
readonly type: "tuple";
|
|
379
|
+
readonly components: readonly [{
|
|
380
|
+
readonly name: "signature";
|
|
381
|
+
readonly type: "bytes";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "nonce";
|
|
384
|
+
readonly type: "uint256";
|
|
385
|
+
}, {
|
|
386
|
+
readonly name: "expiration";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
278
389
|
}];
|
|
279
390
|
readonly outputs: readonly [{
|
|
280
391
|
readonly name: "";
|
|
@@ -286,7 +397,7 @@ export declare const abi: readonly [{
|
|
|
286
397
|
}, {
|
|
287
398
|
readonly stateMutability: "nonpayable";
|
|
288
399
|
readonly type: "function";
|
|
289
|
-
readonly name: "
|
|
400
|
+
readonly name: "createAndPayCheque";
|
|
290
401
|
readonly inputs: readonly [{
|
|
291
402
|
readonly name: "_agentWrapper";
|
|
292
403
|
readonly type: "address";
|
|
@@ -302,9 +413,33 @@ export declare const abi: readonly [{
|
|
|
302
413
|
}, {
|
|
303
414
|
readonly name: "_amount";
|
|
304
415
|
readonly type: "uint256";
|
|
416
|
+
}];
|
|
417
|
+
readonly outputs: readonly [{
|
|
418
|
+
readonly name: "";
|
|
419
|
+
readonly type: "uint256";
|
|
305
420
|
}, {
|
|
306
|
-
readonly name: "
|
|
307
|
-
readonly type: "
|
|
421
|
+
readonly name: "";
|
|
422
|
+
readonly type: "uint256";
|
|
423
|
+
}];
|
|
424
|
+
}, {
|
|
425
|
+
readonly stateMutability: "nonpayable";
|
|
426
|
+
readonly type: "function";
|
|
427
|
+
readonly name: "createAndPayCheque";
|
|
428
|
+
readonly inputs: readonly [{
|
|
429
|
+
readonly name: "_agentWrapper";
|
|
430
|
+
readonly type: "address";
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "_userWallet";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}, {
|
|
435
|
+
readonly name: "_recipient";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
}, {
|
|
438
|
+
readonly name: "_asset";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly name: "_amount";
|
|
442
|
+
readonly type: "uint256";
|
|
308
443
|
}, {
|
|
309
444
|
readonly name: "_sig";
|
|
310
445
|
readonly type: "tuple";
|
|
@@ -329,7 +464,92 @@ export declare const abi: readonly [{
|
|
|
329
464
|
}, {
|
|
330
465
|
readonly stateMutability: "nonpayable";
|
|
331
466
|
readonly type: "function";
|
|
332
|
-
readonly name: "
|
|
467
|
+
readonly name: "createCheque";
|
|
468
|
+
readonly inputs: readonly [{
|
|
469
|
+
readonly name: "_agentWrapper";
|
|
470
|
+
readonly type: "address";
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "_userWallet";
|
|
473
|
+
readonly type: "address";
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: "_recipient";
|
|
476
|
+
readonly type: "address";
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "_asset";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "_amount";
|
|
482
|
+
readonly type: "uint256";
|
|
483
|
+
}, {
|
|
484
|
+
readonly name: "_unlockNumBlocks";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "_expiryNumBlocks";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "_canManagerPay";
|
|
491
|
+
readonly type: "bool";
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "_canBePulled";
|
|
494
|
+
readonly type: "bool";
|
|
495
|
+
}];
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly name: "";
|
|
498
|
+
readonly type: "bool";
|
|
499
|
+
}];
|
|
500
|
+
}, {
|
|
501
|
+
readonly stateMutability: "nonpayable";
|
|
502
|
+
readonly type: "function";
|
|
503
|
+
readonly name: "createCheque";
|
|
504
|
+
readonly inputs: readonly [{
|
|
505
|
+
readonly name: "_agentWrapper";
|
|
506
|
+
readonly type: "address";
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "_userWallet";
|
|
509
|
+
readonly type: "address";
|
|
510
|
+
}, {
|
|
511
|
+
readonly name: "_recipient";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "_asset";
|
|
515
|
+
readonly type: "address";
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "_amount";
|
|
518
|
+
readonly type: "uint256";
|
|
519
|
+
}, {
|
|
520
|
+
readonly name: "_unlockNumBlocks";
|
|
521
|
+
readonly type: "uint256";
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "_expiryNumBlocks";
|
|
524
|
+
readonly type: "uint256";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "_canManagerPay";
|
|
527
|
+
readonly type: "bool";
|
|
528
|
+
}, {
|
|
529
|
+
readonly name: "_canBePulled";
|
|
530
|
+
readonly type: "bool";
|
|
531
|
+
}, {
|
|
532
|
+
readonly name: "_sig";
|
|
533
|
+
readonly type: "tuple";
|
|
534
|
+
readonly components: readonly [{
|
|
535
|
+
readonly name: "signature";
|
|
536
|
+
readonly type: "bytes";
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "nonce";
|
|
539
|
+
readonly type: "uint256";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "expiration";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}];
|
|
544
|
+
}];
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "bool";
|
|
548
|
+
}];
|
|
549
|
+
}, {
|
|
550
|
+
readonly stateMutability: "nonpayable";
|
|
551
|
+
readonly type: "function";
|
|
552
|
+
readonly name: "payCheque";
|
|
333
553
|
readonly inputs: readonly [{
|
|
334
554
|
readonly name: "_agentWrapper";
|
|
335
555
|
readonly type: "address";
|
|
@@ -345,6 +565,9 @@ export declare const abi: readonly [{
|
|
|
345
565
|
}, {
|
|
346
566
|
readonly name: "_amount";
|
|
347
567
|
readonly type: "uint256";
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "_expectedCreationBlock";
|
|
570
|
+
readonly type: "uint256";
|
|
348
571
|
}];
|
|
349
572
|
readonly outputs: readonly [{
|
|
350
573
|
readonly name: "";
|
|
@@ -356,7 +579,7 @@ export declare const abi: readonly [{
|
|
|
356
579
|
}, {
|
|
357
580
|
readonly stateMutability: "nonpayable";
|
|
358
581
|
readonly type: "function";
|
|
359
|
-
readonly name: "
|
|
582
|
+
readonly name: "payCheque";
|
|
360
583
|
readonly inputs: readonly [{
|
|
361
584
|
readonly name: "_agentWrapper";
|
|
362
585
|
readonly type: "address";
|
|
@@ -372,6 +595,9 @@ export declare const abi: readonly [{
|
|
|
372
595
|
}, {
|
|
373
596
|
readonly name: "_amount";
|
|
374
597
|
readonly type: "uint256";
|
|
598
|
+
}, {
|
|
599
|
+
readonly name: "_expectedCreationBlock";
|
|
600
|
+
readonly type: "uint256";
|
|
375
601
|
}, {
|
|
376
602
|
readonly name: "_sig";
|
|
377
603
|
readonly type: "tuple";
|
|
@@ -1640,15 +1866,406 @@ export declare const abi: readonly [{
|
|
|
1640
1866
|
}];
|
|
1641
1867
|
readonly outputs: readonly [{
|
|
1642
1868
|
readonly name: "";
|
|
1643
|
-
readonly type: "uint256";
|
|
1644
|
-
}, {
|
|
1645
|
-
readonly name: "";
|
|
1646
|
-
readonly type: "uint256";
|
|
1869
|
+
readonly type: "uint256";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly name: "";
|
|
1872
|
+
readonly type: "uint256";
|
|
1873
|
+
}];
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly stateMutability: "nonpayable";
|
|
1876
|
+
readonly type: "function";
|
|
1877
|
+
readonly name: "borrow";
|
|
1878
|
+
readonly inputs: readonly [{
|
|
1879
|
+
readonly name: "_agentWrapper";
|
|
1880
|
+
readonly type: "address";
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly name: "_userWallet";
|
|
1883
|
+
readonly type: "address";
|
|
1884
|
+
}, {
|
|
1885
|
+
readonly name: "_legoId";
|
|
1886
|
+
readonly type: "uint256";
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly name: "_borrowAsset";
|
|
1889
|
+
readonly type: "address";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly name: "_amount";
|
|
1892
|
+
readonly type: "uint256";
|
|
1893
|
+
}, {
|
|
1894
|
+
readonly name: "_extraData";
|
|
1895
|
+
readonly type: "bytes32";
|
|
1896
|
+
}];
|
|
1897
|
+
readonly outputs: readonly [{
|
|
1898
|
+
readonly name: "";
|
|
1899
|
+
readonly type: "uint256";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "";
|
|
1902
|
+
readonly type: "uint256";
|
|
1903
|
+
}];
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly stateMutability: "nonpayable";
|
|
1906
|
+
readonly type: "function";
|
|
1907
|
+
readonly name: "borrow";
|
|
1908
|
+
readonly inputs: readonly [{
|
|
1909
|
+
readonly name: "_agentWrapper";
|
|
1910
|
+
readonly type: "address";
|
|
1911
|
+
}, {
|
|
1912
|
+
readonly name: "_userWallet";
|
|
1913
|
+
readonly type: "address";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "_legoId";
|
|
1916
|
+
readonly type: "uint256";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly name: "_borrowAsset";
|
|
1919
|
+
readonly type: "address";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly name: "_amount";
|
|
1922
|
+
readonly type: "uint256";
|
|
1923
|
+
}, {
|
|
1924
|
+
readonly name: "_extraData";
|
|
1925
|
+
readonly type: "bytes32";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "_sig";
|
|
1928
|
+
readonly type: "tuple";
|
|
1929
|
+
readonly components: readonly [{
|
|
1930
|
+
readonly name: "signature";
|
|
1931
|
+
readonly type: "bytes";
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly name: "nonce";
|
|
1934
|
+
readonly type: "uint256";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly name: "expiration";
|
|
1937
|
+
readonly type: "uint256";
|
|
1938
|
+
}];
|
|
1939
|
+
}];
|
|
1940
|
+
readonly outputs: readonly [{
|
|
1941
|
+
readonly name: "";
|
|
1942
|
+
readonly type: "uint256";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly name: "";
|
|
1945
|
+
readonly type: "uint256";
|
|
1946
|
+
}];
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly stateMutability: "nonpayable";
|
|
1949
|
+
readonly type: "function";
|
|
1950
|
+
readonly name: "repayDebt";
|
|
1951
|
+
readonly inputs: readonly [{
|
|
1952
|
+
readonly name: "_agentWrapper";
|
|
1953
|
+
readonly type: "address";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly name: "_userWallet";
|
|
1956
|
+
readonly type: "address";
|
|
1957
|
+
}, {
|
|
1958
|
+
readonly name: "_legoId";
|
|
1959
|
+
readonly type: "uint256";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly name: "_paymentAsset";
|
|
1962
|
+
readonly type: "address";
|
|
1963
|
+
}];
|
|
1964
|
+
readonly outputs: readonly [{
|
|
1965
|
+
readonly name: "";
|
|
1966
|
+
readonly type: "uint256";
|
|
1967
|
+
}, {
|
|
1968
|
+
readonly name: "";
|
|
1969
|
+
readonly type: "uint256";
|
|
1970
|
+
}];
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly stateMutability: "nonpayable";
|
|
1973
|
+
readonly type: "function";
|
|
1974
|
+
readonly name: "repayDebt";
|
|
1975
|
+
readonly inputs: readonly [{
|
|
1976
|
+
readonly name: "_agentWrapper";
|
|
1977
|
+
readonly type: "address";
|
|
1978
|
+
}, {
|
|
1979
|
+
readonly name: "_userWallet";
|
|
1980
|
+
readonly type: "address";
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly name: "_legoId";
|
|
1983
|
+
readonly type: "uint256";
|
|
1984
|
+
}, {
|
|
1985
|
+
readonly name: "_paymentAsset";
|
|
1986
|
+
readonly type: "address";
|
|
1987
|
+
}, {
|
|
1988
|
+
readonly name: "_paymentAmount";
|
|
1989
|
+
readonly type: "uint256";
|
|
1990
|
+
}];
|
|
1991
|
+
readonly outputs: readonly [{
|
|
1992
|
+
readonly name: "";
|
|
1993
|
+
readonly type: "uint256";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "";
|
|
1996
|
+
readonly type: "uint256";
|
|
1997
|
+
}];
|
|
1998
|
+
}, {
|
|
1999
|
+
readonly stateMutability: "nonpayable";
|
|
2000
|
+
readonly type: "function";
|
|
2001
|
+
readonly name: "repayDebt";
|
|
2002
|
+
readonly inputs: readonly [{
|
|
2003
|
+
readonly name: "_agentWrapper";
|
|
2004
|
+
readonly type: "address";
|
|
2005
|
+
}, {
|
|
2006
|
+
readonly name: "_userWallet";
|
|
2007
|
+
readonly type: "address";
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly name: "_legoId";
|
|
2010
|
+
readonly type: "uint256";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly name: "_paymentAsset";
|
|
2013
|
+
readonly type: "address";
|
|
2014
|
+
}, {
|
|
2015
|
+
readonly name: "_paymentAmount";
|
|
2016
|
+
readonly type: "uint256";
|
|
2017
|
+
}, {
|
|
2018
|
+
readonly name: "_extraData";
|
|
2019
|
+
readonly type: "bytes32";
|
|
2020
|
+
}];
|
|
2021
|
+
readonly outputs: readonly [{
|
|
2022
|
+
readonly name: "";
|
|
2023
|
+
readonly type: "uint256";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly name: "";
|
|
2026
|
+
readonly type: "uint256";
|
|
2027
|
+
}];
|
|
2028
|
+
}, {
|
|
2029
|
+
readonly stateMutability: "nonpayable";
|
|
2030
|
+
readonly type: "function";
|
|
2031
|
+
readonly name: "repayDebt";
|
|
2032
|
+
readonly inputs: readonly [{
|
|
2033
|
+
readonly name: "_agentWrapper";
|
|
2034
|
+
readonly type: "address";
|
|
2035
|
+
}, {
|
|
2036
|
+
readonly name: "_userWallet";
|
|
2037
|
+
readonly type: "address";
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly name: "_legoId";
|
|
2040
|
+
readonly type: "uint256";
|
|
2041
|
+
}, {
|
|
2042
|
+
readonly name: "_paymentAsset";
|
|
2043
|
+
readonly type: "address";
|
|
2044
|
+
}, {
|
|
2045
|
+
readonly name: "_paymentAmount";
|
|
2046
|
+
readonly type: "uint256";
|
|
2047
|
+
}, {
|
|
2048
|
+
readonly name: "_extraData";
|
|
2049
|
+
readonly type: "bytes32";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "_sig";
|
|
2052
|
+
readonly type: "tuple";
|
|
2053
|
+
readonly components: readonly [{
|
|
2054
|
+
readonly name: "signature";
|
|
2055
|
+
readonly type: "bytes";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly name: "nonce";
|
|
2058
|
+
readonly type: "uint256";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly name: "expiration";
|
|
2061
|
+
readonly type: "uint256";
|
|
2062
|
+
}];
|
|
2063
|
+
}];
|
|
2064
|
+
readonly outputs: readonly [{
|
|
2065
|
+
readonly name: "";
|
|
2066
|
+
readonly type: "uint256";
|
|
2067
|
+
}, {
|
|
2068
|
+
readonly name: "";
|
|
2069
|
+
readonly type: "uint256";
|
|
2070
|
+
}];
|
|
2071
|
+
}, {
|
|
2072
|
+
readonly stateMutability: "nonpayable";
|
|
2073
|
+
readonly type: "function";
|
|
2074
|
+
readonly name: "claimIncentives";
|
|
2075
|
+
readonly inputs: readonly [{
|
|
2076
|
+
readonly name: "_agentWrapper";
|
|
2077
|
+
readonly type: "address";
|
|
2078
|
+
}, {
|
|
2079
|
+
readonly name: "_userWallet";
|
|
2080
|
+
readonly type: "address";
|
|
2081
|
+
}, {
|
|
2082
|
+
readonly name: "_legoId";
|
|
2083
|
+
readonly type: "uint256";
|
|
2084
|
+
}];
|
|
2085
|
+
readonly outputs: readonly [{
|
|
2086
|
+
readonly name: "";
|
|
2087
|
+
readonly type: "uint256";
|
|
2088
|
+
}, {
|
|
2089
|
+
readonly name: "";
|
|
2090
|
+
readonly type: "uint256";
|
|
2091
|
+
}];
|
|
2092
|
+
}, {
|
|
2093
|
+
readonly stateMutability: "nonpayable";
|
|
2094
|
+
readonly type: "function";
|
|
2095
|
+
readonly name: "claimIncentives";
|
|
2096
|
+
readonly inputs: readonly [{
|
|
2097
|
+
readonly name: "_agentWrapper";
|
|
2098
|
+
readonly type: "address";
|
|
2099
|
+
}, {
|
|
2100
|
+
readonly name: "_userWallet";
|
|
2101
|
+
readonly type: "address";
|
|
2102
|
+
}, {
|
|
2103
|
+
readonly name: "_legoId";
|
|
2104
|
+
readonly type: "uint256";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly name: "_rewardToken";
|
|
2107
|
+
readonly type: "address";
|
|
2108
|
+
}];
|
|
2109
|
+
readonly outputs: readonly [{
|
|
2110
|
+
readonly name: "";
|
|
2111
|
+
readonly type: "uint256";
|
|
2112
|
+
}, {
|
|
2113
|
+
readonly name: "";
|
|
2114
|
+
readonly type: "uint256";
|
|
2115
|
+
}];
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly stateMutability: "nonpayable";
|
|
2118
|
+
readonly type: "function";
|
|
2119
|
+
readonly name: "claimIncentives";
|
|
2120
|
+
readonly inputs: readonly [{
|
|
2121
|
+
readonly name: "_agentWrapper";
|
|
2122
|
+
readonly type: "address";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly name: "_userWallet";
|
|
2125
|
+
readonly type: "address";
|
|
2126
|
+
}, {
|
|
2127
|
+
readonly name: "_legoId";
|
|
2128
|
+
readonly type: "uint256";
|
|
2129
|
+
}, {
|
|
2130
|
+
readonly name: "_rewardToken";
|
|
2131
|
+
readonly type: "address";
|
|
2132
|
+
}, {
|
|
2133
|
+
readonly name: "_rewardAmount";
|
|
2134
|
+
readonly type: "uint256";
|
|
2135
|
+
}];
|
|
2136
|
+
readonly outputs: readonly [{
|
|
2137
|
+
readonly name: "";
|
|
2138
|
+
readonly type: "uint256";
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly name: "";
|
|
2141
|
+
readonly type: "uint256";
|
|
2142
|
+
}];
|
|
2143
|
+
}, {
|
|
2144
|
+
readonly stateMutability: "nonpayable";
|
|
2145
|
+
readonly type: "function";
|
|
2146
|
+
readonly name: "claimIncentives";
|
|
2147
|
+
readonly inputs: readonly [{
|
|
2148
|
+
readonly name: "_agentWrapper";
|
|
2149
|
+
readonly type: "address";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly name: "_userWallet";
|
|
2152
|
+
readonly type: "address";
|
|
2153
|
+
}, {
|
|
2154
|
+
readonly name: "_legoId";
|
|
2155
|
+
readonly type: "uint256";
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly name: "_rewardToken";
|
|
2158
|
+
readonly type: "address";
|
|
2159
|
+
}, {
|
|
2160
|
+
readonly name: "_rewardAmount";
|
|
2161
|
+
readonly type: "uint256";
|
|
2162
|
+
}, {
|
|
2163
|
+
readonly name: "_proofs";
|
|
2164
|
+
readonly type: "bytes32[]";
|
|
2165
|
+
}];
|
|
2166
|
+
readonly outputs: readonly [{
|
|
2167
|
+
readonly name: "";
|
|
2168
|
+
readonly type: "uint256";
|
|
2169
|
+
}, {
|
|
2170
|
+
readonly name: "";
|
|
2171
|
+
readonly type: "uint256";
|
|
2172
|
+
}];
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly stateMutability: "nonpayable";
|
|
2175
|
+
readonly type: "function";
|
|
2176
|
+
readonly name: "claimIncentives";
|
|
2177
|
+
readonly inputs: readonly [{
|
|
2178
|
+
readonly name: "_agentWrapper";
|
|
2179
|
+
readonly type: "address";
|
|
2180
|
+
}, {
|
|
2181
|
+
readonly name: "_userWallet";
|
|
2182
|
+
readonly type: "address";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly name: "_legoId";
|
|
2185
|
+
readonly type: "uint256";
|
|
2186
|
+
}, {
|
|
2187
|
+
readonly name: "_rewardToken";
|
|
2188
|
+
readonly type: "address";
|
|
2189
|
+
}, {
|
|
2190
|
+
readonly name: "_rewardAmount";
|
|
2191
|
+
readonly type: "uint256";
|
|
2192
|
+
}, {
|
|
2193
|
+
readonly name: "_proofs";
|
|
2194
|
+
readonly type: "bytes32[]";
|
|
2195
|
+
}, {
|
|
2196
|
+
readonly name: "_sig";
|
|
2197
|
+
readonly type: "tuple";
|
|
2198
|
+
readonly components: readonly [{
|
|
2199
|
+
readonly name: "signature";
|
|
2200
|
+
readonly type: "bytes";
|
|
2201
|
+
}, {
|
|
2202
|
+
readonly name: "nonce";
|
|
2203
|
+
readonly type: "uint256";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly name: "expiration";
|
|
2206
|
+
readonly type: "uint256";
|
|
2207
|
+
}];
|
|
2208
|
+
}];
|
|
2209
|
+
readonly outputs: readonly [{
|
|
2210
|
+
readonly name: "";
|
|
2211
|
+
readonly type: "uint256";
|
|
2212
|
+
}, {
|
|
2213
|
+
readonly name: "";
|
|
2214
|
+
readonly type: "uint256";
|
|
2215
|
+
}];
|
|
2216
|
+
}, {
|
|
2217
|
+
readonly stateMutability: "nonpayable";
|
|
2218
|
+
readonly type: "function";
|
|
2219
|
+
readonly name: "confirmWhitelistAddr";
|
|
2220
|
+
readonly inputs: readonly [{
|
|
2221
|
+
readonly name: "_agentWrapper";
|
|
2222
|
+
readonly type: "address";
|
|
2223
|
+
}, {
|
|
2224
|
+
readonly name: "_userWallet";
|
|
2225
|
+
readonly type: "address";
|
|
2226
|
+
}, {
|
|
2227
|
+
readonly name: "_whitelistAddr";
|
|
2228
|
+
readonly type: "address";
|
|
2229
|
+
}];
|
|
2230
|
+
readonly outputs: readonly [{
|
|
2231
|
+
readonly name: "";
|
|
2232
|
+
readonly type: "bool";
|
|
2233
|
+
}];
|
|
2234
|
+
}, {
|
|
2235
|
+
readonly stateMutability: "nonpayable";
|
|
2236
|
+
readonly type: "function";
|
|
2237
|
+
readonly name: "confirmWhitelistAddr";
|
|
2238
|
+
readonly inputs: readonly [{
|
|
2239
|
+
readonly name: "_agentWrapper";
|
|
2240
|
+
readonly type: "address";
|
|
2241
|
+
}, {
|
|
2242
|
+
readonly name: "_userWallet";
|
|
2243
|
+
readonly type: "address";
|
|
2244
|
+
}, {
|
|
2245
|
+
readonly name: "_whitelistAddr";
|
|
2246
|
+
readonly type: "address";
|
|
2247
|
+
}, {
|
|
2248
|
+
readonly name: "_sig";
|
|
2249
|
+
readonly type: "tuple";
|
|
2250
|
+
readonly components: readonly [{
|
|
2251
|
+
readonly name: "signature";
|
|
2252
|
+
readonly type: "bytes";
|
|
2253
|
+
}, {
|
|
2254
|
+
readonly name: "nonce";
|
|
2255
|
+
readonly type: "uint256";
|
|
2256
|
+
}, {
|
|
2257
|
+
readonly name: "expiration";
|
|
2258
|
+
readonly type: "uint256";
|
|
2259
|
+
}];
|
|
2260
|
+
}];
|
|
2261
|
+
readonly outputs: readonly [{
|
|
2262
|
+
readonly name: "";
|
|
2263
|
+
readonly type: "bool";
|
|
1647
2264
|
}];
|
|
1648
2265
|
}, {
|
|
1649
2266
|
readonly stateMutability: "nonpayable";
|
|
1650
2267
|
readonly type: "function";
|
|
1651
|
-
readonly name: "
|
|
2268
|
+
readonly name: "cancelPendingWhitelistAddr";
|
|
1652
2269
|
readonly inputs: readonly [{
|
|
1653
2270
|
readonly name: "_agentWrapper";
|
|
1654
2271
|
readonly type: "address";
|
|
@@ -1656,29 +2273,17 @@ export declare const abi: readonly [{
|
|
|
1656
2273
|
readonly name: "_userWallet";
|
|
1657
2274
|
readonly type: "address";
|
|
1658
2275
|
}, {
|
|
1659
|
-
readonly name: "
|
|
1660
|
-
readonly type: "uint256";
|
|
1661
|
-
}, {
|
|
1662
|
-
readonly name: "_borrowAsset";
|
|
2276
|
+
readonly name: "_whitelistAddr";
|
|
1663
2277
|
readonly type: "address";
|
|
1664
|
-
}, {
|
|
1665
|
-
readonly name: "_amount";
|
|
1666
|
-
readonly type: "uint256";
|
|
1667
|
-
}, {
|
|
1668
|
-
readonly name: "_extraData";
|
|
1669
|
-
readonly type: "bytes32";
|
|
1670
2278
|
}];
|
|
1671
2279
|
readonly outputs: readonly [{
|
|
1672
2280
|
readonly name: "";
|
|
1673
|
-
readonly type: "
|
|
1674
|
-
}, {
|
|
1675
|
-
readonly name: "";
|
|
1676
|
-
readonly type: "uint256";
|
|
2281
|
+
readonly type: "bool";
|
|
1677
2282
|
}];
|
|
1678
2283
|
}, {
|
|
1679
2284
|
readonly stateMutability: "nonpayable";
|
|
1680
2285
|
readonly type: "function";
|
|
1681
|
-
readonly name: "
|
|
2286
|
+
readonly name: "cancelPendingWhitelistAddr";
|
|
1682
2287
|
readonly inputs: readonly [{
|
|
1683
2288
|
readonly name: "_agentWrapper";
|
|
1684
2289
|
readonly type: "address";
|
|
@@ -1686,17 +2291,8 @@ export declare const abi: readonly [{
|
|
|
1686
2291
|
readonly name: "_userWallet";
|
|
1687
2292
|
readonly type: "address";
|
|
1688
2293
|
}, {
|
|
1689
|
-
readonly name: "
|
|
1690
|
-
readonly type: "uint256";
|
|
1691
|
-
}, {
|
|
1692
|
-
readonly name: "_borrowAsset";
|
|
2294
|
+
readonly name: "_whitelistAddr";
|
|
1693
2295
|
readonly type: "address";
|
|
1694
|
-
}, {
|
|
1695
|
-
readonly name: "_amount";
|
|
1696
|
-
readonly type: "uint256";
|
|
1697
|
-
}, {
|
|
1698
|
-
readonly name: "_extraData";
|
|
1699
|
-
readonly type: "bytes32";
|
|
1700
2296
|
}, {
|
|
1701
2297
|
readonly name: "_sig";
|
|
1702
2298
|
readonly type: "tuple";
|
|
@@ -1713,15 +2309,12 @@ export declare const abi: readonly [{
|
|
|
1713
2309
|
}];
|
|
1714
2310
|
readonly outputs: readonly [{
|
|
1715
2311
|
readonly name: "";
|
|
1716
|
-
readonly type: "
|
|
1717
|
-
}, {
|
|
1718
|
-
readonly name: "";
|
|
1719
|
-
readonly type: "uint256";
|
|
2312
|
+
readonly type: "bool";
|
|
1720
2313
|
}];
|
|
1721
2314
|
}, {
|
|
1722
2315
|
readonly stateMutability: "nonpayable";
|
|
1723
2316
|
readonly type: "function";
|
|
1724
|
-
readonly name: "
|
|
2317
|
+
readonly name: "removeWhitelistAddr";
|
|
1725
2318
|
readonly inputs: readonly [{
|
|
1726
2319
|
readonly name: "_agentWrapper";
|
|
1727
2320
|
readonly type: "address";
|
|
@@ -1729,23 +2322,17 @@ export declare const abi: readonly [{
|
|
|
1729
2322
|
readonly name: "_userWallet";
|
|
1730
2323
|
readonly type: "address";
|
|
1731
2324
|
}, {
|
|
1732
|
-
readonly name: "
|
|
1733
|
-
readonly type: "uint256";
|
|
1734
|
-
}, {
|
|
1735
|
-
readonly name: "_paymentAsset";
|
|
2325
|
+
readonly name: "_whitelistAddr";
|
|
1736
2326
|
readonly type: "address";
|
|
1737
2327
|
}];
|
|
1738
2328
|
readonly outputs: readonly [{
|
|
1739
2329
|
readonly name: "";
|
|
1740
|
-
readonly type: "
|
|
1741
|
-
}, {
|
|
1742
|
-
readonly name: "";
|
|
1743
|
-
readonly type: "uint256";
|
|
2330
|
+
readonly type: "bool";
|
|
1744
2331
|
}];
|
|
1745
2332
|
}, {
|
|
1746
2333
|
readonly stateMutability: "nonpayable";
|
|
1747
2334
|
readonly type: "function";
|
|
1748
|
-
readonly name: "
|
|
2335
|
+
readonly name: "removeWhitelistAddr";
|
|
1749
2336
|
readonly inputs: readonly [{
|
|
1750
2337
|
readonly name: "_agentWrapper";
|
|
1751
2338
|
readonly type: "address";
|
|
@@ -1753,74 +2340,51 @@ export declare const abi: readonly [{
|
|
|
1753
2340
|
readonly name: "_userWallet";
|
|
1754
2341
|
readonly type: "address";
|
|
1755
2342
|
}, {
|
|
1756
|
-
readonly name: "
|
|
1757
|
-
readonly type: "uint256";
|
|
1758
|
-
}, {
|
|
1759
|
-
readonly name: "_paymentAsset";
|
|
2343
|
+
readonly name: "_whitelistAddr";
|
|
1760
2344
|
readonly type: "address";
|
|
1761
2345
|
}, {
|
|
1762
|
-
readonly name: "
|
|
1763
|
-
readonly type: "
|
|
2346
|
+
readonly name: "_sig";
|
|
2347
|
+
readonly type: "tuple";
|
|
2348
|
+
readonly components: readonly [{
|
|
2349
|
+
readonly name: "signature";
|
|
2350
|
+
readonly type: "bytes";
|
|
2351
|
+
}, {
|
|
2352
|
+
readonly name: "nonce";
|
|
2353
|
+
readonly type: "uint256";
|
|
2354
|
+
}, {
|
|
2355
|
+
readonly name: "expiration";
|
|
2356
|
+
readonly type: "uint256";
|
|
2357
|
+
}];
|
|
1764
2358
|
}];
|
|
1765
2359
|
readonly outputs: readonly [{
|
|
1766
2360
|
readonly name: "";
|
|
1767
|
-
readonly type: "
|
|
1768
|
-
}, {
|
|
1769
|
-
readonly name: "";
|
|
1770
|
-
readonly type: "uint256";
|
|
2361
|
+
readonly type: "bool";
|
|
1771
2362
|
}];
|
|
1772
2363
|
}, {
|
|
1773
2364
|
readonly stateMutability: "nonpayable";
|
|
1774
2365
|
readonly type: "function";
|
|
1775
|
-
readonly name: "
|
|
2366
|
+
readonly name: "removeSelfAsManager";
|
|
1776
2367
|
readonly inputs: readonly [{
|
|
1777
2368
|
readonly name: "_agentWrapper";
|
|
1778
2369
|
readonly type: "address";
|
|
1779
2370
|
}, {
|
|
1780
2371
|
readonly name: "_userWallet";
|
|
1781
2372
|
readonly type: "address";
|
|
1782
|
-
}, {
|
|
1783
|
-
readonly name: "_legoId";
|
|
1784
|
-
readonly type: "uint256";
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly name: "_paymentAsset";
|
|
1787
|
-
readonly type: "address";
|
|
1788
|
-
}, {
|
|
1789
|
-
readonly name: "_paymentAmount";
|
|
1790
|
-
readonly type: "uint256";
|
|
1791
|
-
}, {
|
|
1792
|
-
readonly name: "_extraData";
|
|
1793
|
-
readonly type: "bytes32";
|
|
1794
2373
|
}];
|
|
1795
2374
|
readonly outputs: readonly [{
|
|
1796
2375
|
readonly name: "";
|
|
1797
|
-
readonly type: "
|
|
1798
|
-
}, {
|
|
1799
|
-
readonly name: "";
|
|
1800
|
-
readonly type: "uint256";
|
|
2376
|
+
readonly type: "bool";
|
|
1801
2377
|
}];
|
|
1802
2378
|
}, {
|
|
1803
2379
|
readonly stateMutability: "nonpayable";
|
|
1804
2380
|
readonly type: "function";
|
|
1805
|
-
readonly name: "
|
|
2381
|
+
readonly name: "removeSelfAsManager";
|
|
1806
2382
|
readonly inputs: readonly [{
|
|
1807
2383
|
readonly name: "_agentWrapper";
|
|
1808
2384
|
readonly type: "address";
|
|
1809
2385
|
}, {
|
|
1810
2386
|
readonly name: "_userWallet";
|
|
1811
2387
|
readonly type: "address";
|
|
1812
|
-
}, {
|
|
1813
|
-
readonly name: "_legoId";
|
|
1814
|
-
readonly type: "uint256";
|
|
1815
|
-
}, {
|
|
1816
|
-
readonly name: "_paymentAsset";
|
|
1817
|
-
readonly type: "address";
|
|
1818
|
-
}, {
|
|
1819
|
-
readonly name: "_paymentAmount";
|
|
1820
|
-
readonly type: "uint256";
|
|
1821
|
-
}, {
|
|
1822
|
-
readonly name: "_extraData";
|
|
1823
|
-
readonly type: "bytes32";
|
|
1824
2388
|
}, {
|
|
1825
2389
|
readonly name: "_sig";
|
|
1826
2390
|
readonly type: "tuple";
|
|
@@ -1837,36 +2401,27 @@ export declare const abi: readonly [{
|
|
|
1837
2401
|
}];
|
|
1838
2402
|
readonly outputs: readonly [{
|
|
1839
2403
|
readonly name: "";
|
|
1840
|
-
readonly type: "
|
|
1841
|
-
}, {
|
|
1842
|
-
readonly name: "";
|
|
1843
|
-
readonly type: "uint256";
|
|
2404
|
+
readonly type: "bool";
|
|
1844
2405
|
}];
|
|
1845
2406
|
}, {
|
|
1846
2407
|
readonly stateMutability: "nonpayable";
|
|
1847
2408
|
readonly type: "function";
|
|
1848
|
-
readonly name: "
|
|
2409
|
+
readonly name: "claimAllLoot";
|
|
1849
2410
|
readonly inputs: readonly [{
|
|
1850
2411
|
readonly name: "_agentWrapper";
|
|
1851
2412
|
readonly type: "address";
|
|
1852
2413
|
}, {
|
|
1853
2414
|
readonly name: "_userWallet";
|
|
1854
2415
|
readonly type: "address";
|
|
1855
|
-
}, {
|
|
1856
|
-
readonly name: "_legoId";
|
|
1857
|
-
readonly type: "uint256";
|
|
1858
2416
|
}];
|
|
1859
2417
|
readonly outputs: readonly [{
|
|
1860
2418
|
readonly name: "";
|
|
1861
|
-
readonly type: "
|
|
1862
|
-
}, {
|
|
1863
|
-
readonly name: "";
|
|
1864
|
-
readonly type: "uint256";
|
|
2419
|
+
readonly type: "bool";
|
|
1865
2420
|
}];
|
|
1866
2421
|
}, {
|
|
1867
2422
|
readonly stateMutability: "nonpayable";
|
|
1868
2423
|
readonly type: "function";
|
|
1869
|
-
readonly name: "
|
|
2424
|
+
readonly name: "claimAllLoot";
|
|
1870
2425
|
readonly inputs: readonly [{
|
|
1871
2426
|
readonly name: "_agentWrapper";
|
|
1872
2427
|
readonly type: "address";
|
|
@@ -1874,50 +2429,42 @@ export declare const abi: readonly [{
|
|
|
1874
2429
|
readonly name: "_userWallet";
|
|
1875
2430
|
readonly type: "address";
|
|
1876
2431
|
}, {
|
|
1877
|
-
readonly name: "
|
|
1878
|
-
readonly type: "
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
2432
|
+
readonly name: "_sig";
|
|
2433
|
+
readonly type: "tuple";
|
|
2434
|
+
readonly components: readonly [{
|
|
2435
|
+
readonly name: "signature";
|
|
2436
|
+
readonly type: "bytes";
|
|
2437
|
+
}, {
|
|
2438
|
+
readonly name: "nonce";
|
|
2439
|
+
readonly type: "uint256";
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly name: "expiration";
|
|
2442
|
+
readonly type: "uint256";
|
|
2443
|
+
}];
|
|
1882
2444
|
}];
|
|
1883
2445
|
readonly outputs: readonly [{
|
|
1884
2446
|
readonly name: "";
|
|
1885
|
-
readonly type: "
|
|
1886
|
-
}, {
|
|
1887
|
-
readonly name: "";
|
|
1888
|
-
readonly type: "uint256";
|
|
2447
|
+
readonly type: "bool";
|
|
1889
2448
|
}];
|
|
1890
2449
|
}, {
|
|
1891
2450
|
readonly stateMutability: "nonpayable";
|
|
1892
2451
|
readonly type: "function";
|
|
1893
|
-
readonly name: "
|
|
2452
|
+
readonly name: "claimRevShareAndBonusLoot";
|
|
1894
2453
|
readonly inputs: readonly [{
|
|
1895
2454
|
readonly name: "_agentWrapper";
|
|
1896
2455
|
readonly type: "address";
|
|
1897
2456
|
}, {
|
|
1898
2457
|
readonly name: "_userWallet";
|
|
1899
2458
|
readonly type: "address";
|
|
1900
|
-
}, {
|
|
1901
|
-
readonly name: "_legoId";
|
|
1902
|
-
readonly type: "uint256";
|
|
1903
|
-
}, {
|
|
1904
|
-
readonly name: "_rewardToken";
|
|
1905
|
-
readonly type: "address";
|
|
1906
|
-
}, {
|
|
1907
|
-
readonly name: "_rewardAmount";
|
|
1908
|
-
readonly type: "uint256";
|
|
1909
2459
|
}];
|
|
1910
2460
|
readonly outputs: readonly [{
|
|
1911
2461
|
readonly name: "";
|
|
1912
2462
|
readonly type: "uint256";
|
|
1913
|
-
}, {
|
|
1914
|
-
readonly name: "";
|
|
1915
|
-
readonly type: "uint256";
|
|
1916
2463
|
}];
|
|
1917
2464
|
}, {
|
|
1918
2465
|
readonly stateMutability: "nonpayable";
|
|
1919
2466
|
readonly type: "function";
|
|
1920
|
-
readonly name: "
|
|
2467
|
+
readonly name: "claimRevShareAndBonusLoot";
|
|
1921
2468
|
readonly inputs: readonly [{
|
|
1922
2469
|
readonly name: "_agentWrapper";
|
|
1923
2470
|
readonly type: "address";
|
|
@@ -1925,47 +2472,48 @@ export declare const abi: readonly [{
|
|
|
1925
2472
|
readonly name: "_userWallet";
|
|
1926
2473
|
readonly type: "address";
|
|
1927
2474
|
}, {
|
|
1928
|
-
readonly name: "
|
|
1929
|
-
readonly type: "
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
2475
|
+
readonly name: "_sig";
|
|
2476
|
+
readonly type: "tuple";
|
|
2477
|
+
readonly components: readonly [{
|
|
2478
|
+
readonly name: "signature";
|
|
2479
|
+
readonly type: "bytes";
|
|
2480
|
+
}, {
|
|
2481
|
+
readonly name: "nonce";
|
|
2482
|
+
readonly type: "uint256";
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly name: "expiration";
|
|
2485
|
+
readonly type: "uint256";
|
|
2486
|
+
}];
|
|
1939
2487
|
}];
|
|
1940
2488
|
readonly outputs: readonly [{
|
|
1941
2489
|
readonly name: "";
|
|
1942
2490
|
readonly type: "uint256";
|
|
1943
|
-
}, {
|
|
1944
|
-
readonly name: "";
|
|
1945
|
-
readonly type: "uint256";
|
|
1946
2491
|
}];
|
|
1947
2492
|
}, {
|
|
1948
2493
|
readonly stateMutability: "nonpayable";
|
|
1949
2494
|
readonly type: "function";
|
|
1950
|
-
readonly name: "
|
|
2495
|
+
readonly name: "claimDepositRewards";
|
|
1951
2496
|
readonly inputs: readonly [{
|
|
1952
2497
|
readonly name: "_agentWrapper";
|
|
1953
2498
|
readonly type: "address";
|
|
1954
2499
|
}, {
|
|
1955
2500
|
readonly name: "_userWallet";
|
|
1956
2501
|
readonly type: "address";
|
|
1957
|
-
}
|
|
1958
|
-
|
|
2502
|
+
}];
|
|
2503
|
+
readonly outputs: readonly [{
|
|
2504
|
+
readonly name: "";
|
|
1959
2505
|
readonly type: "uint256";
|
|
1960
|
-
}
|
|
1961
|
-
|
|
2506
|
+
}];
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly stateMutability: "nonpayable";
|
|
2509
|
+
readonly type: "function";
|
|
2510
|
+
readonly name: "claimDepositRewards";
|
|
2511
|
+
readonly inputs: readonly [{
|
|
2512
|
+
readonly name: "_agentWrapper";
|
|
1962
2513
|
readonly type: "address";
|
|
1963
2514
|
}, {
|
|
1964
|
-
readonly name: "
|
|
1965
|
-
readonly type: "
|
|
1966
|
-
}, {
|
|
1967
|
-
readonly name: "_proofs";
|
|
1968
|
-
readonly type: "bytes32[]";
|
|
2515
|
+
readonly name: "_userWallet";
|
|
2516
|
+
readonly type: "address";
|
|
1969
2517
|
}, {
|
|
1970
2518
|
readonly name: "_sig";
|
|
1971
2519
|
readonly type: "tuple";
|
|
@@ -1983,9 +2531,21 @@ export declare const abi: readonly [{
|
|
|
1983
2531
|
readonly outputs: readonly [{
|
|
1984
2532
|
readonly name: "";
|
|
1985
2533
|
readonly type: "uint256";
|
|
2534
|
+
}];
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly stateMutability: "view";
|
|
2537
|
+
readonly type: "function";
|
|
2538
|
+
readonly name: "canClaimLootFor";
|
|
2539
|
+
readonly inputs: readonly [{
|
|
2540
|
+
readonly name: "_agentWrapper";
|
|
2541
|
+
readonly type: "address";
|
|
1986
2542
|
}, {
|
|
2543
|
+
readonly name: "_userWallet";
|
|
2544
|
+
readonly type: "address";
|
|
2545
|
+
}];
|
|
2546
|
+
readonly outputs: readonly [{
|
|
1987
2547
|
readonly name: "";
|
|
1988
|
-
readonly type: "
|
|
2548
|
+
readonly type: "bool";
|
|
1989
2549
|
}];
|
|
1990
2550
|
}, {
|
|
1991
2551
|
readonly stateMutability: "nonpayable";
|
|
@@ -3875,8 +4435,15 @@ export type Contract = {
|
|
|
3875
4435
|
initiatedBlock: bigint;
|
|
3876
4436
|
confirmBlock: bigint;
|
|
3877
4437
|
}>;
|
|
4438
|
+
pendingOwnershipTimeLock: () => Promise<{
|
|
4439
|
+
newTimeLock: bigint;
|
|
4440
|
+
initiatedBlock: bigint;
|
|
4441
|
+
confirmBlock: bigint;
|
|
4442
|
+
currentOwner: `0x${string}`;
|
|
4443
|
+
}>;
|
|
3878
4444
|
MIN_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
3879
4445
|
MAX_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
4446
|
+
canClaimLootFor: (agentWrapper: `0x${string}`, userWallet: `0x${string}`) => Promise<boolean>;
|
|
3880
4447
|
getNonce: (userWallet: `0x${string}`) => Promise<bigint>;
|
|
3881
4448
|
currentNonce: (arg0: `0x${string}`) => Promise<bigint>;
|
|
3882
4449
|
};
|
|
@@ -3885,7 +4452,9 @@ export type Contract = {
|
|
|
3885
4452
|
confirmOwnershipChange: () => Promise<void>;
|
|
3886
4453
|
cancelOwnershipChange: () => Promise<void>;
|
|
3887
4454
|
setOwnershipTimeLock: (numBlocks: bigint) => Promise<void>;
|
|
3888
|
-
|
|
4455
|
+
confirmPendingOwnershipTimeLock: () => Promise<void>;
|
|
4456
|
+
cancelPendingOwnershipTimeLock: () => Promise<void>;
|
|
4457
|
+
transferFunds: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, recipient: `0x${string}`, asset?: `0x${string}`, amount?: bigint, sig?: {
|
|
3889
4458
|
signature: `0x${string}`;
|
|
3890
4459
|
nonce: bigint;
|
|
3891
4460
|
expiration: bigint;
|
|
@@ -3895,6 +4464,16 @@ export type Contract = {
|
|
|
3895
4464
|
nonce: bigint;
|
|
3896
4465
|
expiration: bigint;
|
|
3897
4466
|
}) => Promise<[bigint, bigint]>;
|
|
4467
|
+
createCheque: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, recipient: `0x${string}`, asset: `0x${string}`, amount: bigint, unlockNumBlocks: bigint, expiryNumBlocks: bigint, canManagerPay: boolean, canBePulled: boolean, sig?: {
|
|
4468
|
+
signature: `0x${string}`;
|
|
4469
|
+
nonce: bigint;
|
|
4470
|
+
expiration: bigint;
|
|
4471
|
+
}) => Promise<boolean>;
|
|
4472
|
+
payCheque: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, recipient: `0x${string}`, asset: `0x${string}`, amount: bigint, expectedCreationBlock: bigint, sig?: {
|
|
4473
|
+
signature: `0x${string}`;
|
|
4474
|
+
nonce: bigint;
|
|
4475
|
+
expiration: bigint;
|
|
4476
|
+
}) => Promise<[bigint, bigint]>;
|
|
3898
4477
|
depositForYield: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3899
4478
|
signature: `0x${string}`;
|
|
3900
4479
|
nonce: bigint;
|
|
@@ -3956,6 +4535,41 @@ export type Contract = {
|
|
|
3956
4535
|
nonce: bigint;
|
|
3957
4536
|
expiration: bigint;
|
|
3958
4537
|
}) => Promise<[bigint, bigint]>;
|
|
4538
|
+
confirmWhitelistAddr: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, whitelistAddr: `0x${string}`, sig?: {
|
|
4539
|
+
signature: `0x${string}`;
|
|
4540
|
+
nonce: bigint;
|
|
4541
|
+
expiration: bigint;
|
|
4542
|
+
}) => Promise<boolean>;
|
|
4543
|
+
cancelPendingWhitelistAddr: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, whitelistAddr: `0x${string}`, sig?: {
|
|
4544
|
+
signature: `0x${string}`;
|
|
4545
|
+
nonce: bigint;
|
|
4546
|
+
expiration: bigint;
|
|
4547
|
+
}) => Promise<boolean>;
|
|
4548
|
+
removeWhitelistAddr: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, whitelistAddr: `0x${string}`, sig?: {
|
|
4549
|
+
signature: `0x${string}`;
|
|
4550
|
+
nonce: bigint;
|
|
4551
|
+
expiration: bigint;
|
|
4552
|
+
}) => Promise<boolean>;
|
|
4553
|
+
removeSelfAsManager: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, sig?: {
|
|
4554
|
+
signature: `0x${string}`;
|
|
4555
|
+
nonce: bigint;
|
|
4556
|
+
expiration: bigint;
|
|
4557
|
+
}) => Promise<boolean>;
|
|
4558
|
+
claimAllLoot: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, sig?: {
|
|
4559
|
+
signature: `0x${string}`;
|
|
4560
|
+
nonce: bigint;
|
|
4561
|
+
expiration: bigint;
|
|
4562
|
+
}) => Promise<boolean>;
|
|
4563
|
+
claimRevShareAndBonusLoot: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, sig?: {
|
|
4564
|
+
signature: `0x${string}`;
|
|
4565
|
+
nonce: bigint;
|
|
4566
|
+
expiration: bigint;
|
|
4567
|
+
}) => Promise<bigint>;
|
|
4568
|
+
claimDepositRewards: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, sig?: {
|
|
4569
|
+
signature: `0x${string}`;
|
|
4570
|
+
nonce: bigint;
|
|
4571
|
+
expiration: bigint;
|
|
4572
|
+
}) => Promise<bigint>;
|
|
3959
4573
|
convertWethToEth: (agentWrapper: `0x${string}`, userWallet: `0x${string}`, amount?: bigint, sig?: {
|
|
3960
4574
|
signature: `0x${string}`;
|
|
3961
4575
|
nonce: bigint;
|
|
@@ -4021,7 +4635,10 @@ export type Contract = {
|
|
|
4021
4635
|
OwnershipChangeInitiated: (prevOwner: `0x${string}`, newOwner: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
4022
4636
|
OwnershipChangeConfirmed: (prevOwner: `0x${string}`, newOwner: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
4023
4637
|
OwnershipChangeCancelled: (cancelledOwner: `0x${string}`, cancelledBy: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
4638
|
+
PendingOwnershipTimeLockCancelled: (newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, cancelledBy: `0x${string}`) => Promise<void>;
|
|
4024
4639
|
OwnershipTimeLockSet: (numBlocks: bigint) => Promise<void>;
|
|
4640
|
+
PendingOwnershipTimeLockSet: (newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, currentOwner: `0x${string}`) => Promise<void>;
|
|
4641
|
+
PendingOwnershipTimeLockConfirmed: (oldTimeLock: bigint, newTimeLock: bigint, initiatedBlock: bigint, confirmBlock: bigint, confirmedBy: `0x${string}`) => Promise<void>;
|
|
4025
4642
|
};
|
|
4026
4643
|
};
|
|
4027
4644
|
export type Calls = keyof Contract['calls'];
|
|
@@ -4085,25 +4702,43 @@ export type SDK = {
|
|
|
4085
4702
|
topic: Address;
|
|
4086
4703
|
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'OwnershipChangeCancelled'>[];
|
|
4087
4704
|
};
|
|
4705
|
+
PendingOwnershipTimeLockCancelled: {
|
|
4706
|
+
topic: Address;
|
|
4707
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockCancelled'>[];
|
|
4708
|
+
};
|
|
4088
4709
|
OwnershipTimeLockSet: {
|
|
4089
4710
|
topic: Address;
|
|
4090
4711
|
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'OwnershipTimeLockSet'>[];
|
|
4091
4712
|
};
|
|
4713
|
+
PendingOwnershipTimeLockSet: {
|
|
4714
|
+
topic: Address;
|
|
4715
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockSet'>[];
|
|
4716
|
+
};
|
|
4717
|
+
PendingOwnershipTimeLockConfirmed: {
|
|
4718
|
+
topic: Address;
|
|
4719
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingOwnershipTimeLockConfirmed'>[];
|
|
4720
|
+
};
|
|
4092
4721
|
};
|
|
4093
4722
|
hasPendingOwnerChange: (...args: ExtractArgs<Contract['calls']['hasPendingOwnerChange']>) => Promise<CallReturn<'hasPendingOwnerChange'>>;
|
|
4094
4723
|
owner: (...args: ExtractArgs<Contract['calls']['owner']>) => Promise<CallReturn<'owner'>>;
|
|
4095
4724
|
ownershipTimeLock: (...args: ExtractArgs<Contract['calls']['ownershipTimeLock']>) => Promise<CallReturn<'ownershipTimeLock'>>;
|
|
4096
4725
|
pendingOwner: (...args: ExtractArgs<Contract['calls']['pendingOwner']>) => Promise<CallReturn<'pendingOwner'>>;
|
|
4726
|
+
pendingOwnershipTimeLock: (...args: ExtractArgs<Contract['calls']['pendingOwnershipTimeLock']>) => Promise<CallReturn<'pendingOwnershipTimeLock'>>;
|
|
4097
4727
|
MIN_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MIN_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MIN_OWNERSHIP_TIMELOCK'>>;
|
|
4098
4728
|
MAX_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MAX_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MAX_OWNERSHIP_TIMELOCK'>>;
|
|
4729
|
+
canClaimLootFor: (...args: ExtractArgs<Contract['calls']['canClaimLootFor']>) => Promise<CallReturn<'canClaimLootFor'>>;
|
|
4099
4730
|
getNonce: (...args: ExtractArgs<Contract['calls']['getNonce']>) => Promise<CallReturn<'getNonce'>>;
|
|
4100
4731
|
currentNonce: (...args: ExtractArgs<Contract['calls']['currentNonce']>) => Promise<CallReturn<'currentNonce'>>;
|
|
4101
4732
|
changeOwnership: (...args: ExtractArgs<Contract['mutations']['changeOwnership']>) => Promise<Address>;
|
|
4102
4733
|
confirmOwnershipChange: (...args: ExtractArgs<Contract['mutations']['confirmOwnershipChange']>) => Promise<Address>;
|
|
4103
4734
|
cancelOwnershipChange: (...args: ExtractArgs<Contract['mutations']['cancelOwnershipChange']>) => Promise<Address>;
|
|
4104
4735
|
setOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['setOwnershipTimeLock']>) => Promise<Address>;
|
|
4736
|
+
confirmPendingOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['confirmPendingOwnershipTimeLock']>) => Promise<Address>;
|
|
4737
|
+
cancelPendingOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['cancelPendingOwnershipTimeLock']>) => Promise<Address>;
|
|
4105
4738
|
transferFunds: (...args: ExtractArgs<Contract['mutations']['transferFunds']>) => Promise<Address>;
|
|
4106
4739
|
createAndPayCheque: (...args: ExtractArgs<Contract['mutations']['createAndPayCheque']>) => Promise<Address>;
|
|
4740
|
+
createCheque: (...args: ExtractArgs<Contract['mutations']['createCheque']>) => Promise<Address>;
|
|
4741
|
+
payCheque: (...args: ExtractArgs<Contract['mutations']['payCheque']>) => Promise<Address>;
|
|
4107
4742
|
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
4108
4743
|
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
4109
4744
|
rebalanceYieldPosition: (...args: ExtractArgs<Contract['mutations']['rebalanceYieldPosition']>) => Promise<Address>;
|
|
@@ -4115,6 +4750,13 @@ export type SDK = {
|
|
|
4115
4750
|
borrow: (...args: ExtractArgs<Contract['mutations']['borrow']>) => Promise<Address>;
|
|
4116
4751
|
repayDebt: (...args: ExtractArgs<Contract['mutations']['repayDebt']>) => Promise<Address>;
|
|
4117
4752
|
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
4753
|
+
confirmWhitelistAddr: (...args: ExtractArgs<Contract['mutations']['confirmWhitelistAddr']>) => Promise<Address>;
|
|
4754
|
+
cancelPendingWhitelistAddr: (...args: ExtractArgs<Contract['mutations']['cancelPendingWhitelistAddr']>) => Promise<Address>;
|
|
4755
|
+
removeWhitelistAddr: (...args: ExtractArgs<Contract['mutations']['removeWhitelistAddr']>) => Promise<Address>;
|
|
4756
|
+
removeSelfAsManager: (...args: ExtractArgs<Contract['mutations']['removeSelfAsManager']>) => Promise<Address>;
|
|
4757
|
+
claimAllLoot: (...args: ExtractArgs<Contract['mutations']['claimAllLoot']>) => Promise<Address>;
|
|
4758
|
+
claimRevShareAndBonusLoot: (...args: ExtractArgs<Contract['mutations']['claimRevShareAndBonusLoot']>) => Promise<Address>;
|
|
4759
|
+
claimDepositRewards: (...args: ExtractArgs<Contract['mutations']['claimDepositRewards']>) => Promise<Address>;
|
|
4118
4760
|
convertWethToEth: (...args: ExtractArgs<Contract['mutations']['convertWethToEth']>) => Promise<Address>;
|
|
4119
4761
|
convertEthToWeth: (...args: ExtractArgs<Contract['mutations']['convertEthToWeth']>) => Promise<Address>;
|
|
4120
4762
|
addLiquidity: (...args: ExtractArgs<Contract['mutations']['addLiquidity']>) => Promise<Address>;
|