@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
|
@@ -9,6 +9,9 @@ export declare const abi: readonly [{
|
|
|
9
9
|
readonly inputs: readonly [{
|
|
10
10
|
readonly name: "_agentSender";
|
|
11
11
|
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly name: "_agentWrapper";
|
|
14
|
+
readonly type: "address";
|
|
12
15
|
}, {
|
|
13
16
|
readonly name: "_userWallet";
|
|
14
17
|
readonly type: "address";
|
|
@@ -33,6 +36,9 @@ export declare const abi: readonly [{
|
|
|
33
36
|
readonly inputs: readonly [{
|
|
34
37
|
readonly name: "_agentSender";
|
|
35
38
|
readonly type: "address";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "_agentWrapper";
|
|
41
|
+
readonly type: "address";
|
|
36
42
|
}, {
|
|
37
43
|
readonly name: "_userWallet";
|
|
38
44
|
readonly type: "address";
|
|
@@ -70,6 +76,9 @@ export declare const abi: readonly [{
|
|
|
70
76
|
readonly inputs: readonly [{
|
|
71
77
|
readonly name: "_agentSender";
|
|
72
78
|
readonly type: "address";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "_agentWrapper";
|
|
81
|
+
readonly type: "address";
|
|
73
82
|
}, {
|
|
74
83
|
readonly name: "_userWallet";
|
|
75
84
|
readonly type: "address";
|
|
@@ -110,6 +119,9 @@ export declare const abi: readonly [{
|
|
|
110
119
|
readonly inputs: readonly [{
|
|
111
120
|
readonly name: "_agentSender";
|
|
112
121
|
readonly type: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "_agentWrapper";
|
|
124
|
+
readonly type: "address";
|
|
113
125
|
}, {
|
|
114
126
|
readonly name: "_userWallet";
|
|
115
127
|
readonly type: "address";
|
|
@@ -153,6 +165,9 @@ export declare const abi: readonly [{
|
|
|
153
165
|
readonly inputs: readonly [{
|
|
154
166
|
readonly name: "_agentSender";
|
|
155
167
|
readonly type: "address";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "_agentWrapper";
|
|
170
|
+
readonly type: "address";
|
|
156
171
|
}, {
|
|
157
172
|
readonly name: "_userWallet";
|
|
158
173
|
readonly type: "address";
|
|
@@ -199,6 +214,9 @@ export declare const abi: readonly [{
|
|
|
199
214
|
readonly inputs: readonly [{
|
|
200
215
|
readonly name: "_agentSender";
|
|
201
216
|
readonly type: "address";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "_agentWrapper";
|
|
219
|
+
readonly type: "address";
|
|
202
220
|
}, {
|
|
203
221
|
readonly name: "_userWallet";
|
|
204
222
|
readonly type: "address";
|
|
@@ -264,6 +282,9 @@ export declare const abi: readonly [{
|
|
|
264
282
|
readonly inputs: readonly [{
|
|
265
283
|
readonly name: "_agentSender";
|
|
266
284
|
readonly type: "address";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "_agentWrapper";
|
|
287
|
+
readonly type: "address";
|
|
267
288
|
}, {
|
|
268
289
|
readonly name: "_userWallet";
|
|
269
290
|
readonly type: "address";
|
|
@@ -345,6 +366,9 @@ export declare const abi: readonly [{
|
|
|
345
366
|
readonly inputs: readonly [{
|
|
346
367
|
readonly name: "_agentSender";
|
|
347
368
|
readonly type: "address";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "_agentWrapper";
|
|
371
|
+
readonly type: "address";
|
|
348
372
|
}, {
|
|
349
373
|
readonly name: "_userWallet";
|
|
350
374
|
readonly type: "address";
|
|
@@ -429,6 +453,9 @@ export declare const abi: readonly [{
|
|
|
429
453
|
readonly inputs: readonly [{
|
|
430
454
|
readonly name: "_agentSender";
|
|
431
455
|
readonly type: "address";
|
|
456
|
+
}, {
|
|
457
|
+
readonly name: "_agentWrapper";
|
|
458
|
+
readonly type: "address";
|
|
432
459
|
}, {
|
|
433
460
|
readonly name: "_userWallet";
|
|
434
461
|
readonly type: "address";
|
|
@@ -516,6 +543,9 @@ export declare const abi: readonly [{
|
|
|
516
543
|
readonly inputs: readonly [{
|
|
517
544
|
readonly name: "_agentSender";
|
|
518
545
|
readonly type: "address";
|
|
546
|
+
}, {
|
|
547
|
+
readonly name: "_agentWrapper";
|
|
548
|
+
readonly type: "address";
|
|
519
549
|
}, {
|
|
520
550
|
readonly name: "_userWallet";
|
|
521
551
|
readonly type: "address";
|
|
@@ -540,6 +570,9 @@ export declare const abi: readonly [{
|
|
|
540
570
|
readonly inputs: readonly [{
|
|
541
571
|
readonly name: "_agentSender";
|
|
542
572
|
readonly type: "address";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "_agentWrapper";
|
|
575
|
+
readonly type: "address";
|
|
543
576
|
}, {
|
|
544
577
|
readonly name: "_userWallet";
|
|
545
578
|
readonly type: "address";
|
|
@@ -577,6 +610,9 @@ export declare const abi: readonly [{
|
|
|
577
610
|
readonly inputs: readonly [{
|
|
578
611
|
readonly name: "_agentSender";
|
|
579
612
|
readonly type: "address";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "_agentWrapper";
|
|
615
|
+
readonly type: "address";
|
|
580
616
|
}, {
|
|
581
617
|
readonly name: "_userWallet";
|
|
582
618
|
readonly type: "address";
|
|
@@ -627,6 +663,9 @@ export declare const abi: readonly [{
|
|
|
627
663
|
readonly inputs: readonly [{
|
|
628
664
|
readonly name: "_agentSender";
|
|
629
665
|
readonly type: "address";
|
|
666
|
+
}, {
|
|
667
|
+
readonly name: "_agentWrapper";
|
|
668
|
+
readonly type: "address";
|
|
630
669
|
}, {
|
|
631
670
|
readonly name: "_userWallet";
|
|
632
671
|
readonly type: "address";
|
|
@@ -696,6 +735,9 @@ export declare const abi: readonly [{
|
|
|
696
735
|
readonly inputs: readonly [{
|
|
697
736
|
readonly name: "_agentSender";
|
|
698
737
|
readonly type: "address";
|
|
738
|
+
}, {
|
|
739
|
+
readonly name: "_agentWrapper";
|
|
740
|
+
readonly type: "address";
|
|
699
741
|
}, {
|
|
700
742
|
readonly name: "_userWallet";
|
|
701
743
|
readonly type: "address";
|
|
@@ -768,6 +810,9 @@ export declare const abi: readonly [{
|
|
|
768
810
|
readonly inputs: readonly [{
|
|
769
811
|
readonly name: "_agentSender";
|
|
770
812
|
readonly type: "address";
|
|
813
|
+
}, {
|
|
814
|
+
readonly name: "_agentWrapper";
|
|
815
|
+
readonly type: "address";
|
|
771
816
|
}, {
|
|
772
817
|
readonly name: "_userWallet";
|
|
773
818
|
readonly type: "address";
|
|
@@ -843,6 +888,9 @@ export declare const abi: readonly [{
|
|
|
843
888
|
readonly inputs: readonly [{
|
|
844
889
|
readonly name: "_agentSender";
|
|
845
890
|
readonly type: "address";
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "_agentWrapper";
|
|
893
|
+
readonly type: "address";
|
|
846
894
|
}, {
|
|
847
895
|
readonly name: "_userWallet";
|
|
848
896
|
readonly type: "address";
|
|
@@ -931,6 +979,9 @@ export declare const abi: readonly [{
|
|
|
931
979
|
readonly inputs: readonly [{
|
|
932
980
|
readonly name: "_agentSender";
|
|
933
981
|
readonly type: "address";
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "_agentWrapper";
|
|
984
|
+
readonly type: "address";
|
|
934
985
|
}, {
|
|
935
986
|
readonly name: "_userWallet";
|
|
936
987
|
readonly type: "address";
|
|
@@ -1022,6 +1073,9 @@ export declare const abi: readonly [{
|
|
|
1022
1073
|
readonly inputs: readonly [{
|
|
1023
1074
|
readonly name: "_agentSender";
|
|
1024
1075
|
readonly type: "address";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly name: "_agentWrapper";
|
|
1078
|
+
readonly type: "address";
|
|
1025
1079
|
}, {
|
|
1026
1080
|
readonly name: "_userWallet";
|
|
1027
1081
|
readonly type: "address";
|
|
@@ -1116,6 +1170,9 @@ export declare const abi: readonly [{
|
|
|
1116
1170
|
readonly inputs: readonly [{
|
|
1117
1171
|
readonly name: "_agentSender";
|
|
1118
1172
|
readonly type: "address";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly name: "_agentWrapper";
|
|
1175
|
+
readonly type: "address";
|
|
1119
1176
|
}, {
|
|
1120
1177
|
readonly name: "_userWallet";
|
|
1121
1178
|
readonly type: "address";
|
|
@@ -1137,6 +1194,9 @@ export declare const abi: readonly [{
|
|
|
1137
1194
|
readonly inputs: readonly [{
|
|
1138
1195
|
readonly name: "_agentSender";
|
|
1139
1196
|
readonly type: "address";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly name: "_agentWrapper";
|
|
1199
|
+
readonly type: "address";
|
|
1140
1200
|
}, {
|
|
1141
1201
|
readonly name: "_userWallet";
|
|
1142
1202
|
readonly type: "address";
|
|
@@ -1171,6 +1231,9 @@ export declare const abi: readonly [{
|
|
|
1171
1231
|
readonly inputs: readonly [{
|
|
1172
1232
|
readonly name: "_agentSender";
|
|
1173
1233
|
readonly type: "address";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly name: "_agentWrapper";
|
|
1236
|
+
readonly type: "address";
|
|
1174
1237
|
}, {
|
|
1175
1238
|
readonly name: "_userWallet";
|
|
1176
1239
|
readonly type: "address";
|
|
@@ -1224,6 +1287,9 @@ export declare const abi: readonly [{
|
|
|
1224
1287
|
readonly inputs: readonly [{
|
|
1225
1288
|
readonly name: "_agentSender";
|
|
1226
1289
|
readonly type: "address";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly name: "_agentWrapper";
|
|
1292
|
+
readonly type: "address";
|
|
1227
1293
|
}, {
|
|
1228
1294
|
readonly name: "_userWallet";
|
|
1229
1295
|
readonly type: "address";
|
|
@@ -1293,6 +1359,9 @@ export declare const abi: readonly [{
|
|
|
1293
1359
|
readonly inputs: readonly [{
|
|
1294
1360
|
readonly name: "_agentSender";
|
|
1295
1361
|
readonly type: "address";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly name: "_agentWrapper";
|
|
1364
|
+
readonly type: "address";
|
|
1296
1365
|
}, {
|
|
1297
1366
|
readonly name: "_userWallet";
|
|
1298
1367
|
readonly type: "address";
|
|
@@ -1375,6 +1444,9 @@ export declare const abi: readonly [{
|
|
|
1375
1444
|
readonly inputs: readonly [{
|
|
1376
1445
|
readonly name: "_agentSender";
|
|
1377
1446
|
readonly type: "address";
|
|
1447
|
+
}, {
|
|
1448
|
+
readonly name: "_agentWrapper";
|
|
1449
|
+
readonly type: "address";
|
|
1378
1450
|
}, {
|
|
1379
1451
|
readonly name: "_userWallet";
|
|
1380
1452
|
readonly type: "address";
|
|
@@ -1460,6 +1532,9 @@ export declare const abi: readonly [{
|
|
|
1460
1532
|
readonly inputs: readonly [{
|
|
1461
1533
|
readonly name: "_agentSender";
|
|
1462
1534
|
readonly type: "address";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly name: "_agentWrapper";
|
|
1537
|
+
readonly type: "address";
|
|
1463
1538
|
}, {
|
|
1464
1539
|
readonly name: "_userWallet";
|
|
1465
1540
|
readonly type: "address";
|
|
@@ -1548,6 +1623,9 @@ export declare const abi: readonly [{
|
|
|
1548
1623
|
readonly inputs: readonly [{
|
|
1549
1624
|
readonly name: "_agentSender";
|
|
1550
1625
|
readonly type: "address";
|
|
1626
|
+
}, {
|
|
1627
|
+
readonly name: "_agentWrapper";
|
|
1628
|
+
readonly type: "address";
|
|
1551
1629
|
}, {
|
|
1552
1630
|
readonly name: "_userWallet";
|
|
1553
1631
|
readonly type: "address";
|
|
@@ -1569,6 +1647,9 @@ export declare const abi: readonly [{
|
|
|
1569
1647
|
readonly inputs: readonly [{
|
|
1570
1648
|
readonly name: "_agentSender";
|
|
1571
1649
|
readonly type: "address";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly name: "_agentWrapper";
|
|
1652
|
+
readonly type: "address";
|
|
1572
1653
|
}, {
|
|
1573
1654
|
readonly name: "_userWallet";
|
|
1574
1655
|
readonly type: "address";
|
|
@@ -1593,6 +1674,9 @@ export declare const abi: readonly [{
|
|
|
1593
1674
|
readonly inputs: readonly [{
|
|
1594
1675
|
readonly name: "_agentSender";
|
|
1595
1676
|
readonly type: "address";
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly name: "_agentWrapper";
|
|
1679
|
+
readonly type: "address";
|
|
1596
1680
|
}, {
|
|
1597
1681
|
readonly name: "_userWallet";
|
|
1598
1682
|
readonly type: "address";
|
|
@@ -1620,6 +1704,9 @@ export declare const abi: readonly [{
|
|
|
1620
1704
|
readonly inputs: readonly [{
|
|
1621
1705
|
readonly name: "_agentSender";
|
|
1622
1706
|
readonly type: "address";
|
|
1707
|
+
}, {
|
|
1708
|
+
readonly name: "_agentWrapper";
|
|
1709
|
+
readonly type: "address";
|
|
1623
1710
|
}, {
|
|
1624
1711
|
readonly name: "_userWallet";
|
|
1625
1712
|
readonly type: "address";
|
|
@@ -1650,6 +1737,9 @@ export declare const abi: readonly [{
|
|
|
1650
1737
|
readonly inputs: readonly [{
|
|
1651
1738
|
readonly name: "_agentSender";
|
|
1652
1739
|
readonly type: "address";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly name: "_agentWrapper";
|
|
1742
|
+
readonly type: "address";
|
|
1653
1743
|
}, {
|
|
1654
1744
|
readonly name: "_userWallet";
|
|
1655
1745
|
readonly type: "address";
|
|
@@ -1683,6 +1773,9 @@ export declare const abi: readonly [{
|
|
|
1683
1773
|
readonly inputs: readonly [{
|
|
1684
1774
|
readonly name: "_agentSender";
|
|
1685
1775
|
readonly type: "address";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly name: "_agentWrapper";
|
|
1778
|
+
readonly type: "address";
|
|
1686
1779
|
}, {
|
|
1687
1780
|
readonly name: "_userWallet";
|
|
1688
1781
|
readonly type: "address";
|
|
@@ -1735,6 +1828,9 @@ export declare const abi: readonly [{
|
|
|
1735
1828
|
readonly inputs: readonly [{
|
|
1736
1829
|
readonly name: "_agentSender";
|
|
1737
1830
|
readonly type: "address";
|
|
1831
|
+
}, {
|
|
1832
|
+
readonly name: "_agentWrapper";
|
|
1833
|
+
readonly type: "address";
|
|
1738
1834
|
}, {
|
|
1739
1835
|
readonly name: "_userWallet";
|
|
1740
1836
|
readonly type: "address";
|
|
@@ -1803,6 +1899,9 @@ export declare const abi: readonly [{
|
|
|
1803
1899
|
readonly inputs: readonly [{
|
|
1804
1900
|
readonly name: "_agentSender";
|
|
1805
1901
|
readonly type: "address";
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly name: "_agentWrapper";
|
|
1904
|
+
readonly type: "address";
|
|
1806
1905
|
}, {
|
|
1807
1906
|
readonly name: "_userWallet";
|
|
1808
1907
|
readonly type: "address";
|
|
@@ -1874,6 +1973,9 @@ export declare const abi: readonly [{
|
|
|
1874
1973
|
readonly inputs: readonly [{
|
|
1875
1974
|
readonly name: "_agentSender";
|
|
1876
1975
|
readonly type: "address";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly name: "_agentWrapper";
|
|
1978
|
+
readonly type: "address";
|
|
1877
1979
|
}, {
|
|
1878
1980
|
readonly name: "_userWallet";
|
|
1879
1981
|
readonly type: "address";
|
|
@@ -1958,6 +2060,9 @@ export declare const abi: readonly [{
|
|
|
1958
2060
|
readonly inputs: readonly [{
|
|
1959
2061
|
readonly name: "_agentSender";
|
|
1960
2062
|
readonly type: "address";
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly name: "_agentWrapper";
|
|
2065
|
+
readonly type: "address";
|
|
1961
2066
|
}, {
|
|
1962
2067
|
readonly name: "_userWallet";
|
|
1963
2068
|
readonly type: "address";
|
|
@@ -2045,6 +2150,9 @@ export declare const abi: readonly [{
|
|
|
2045
2150
|
readonly inputs: readonly [{
|
|
2046
2151
|
readonly name: "_agentSender";
|
|
2047
2152
|
readonly type: "address";
|
|
2153
|
+
}, {
|
|
2154
|
+
readonly name: "_agentWrapper";
|
|
2155
|
+
readonly type: "address";
|
|
2048
2156
|
}, {
|
|
2049
2157
|
readonly name: "_userWallet";
|
|
2050
2158
|
readonly type: "address";
|
|
@@ -2128,81 +2236,905 @@ export declare const abi: readonly [{
|
|
|
2128
2236
|
readonly name: "";
|
|
2129
2237
|
readonly type: "uint256";
|
|
2130
2238
|
}];
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
},
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
},
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
}
|
|
2239
|
+
}, {
|
|
2240
|
+
readonly stateMutability: "view";
|
|
2241
|
+
readonly type: "function";
|
|
2242
|
+
readonly name: "getIssuePullChequesHash";
|
|
2243
|
+
readonly inputs: readonly [{
|
|
2244
|
+
readonly name: "_agentSender";
|
|
2245
|
+
readonly type: "address";
|
|
2246
|
+
}, {
|
|
2247
|
+
readonly name: "_agentWrapper";
|
|
2248
|
+
readonly type: "address";
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly name: "_userWallet";
|
|
2251
|
+
readonly type: "address";
|
|
2252
|
+
}, {
|
|
2253
|
+
readonly name: "_cheques";
|
|
2254
|
+
readonly type: "tuple[]";
|
|
2255
|
+
readonly components: readonly [{
|
|
2256
|
+
readonly name: "recipient";
|
|
2257
|
+
readonly type: "address";
|
|
2258
|
+
}, {
|
|
2259
|
+
readonly name: "asset";
|
|
2260
|
+
readonly type: "address";
|
|
2261
|
+
}, {
|
|
2262
|
+
readonly name: "amount";
|
|
2263
|
+
readonly type: "uint256";
|
|
2264
|
+
}, {
|
|
2265
|
+
readonly name: "unlockNumBlocks";
|
|
2266
|
+
readonly type: "uint256";
|
|
2267
|
+
}, {
|
|
2268
|
+
readonly name: "expiryNumBlocks";
|
|
2269
|
+
readonly type: "uint256";
|
|
2270
|
+
}, {
|
|
2271
|
+
readonly name: "canManagerPay";
|
|
2272
|
+
readonly type: "bool";
|
|
2273
|
+
}, {
|
|
2274
|
+
readonly name: "canBePulled";
|
|
2275
|
+
readonly type: "bool";
|
|
2276
|
+
}];
|
|
2277
|
+
}];
|
|
2278
|
+
readonly outputs: readonly [{
|
|
2279
|
+
readonly name: "";
|
|
2280
|
+
readonly type: "bytes32";
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly name: "";
|
|
2283
|
+
readonly type: "uint256";
|
|
2284
|
+
}, {
|
|
2285
|
+
readonly name: "";
|
|
2286
|
+
readonly type: "uint256";
|
|
2287
|
+
}];
|
|
2288
|
+
}, {
|
|
2289
|
+
readonly stateMutability: "view";
|
|
2290
|
+
readonly type: "function";
|
|
2291
|
+
readonly name: "getIssuePullChequesHash";
|
|
2292
|
+
readonly inputs: readonly [{
|
|
2293
|
+
readonly name: "_agentSender";
|
|
2294
|
+
readonly type: "address";
|
|
2295
|
+
}, {
|
|
2296
|
+
readonly name: "_agentWrapper";
|
|
2297
|
+
readonly type: "address";
|
|
2298
|
+
}, {
|
|
2299
|
+
readonly name: "_userWallet";
|
|
2300
|
+
readonly type: "address";
|
|
2301
|
+
}, {
|
|
2302
|
+
readonly name: "_cheques";
|
|
2303
|
+
readonly type: "tuple[]";
|
|
2304
|
+
readonly components: readonly [{
|
|
2305
|
+
readonly name: "recipient";
|
|
2306
|
+
readonly type: "address";
|
|
2307
|
+
}, {
|
|
2308
|
+
readonly name: "asset";
|
|
2309
|
+
readonly type: "address";
|
|
2310
|
+
}, {
|
|
2311
|
+
readonly name: "amount";
|
|
2312
|
+
readonly type: "uint256";
|
|
2313
|
+
}, {
|
|
2314
|
+
readonly name: "unlockNumBlocks";
|
|
2315
|
+
readonly type: "uint256";
|
|
2316
|
+
}, {
|
|
2317
|
+
readonly name: "expiryNumBlocks";
|
|
2318
|
+
readonly type: "uint256";
|
|
2319
|
+
}, {
|
|
2320
|
+
readonly name: "canManagerPay";
|
|
2321
|
+
readonly type: "bool";
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly name: "canBePulled";
|
|
2324
|
+
readonly type: "bool";
|
|
2325
|
+
}];
|
|
2326
|
+
}, {
|
|
2327
|
+
readonly name: "_nonce";
|
|
2328
|
+
readonly type: "uint256";
|
|
2329
|
+
}];
|
|
2330
|
+
readonly outputs: readonly [{
|
|
2331
|
+
readonly name: "";
|
|
2332
|
+
readonly type: "bytes32";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly name: "";
|
|
2335
|
+
readonly type: "uint256";
|
|
2336
|
+
}, {
|
|
2337
|
+
readonly name: "";
|
|
2338
|
+
readonly type: "uint256";
|
|
2339
|
+
}];
|
|
2340
|
+
}, {
|
|
2341
|
+
readonly stateMutability: "view";
|
|
2342
|
+
readonly type: "function";
|
|
2343
|
+
readonly name: "getIssuePullChequesHash";
|
|
2344
|
+
readonly inputs: readonly [{
|
|
2345
|
+
readonly name: "_agentSender";
|
|
2346
|
+
readonly type: "address";
|
|
2347
|
+
}, {
|
|
2348
|
+
readonly name: "_agentWrapper";
|
|
2349
|
+
readonly type: "address";
|
|
2350
|
+
}, {
|
|
2351
|
+
readonly name: "_userWallet";
|
|
2352
|
+
readonly type: "address";
|
|
2353
|
+
}, {
|
|
2354
|
+
readonly name: "_cheques";
|
|
2355
|
+
readonly type: "tuple[]";
|
|
2356
|
+
readonly components: readonly [{
|
|
2357
|
+
readonly name: "recipient";
|
|
2358
|
+
readonly type: "address";
|
|
2359
|
+
}, {
|
|
2360
|
+
readonly name: "asset";
|
|
2361
|
+
readonly type: "address";
|
|
2362
|
+
}, {
|
|
2363
|
+
readonly name: "amount";
|
|
2364
|
+
readonly type: "uint256";
|
|
2365
|
+
}, {
|
|
2366
|
+
readonly name: "unlockNumBlocks";
|
|
2367
|
+
readonly type: "uint256";
|
|
2368
|
+
}, {
|
|
2369
|
+
readonly name: "expiryNumBlocks";
|
|
2370
|
+
readonly type: "uint256";
|
|
2371
|
+
}, {
|
|
2372
|
+
readonly name: "canManagerPay";
|
|
2373
|
+
readonly type: "bool";
|
|
2374
|
+
}, {
|
|
2375
|
+
readonly name: "canBePulled";
|
|
2376
|
+
readonly type: "bool";
|
|
2377
|
+
}];
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly name: "_nonce";
|
|
2380
|
+
readonly type: "uint256";
|
|
2381
|
+
}, {
|
|
2382
|
+
readonly name: "_expiration";
|
|
2383
|
+
readonly type: "uint256";
|
|
2384
|
+
}];
|
|
2385
|
+
readonly outputs: readonly [{
|
|
2386
|
+
readonly name: "";
|
|
2387
|
+
readonly type: "bytes32";
|
|
2388
|
+
}, {
|
|
2389
|
+
readonly name: "";
|
|
2390
|
+
readonly type: "uint256";
|
|
2391
|
+
}, {
|
|
2392
|
+
readonly name: "";
|
|
2393
|
+
readonly type: "uint256";
|
|
2394
|
+
}];
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly stateMutability: "view";
|
|
2397
|
+
readonly type: "function";
|
|
2398
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2399
|
+
readonly inputs: readonly [{
|
|
2400
|
+
readonly name: "_agentSender";
|
|
2401
|
+
readonly type: "address";
|
|
2402
|
+
}, {
|
|
2403
|
+
readonly name: "_agentWrapper";
|
|
2404
|
+
readonly type: "address";
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly name: "_userWallet";
|
|
2407
|
+
readonly type: "address";
|
|
2408
|
+
}];
|
|
2409
|
+
readonly outputs: readonly [{
|
|
2410
|
+
readonly name: "";
|
|
2411
|
+
readonly type: "bytes32";
|
|
2412
|
+
}, {
|
|
2413
|
+
readonly name: "";
|
|
2414
|
+
readonly type: "uint256";
|
|
2415
|
+
}, {
|
|
2416
|
+
readonly name: "";
|
|
2417
|
+
readonly type: "uint256";
|
|
2418
|
+
}];
|
|
2419
|
+
}, {
|
|
2420
|
+
readonly stateMutability: "view";
|
|
2421
|
+
readonly type: "function";
|
|
2422
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2423
|
+
readonly inputs: readonly [{
|
|
2424
|
+
readonly name: "_agentSender";
|
|
2425
|
+
readonly type: "address";
|
|
2426
|
+
}, {
|
|
2427
|
+
readonly name: "_agentWrapper";
|
|
2428
|
+
readonly type: "address";
|
|
2429
|
+
}, {
|
|
2430
|
+
readonly name: "_userWallet";
|
|
2431
|
+
readonly type: "address";
|
|
2432
|
+
}, {
|
|
2433
|
+
readonly name: "_confirmAddrs";
|
|
2434
|
+
readonly type: "address[]";
|
|
2435
|
+
}];
|
|
2436
|
+
readonly outputs: readonly [{
|
|
2437
|
+
readonly name: "";
|
|
2438
|
+
readonly type: "bytes32";
|
|
2439
|
+
}, {
|
|
2440
|
+
readonly name: "";
|
|
2441
|
+
readonly type: "uint256";
|
|
2442
|
+
}, {
|
|
2443
|
+
readonly name: "";
|
|
2444
|
+
readonly type: "uint256";
|
|
2445
|
+
}];
|
|
2446
|
+
}, {
|
|
2447
|
+
readonly stateMutability: "view";
|
|
2448
|
+
readonly type: "function";
|
|
2449
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2450
|
+
readonly inputs: readonly [{
|
|
2451
|
+
readonly name: "_agentSender";
|
|
2452
|
+
readonly type: "address";
|
|
2453
|
+
}, {
|
|
2454
|
+
readonly name: "_agentWrapper";
|
|
2455
|
+
readonly type: "address";
|
|
2456
|
+
}, {
|
|
2457
|
+
readonly name: "_userWallet";
|
|
2458
|
+
readonly type: "address";
|
|
2459
|
+
}, {
|
|
2460
|
+
readonly name: "_confirmAddrs";
|
|
2461
|
+
readonly type: "address[]";
|
|
2462
|
+
}, {
|
|
2463
|
+
readonly name: "_cancelPendingAddrs";
|
|
2464
|
+
readonly type: "address[]";
|
|
2465
|
+
}];
|
|
2466
|
+
readonly outputs: readonly [{
|
|
2467
|
+
readonly name: "";
|
|
2468
|
+
readonly type: "bytes32";
|
|
2469
|
+
}, {
|
|
2470
|
+
readonly name: "";
|
|
2471
|
+
readonly type: "uint256";
|
|
2472
|
+
}, {
|
|
2473
|
+
readonly name: "";
|
|
2474
|
+
readonly type: "uint256";
|
|
2475
|
+
}];
|
|
2476
|
+
}, {
|
|
2477
|
+
readonly stateMutability: "view";
|
|
2478
|
+
readonly type: "function";
|
|
2479
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2480
|
+
readonly inputs: readonly [{
|
|
2481
|
+
readonly name: "_agentSender";
|
|
2482
|
+
readonly type: "address";
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly name: "_agentWrapper";
|
|
2485
|
+
readonly type: "address";
|
|
2486
|
+
}, {
|
|
2487
|
+
readonly name: "_userWallet";
|
|
2488
|
+
readonly type: "address";
|
|
2489
|
+
}, {
|
|
2490
|
+
readonly name: "_confirmAddrs";
|
|
2491
|
+
readonly type: "address[]";
|
|
2492
|
+
}, {
|
|
2493
|
+
readonly name: "_cancelPendingAddrs";
|
|
2494
|
+
readonly type: "address[]";
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly name: "_removeAddrs";
|
|
2497
|
+
readonly type: "address[]";
|
|
2498
|
+
}];
|
|
2499
|
+
readonly outputs: readonly [{
|
|
2500
|
+
readonly name: "";
|
|
2501
|
+
readonly type: "bytes32";
|
|
2502
|
+
}, {
|
|
2503
|
+
readonly name: "";
|
|
2504
|
+
readonly type: "uint256";
|
|
2505
|
+
}, {
|
|
2506
|
+
readonly name: "";
|
|
2507
|
+
readonly type: "uint256";
|
|
2508
|
+
}];
|
|
2509
|
+
}, {
|
|
2510
|
+
readonly stateMutability: "view";
|
|
2511
|
+
readonly type: "function";
|
|
2512
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2513
|
+
readonly inputs: readonly [{
|
|
2514
|
+
readonly name: "_agentSender";
|
|
2515
|
+
readonly type: "address";
|
|
2516
|
+
}, {
|
|
2517
|
+
readonly name: "_agentWrapper";
|
|
2518
|
+
readonly type: "address";
|
|
2519
|
+
}, {
|
|
2520
|
+
readonly name: "_userWallet";
|
|
2521
|
+
readonly type: "address";
|
|
2522
|
+
}, {
|
|
2523
|
+
readonly name: "_confirmAddrs";
|
|
2524
|
+
readonly type: "address[]";
|
|
2525
|
+
}, {
|
|
2526
|
+
readonly name: "_cancelPendingAddrs";
|
|
2527
|
+
readonly type: "address[]";
|
|
2528
|
+
}, {
|
|
2529
|
+
readonly name: "_removeAddrs";
|
|
2530
|
+
readonly type: "address[]";
|
|
2531
|
+
}, {
|
|
2532
|
+
readonly name: "_nonce";
|
|
2533
|
+
readonly type: "uint256";
|
|
2534
|
+
}];
|
|
2535
|
+
readonly outputs: readonly [{
|
|
2536
|
+
readonly name: "";
|
|
2537
|
+
readonly type: "bytes32";
|
|
2538
|
+
}, {
|
|
2539
|
+
readonly name: "";
|
|
2540
|
+
readonly type: "uint256";
|
|
2541
|
+
}, {
|
|
2542
|
+
readonly name: "";
|
|
2543
|
+
readonly type: "uint256";
|
|
2544
|
+
}];
|
|
2545
|
+
}, {
|
|
2546
|
+
readonly stateMutability: "view";
|
|
2547
|
+
readonly type: "function";
|
|
2548
|
+
readonly name: "getWhitelistMaintenanceHash";
|
|
2549
|
+
readonly inputs: readonly [{
|
|
2550
|
+
readonly name: "_agentSender";
|
|
2551
|
+
readonly type: "address";
|
|
2552
|
+
}, {
|
|
2553
|
+
readonly name: "_agentWrapper";
|
|
2554
|
+
readonly type: "address";
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly name: "_userWallet";
|
|
2557
|
+
readonly type: "address";
|
|
2558
|
+
}, {
|
|
2559
|
+
readonly name: "_confirmAddrs";
|
|
2560
|
+
readonly type: "address[]";
|
|
2561
|
+
}, {
|
|
2562
|
+
readonly name: "_cancelPendingAddrs";
|
|
2563
|
+
readonly type: "address[]";
|
|
2564
|
+
}, {
|
|
2565
|
+
readonly name: "_removeAddrs";
|
|
2566
|
+
readonly type: "address[]";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly name: "_nonce";
|
|
2569
|
+
readonly type: "uint256";
|
|
2570
|
+
}, {
|
|
2571
|
+
readonly name: "_expiration";
|
|
2572
|
+
readonly type: "uint256";
|
|
2573
|
+
}];
|
|
2574
|
+
readonly outputs: readonly [{
|
|
2575
|
+
readonly name: "";
|
|
2576
|
+
readonly type: "bytes32";
|
|
2577
|
+
}, {
|
|
2578
|
+
readonly name: "";
|
|
2579
|
+
readonly type: "uint256";
|
|
2580
|
+
}, {
|
|
2581
|
+
readonly name: "";
|
|
2582
|
+
readonly type: "uint256";
|
|
2583
|
+
}];
|
|
2584
|
+
}, {
|
|
2585
|
+
readonly stateMutability: "view";
|
|
2586
|
+
readonly type: "function";
|
|
2587
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2588
|
+
readonly inputs: readonly [{
|
|
2589
|
+
readonly name: "_agentSender";
|
|
2590
|
+
readonly type: "address";
|
|
2591
|
+
}, {
|
|
2592
|
+
readonly name: "_agentWrapper";
|
|
2593
|
+
readonly type: "address";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly name: "_userWallet";
|
|
2596
|
+
readonly type: "address";
|
|
2597
|
+
}];
|
|
2598
|
+
readonly outputs: readonly [{
|
|
2599
|
+
readonly name: "";
|
|
2600
|
+
readonly type: "bytes32";
|
|
2601
|
+
}, {
|
|
2602
|
+
readonly name: "";
|
|
2603
|
+
readonly type: "uint256";
|
|
2604
|
+
}, {
|
|
2605
|
+
readonly name: "";
|
|
2606
|
+
readonly type: "uint256";
|
|
2607
|
+
}];
|
|
2608
|
+
}, {
|
|
2609
|
+
readonly stateMutability: "view";
|
|
2610
|
+
readonly type: "function";
|
|
2611
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2612
|
+
readonly inputs: readonly [{
|
|
2613
|
+
readonly name: "_agentSender";
|
|
2614
|
+
readonly type: "address";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly name: "_agentWrapper";
|
|
2617
|
+
readonly type: "address";
|
|
2618
|
+
}, {
|
|
2619
|
+
readonly name: "_userWallet";
|
|
2620
|
+
readonly type: "address";
|
|
2621
|
+
}, {
|
|
2622
|
+
readonly name: "_rewardLegoId";
|
|
2623
|
+
readonly type: "uint256";
|
|
2624
|
+
}];
|
|
2625
|
+
readonly outputs: readonly [{
|
|
2626
|
+
readonly name: "";
|
|
2627
|
+
readonly type: "bytes32";
|
|
2628
|
+
}, {
|
|
2629
|
+
readonly name: "";
|
|
2630
|
+
readonly type: "uint256";
|
|
2631
|
+
}, {
|
|
2632
|
+
readonly name: "";
|
|
2633
|
+
readonly type: "uint256";
|
|
2634
|
+
}];
|
|
2635
|
+
}, {
|
|
2636
|
+
readonly stateMutability: "view";
|
|
2637
|
+
readonly type: "function";
|
|
2638
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2639
|
+
readonly inputs: readonly [{
|
|
2640
|
+
readonly name: "_agentSender";
|
|
2641
|
+
readonly type: "address";
|
|
2642
|
+
}, {
|
|
2643
|
+
readonly name: "_agentWrapper";
|
|
2644
|
+
readonly type: "address";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly name: "_userWallet";
|
|
2647
|
+
readonly type: "address";
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly name: "_rewardLegoId";
|
|
2650
|
+
readonly type: "uint256";
|
|
2651
|
+
}, {
|
|
2652
|
+
readonly name: "_rewardToken";
|
|
2653
|
+
readonly type: "address";
|
|
2654
|
+
}];
|
|
2655
|
+
readonly outputs: readonly [{
|
|
2656
|
+
readonly name: "";
|
|
2657
|
+
readonly type: "bytes32";
|
|
2658
|
+
}, {
|
|
2659
|
+
readonly name: "";
|
|
2660
|
+
readonly type: "uint256";
|
|
2661
|
+
}, {
|
|
2662
|
+
readonly name: "";
|
|
2663
|
+
readonly type: "uint256";
|
|
2664
|
+
}];
|
|
2665
|
+
}, {
|
|
2666
|
+
readonly stateMutability: "view";
|
|
2667
|
+
readonly type: "function";
|
|
2668
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2669
|
+
readonly inputs: readonly [{
|
|
2670
|
+
readonly name: "_agentSender";
|
|
2671
|
+
readonly type: "address";
|
|
2672
|
+
}, {
|
|
2673
|
+
readonly name: "_agentWrapper";
|
|
2674
|
+
readonly type: "address";
|
|
2675
|
+
}, {
|
|
2676
|
+
readonly name: "_userWallet";
|
|
2677
|
+
readonly type: "address";
|
|
2678
|
+
}, {
|
|
2679
|
+
readonly name: "_rewardLegoId";
|
|
2680
|
+
readonly type: "uint256";
|
|
2681
|
+
}, {
|
|
2682
|
+
readonly name: "_rewardToken";
|
|
2683
|
+
readonly type: "address";
|
|
2684
|
+
}, {
|
|
2685
|
+
readonly name: "_rewardAmount";
|
|
2686
|
+
readonly type: "uint256";
|
|
2687
|
+
}];
|
|
2688
|
+
readonly outputs: readonly [{
|
|
2689
|
+
readonly name: "";
|
|
2690
|
+
readonly type: "bytes32";
|
|
2691
|
+
}, {
|
|
2692
|
+
readonly name: "";
|
|
2693
|
+
readonly type: "uint256";
|
|
2694
|
+
}, {
|
|
2695
|
+
readonly name: "";
|
|
2696
|
+
readonly type: "uint256";
|
|
2697
|
+
}];
|
|
2698
|
+
}, {
|
|
2699
|
+
readonly stateMutability: "view";
|
|
2700
|
+
readonly type: "function";
|
|
2701
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2702
|
+
readonly inputs: readonly [{
|
|
2703
|
+
readonly name: "_agentSender";
|
|
2704
|
+
readonly type: "address";
|
|
2705
|
+
}, {
|
|
2706
|
+
readonly name: "_agentWrapper";
|
|
2707
|
+
readonly type: "address";
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly name: "_userWallet";
|
|
2710
|
+
readonly type: "address";
|
|
2711
|
+
}, {
|
|
2712
|
+
readonly name: "_rewardLegoId";
|
|
2713
|
+
readonly type: "uint256";
|
|
2714
|
+
}, {
|
|
2715
|
+
readonly name: "_rewardToken";
|
|
2716
|
+
readonly type: "address";
|
|
2717
|
+
}, {
|
|
2718
|
+
readonly name: "_rewardAmount";
|
|
2719
|
+
readonly type: "uint256";
|
|
2720
|
+
}, {
|
|
2721
|
+
readonly name: "_rewardProofs";
|
|
2722
|
+
readonly type: "bytes32[]";
|
|
2723
|
+
}];
|
|
2724
|
+
readonly outputs: readonly [{
|
|
2725
|
+
readonly name: "";
|
|
2726
|
+
readonly type: "bytes32";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly name: "";
|
|
2729
|
+
readonly type: "uint256";
|
|
2730
|
+
}, {
|
|
2731
|
+
readonly name: "";
|
|
2732
|
+
readonly type: "uint256";
|
|
2733
|
+
}];
|
|
2734
|
+
}, {
|
|
2735
|
+
readonly stateMutability: "view";
|
|
2736
|
+
readonly type: "function";
|
|
2737
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2738
|
+
readonly inputs: readonly [{
|
|
2739
|
+
readonly name: "_agentSender";
|
|
2740
|
+
readonly type: "address";
|
|
2741
|
+
}, {
|
|
2742
|
+
readonly name: "_agentWrapper";
|
|
2743
|
+
readonly type: "address";
|
|
2744
|
+
}, {
|
|
2745
|
+
readonly name: "_userWallet";
|
|
2746
|
+
readonly type: "address";
|
|
2747
|
+
}, {
|
|
2748
|
+
readonly name: "_rewardLegoId";
|
|
2749
|
+
readonly type: "uint256";
|
|
2750
|
+
}, {
|
|
2751
|
+
readonly name: "_rewardToken";
|
|
2752
|
+
readonly type: "address";
|
|
2753
|
+
}, {
|
|
2754
|
+
readonly name: "_rewardAmount";
|
|
2755
|
+
readonly type: "uint256";
|
|
2756
|
+
}, {
|
|
2757
|
+
readonly name: "_rewardProofs";
|
|
2758
|
+
readonly type: "bytes32[]";
|
|
2759
|
+
}, {
|
|
2760
|
+
readonly name: "_swapInstructions";
|
|
2761
|
+
readonly type: "tuple[]";
|
|
2762
|
+
readonly components: readonly [{
|
|
2763
|
+
readonly name: "legoId";
|
|
2764
|
+
readonly type: "uint256";
|
|
2765
|
+
}, {
|
|
2766
|
+
readonly name: "amountIn";
|
|
2767
|
+
readonly type: "uint256";
|
|
2768
|
+
}, {
|
|
2769
|
+
readonly name: "minAmountOut";
|
|
2770
|
+
readonly type: "uint256";
|
|
2771
|
+
}, {
|
|
2772
|
+
readonly name: "tokenPath";
|
|
2773
|
+
readonly type: "address[]";
|
|
2774
|
+
}, {
|
|
2775
|
+
readonly name: "poolPath";
|
|
2776
|
+
readonly type: "address[]";
|
|
2777
|
+
}];
|
|
2778
|
+
}];
|
|
2779
|
+
readonly outputs: readonly [{
|
|
2780
|
+
readonly name: "";
|
|
2781
|
+
readonly type: "bytes32";
|
|
2782
|
+
}, {
|
|
2783
|
+
readonly name: "";
|
|
2784
|
+
readonly type: "uint256";
|
|
2785
|
+
}, {
|
|
2786
|
+
readonly name: "";
|
|
2787
|
+
readonly type: "uint256";
|
|
2788
|
+
}];
|
|
2789
|
+
}, {
|
|
2790
|
+
readonly stateMutability: "view";
|
|
2791
|
+
readonly type: "function";
|
|
2792
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2793
|
+
readonly inputs: readonly [{
|
|
2794
|
+
readonly name: "_agentSender";
|
|
2795
|
+
readonly type: "address";
|
|
2796
|
+
}, {
|
|
2797
|
+
readonly name: "_agentWrapper";
|
|
2798
|
+
readonly type: "address";
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly name: "_userWallet";
|
|
2801
|
+
readonly type: "address";
|
|
2802
|
+
}, {
|
|
2803
|
+
readonly name: "_rewardLegoId";
|
|
2804
|
+
readonly type: "uint256";
|
|
2805
|
+
}, {
|
|
2806
|
+
readonly name: "_rewardToken";
|
|
2807
|
+
readonly type: "address";
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly name: "_rewardAmount";
|
|
2810
|
+
readonly type: "uint256";
|
|
2811
|
+
}, {
|
|
2812
|
+
readonly name: "_rewardProofs";
|
|
2813
|
+
readonly type: "bytes32[]";
|
|
2814
|
+
}, {
|
|
2815
|
+
readonly name: "_swapInstructions";
|
|
2816
|
+
readonly type: "tuple[]";
|
|
2817
|
+
readonly components: readonly [{
|
|
2818
|
+
readonly name: "legoId";
|
|
2819
|
+
readonly type: "uint256";
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly name: "amountIn";
|
|
2822
|
+
readonly type: "uint256";
|
|
2823
|
+
}, {
|
|
2824
|
+
readonly name: "minAmountOut";
|
|
2825
|
+
readonly type: "uint256";
|
|
2826
|
+
}, {
|
|
2827
|
+
readonly name: "tokenPath";
|
|
2828
|
+
readonly type: "address[]";
|
|
2829
|
+
}, {
|
|
2830
|
+
readonly name: "poolPath";
|
|
2831
|
+
readonly type: "address[]";
|
|
2832
|
+
}];
|
|
2833
|
+
}, {
|
|
2834
|
+
readonly name: "_cheque";
|
|
2835
|
+
readonly type: "tuple";
|
|
2836
|
+
readonly components: readonly [{
|
|
2837
|
+
readonly name: "recipient";
|
|
2838
|
+
readonly type: "address";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly name: "asset";
|
|
2841
|
+
readonly type: "address";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly name: "amount";
|
|
2844
|
+
readonly type: "uint256";
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly name: "unlockNumBlocks";
|
|
2847
|
+
readonly type: "uint256";
|
|
2848
|
+
}, {
|
|
2849
|
+
readonly name: "expiryNumBlocks";
|
|
2850
|
+
readonly type: "uint256";
|
|
2851
|
+
}, {
|
|
2852
|
+
readonly name: "canManagerPay";
|
|
2853
|
+
readonly type: "bool";
|
|
2854
|
+
}, {
|
|
2855
|
+
readonly name: "canBePulled";
|
|
2856
|
+
readonly type: "bool";
|
|
2857
|
+
}];
|
|
2858
|
+
}];
|
|
2859
|
+
readonly outputs: readonly [{
|
|
2860
|
+
readonly name: "";
|
|
2861
|
+
readonly type: "bytes32";
|
|
2862
|
+
}, {
|
|
2863
|
+
readonly name: "";
|
|
2864
|
+
readonly type: "uint256";
|
|
2865
|
+
}, {
|
|
2866
|
+
readonly name: "";
|
|
2867
|
+
readonly type: "uint256";
|
|
2868
|
+
}];
|
|
2869
|
+
}, {
|
|
2870
|
+
readonly stateMutability: "view";
|
|
2871
|
+
readonly type: "function";
|
|
2872
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2873
|
+
readonly inputs: readonly [{
|
|
2874
|
+
readonly name: "_agentSender";
|
|
2875
|
+
readonly type: "address";
|
|
2876
|
+
}, {
|
|
2877
|
+
readonly name: "_agentWrapper";
|
|
2878
|
+
readonly type: "address";
|
|
2879
|
+
}, {
|
|
2880
|
+
readonly name: "_userWallet";
|
|
2881
|
+
readonly type: "address";
|
|
2882
|
+
}, {
|
|
2883
|
+
readonly name: "_rewardLegoId";
|
|
2884
|
+
readonly type: "uint256";
|
|
2885
|
+
}, {
|
|
2886
|
+
readonly name: "_rewardToken";
|
|
2887
|
+
readonly type: "address";
|
|
2888
|
+
}, {
|
|
2889
|
+
readonly name: "_rewardAmount";
|
|
2890
|
+
readonly type: "uint256";
|
|
2891
|
+
}, {
|
|
2892
|
+
readonly name: "_rewardProofs";
|
|
2893
|
+
readonly type: "bytes32[]";
|
|
2894
|
+
}, {
|
|
2895
|
+
readonly name: "_swapInstructions";
|
|
2896
|
+
readonly type: "tuple[]";
|
|
2897
|
+
readonly components: readonly [{
|
|
2898
|
+
readonly name: "legoId";
|
|
2899
|
+
readonly type: "uint256";
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly name: "amountIn";
|
|
2902
|
+
readonly type: "uint256";
|
|
2903
|
+
}, {
|
|
2904
|
+
readonly name: "minAmountOut";
|
|
2905
|
+
readonly type: "uint256";
|
|
2906
|
+
}, {
|
|
2907
|
+
readonly name: "tokenPath";
|
|
2908
|
+
readonly type: "address[]";
|
|
2909
|
+
}, {
|
|
2910
|
+
readonly name: "poolPath";
|
|
2911
|
+
readonly type: "address[]";
|
|
2912
|
+
}];
|
|
2913
|
+
}, {
|
|
2914
|
+
readonly name: "_cheque";
|
|
2915
|
+
readonly type: "tuple";
|
|
2916
|
+
readonly components: readonly [{
|
|
2917
|
+
readonly name: "recipient";
|
|
2918
|
+
readonly type: "address";
|
|
2919
|
+
}, {
|
|
2920
|
+
readonly name: "asset";
|
|
2921
|
+
readonly type: "address";
|
|
2922
|
+
}, {
|
|
2923
|
+
readonly name: "amount";
|
|
2924
|
+
readonly type: "uint256";
|
|
2925
|
+
}, {
|
|
2926
|
+
readonly name: "unlockNumBlocks";
|
|
2927
|
+
readonly type: "uint256";
|
|
2928
|
+
}, {
|
|
2929
|
+
readonly name: "expiryNumBlocks";
|
|
2930
|
+
readonly type: "uint256";
|
|
2931
|
+
}, {
|
|
2932
|
+
readonly name: "canManagerPay";
|
|
2933
|
+
readonly type: "bool";
|
|
2934
|
+
}, {
|
|
2935
|
+
readonly name: "canBePulled";
|
|
2936
|
+
readonly type: "bool";
|
|
2937
|
+
}];
|
|
2938
|
+
}, {
|
|
2939
|
+
readonly name: "_nonce";
|
|
2940
|
+
readonly type: "uint256";
|
|
2941
|
+
}];
|
|
2942
|
+
readonly outputs: readonly [{
|
|
2943
|
+
readonly name: "";
|
|
2944
|
+
readonly type: "bytes32";
|
|
2945
|
+
}, {
|
|
2946
|
+
readonly name: "";
|
|
2947
|
+
readonly type: "uint256";
|
|
2948
|
+
}, {
|
|
2949
|
+
readonly name: "";
|
|
2950
|
+
readonly type: "uint256";
|
|
2951
|
+
}];
|
|
2952
|
+
}, {
|
|
2953
|
+
readonly stateMutability: "view";
|
|
2954
|
+
readonly type: "function";
|
|
2955
|
+
readonly name: "getHarvestAndIssueChequeHash";
|
|
2956
|
+
readonly inputs: readonly [{
|
|
2957
|
+
readonly name: "_agentSender";
|
|
2958
|
+
readonly type: "address";
|
|
2959
|
+
}, {
|
|
2960
|
+
readonly name: "_agentWrapper";
|
|
2961
|
+
readonly type: "address";
|
|
2962
|
+
}, {
|
|
2963
|
+
readonly name: "_userWallet";
|
|
2964
|
+
readonly type: "address";
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly name: "_rewardLegoId";
|
|
2967
|
+
readonly type: "uint256";
|
|
2968
|
+
}, {
|
|
2969
|
+
readonly name: "_rewardToken";
|
|
2970
|
+
readonly type: "address";
|
|
2971
|
+
}, {
|
|
2972
|
+
readonly name: "_rewardAmount";
|
|
2973
|
+
readonly type: "uint256";
|
|
2974
|
+
}, {
|
|
2975
|
+
readonly name: "_rewardProofs";
|
|
2976
|
+
readonly type: "bytes32[]";
|
|
2977
|
+
}, {
|
|
2978
|
+
readonly name: "_swapInstructions";
|
|
2979
|
+
readonly type: "tuple[]";
|
|
2980
|
+
readonly components: readonly [{
|
|
2981
|
+
readonly name: "legoId";
|
|
2982
|
+
readonly type: "uint256";
|
|
2983
|
+
}, {
|
|
2984
|
+
readonly name: "amountIn";
|
|
2985
|
+
readonly type: "uint256";
|
|
2986
|
+
}, {
|
|
2987
|
+
readonly name: "minAmountOut";
|
|
2988
|
+
readonly type: "uint256";
|
|
2989
|
+
}, {
|
|
2990
|
+
readonly name: "tokenPath";
|
|
2991
|
+
readonly type: "address[]";
|
|
2992
|
+
}, {
|
|
2993
|
+
readonly name: "poolPath";
|
|
2994
|
+
readonly type: "address[]";
|
|
2995
|
+
}];
|
|
2996
|
+
}, {
|
|
2997
|
+
readonly name: "_cheque";
|
|
2998
|
+
readonly type: "tuple";
|
|
2999
|
+
readonly components: readonly [{
|
|
3000
|
+
readonly name: "recipient";
|
|
3001
|
+
readonly type: "address";
|
|
3002
|
+
}, {
|
|
3003
|
+
readonly name: "asset";
|
|
3004
|
+
readonly type: "address";
|
|
3005
|
+
}, {
|
|
3006
|
+
readonly name: "amount";
|
|
3007
|
+
readonly type: "uint256";
|
|
3008
|
+
}, {
|
|
3009
|
+
readonly name: "unlockNumBlocks";
|
|
3010
|
+
readonly type: "uint256";
|
|
3011
|
+
}, {
|
|
3012
|
+
readonly name: "expiryNumBlocks";
|
|
3013
|
+
readonly type: "uint256";
|
|
3014
|
+
}, {
|
|
3015
|
+
readonly name: "canManagerPay";
|
|
3016
|
+
readonly type: "bool";
|
|
3017
|
+
}, {
|
|
3018
|
+
readonly name: "canBePulled";
|
|
3019
|
+
readonly type: "bool";
|
|
3020
|
+
}];
|
|
3021
|
+
}, {
|
|
3022
|
+
readonly name: "_nonce";
|
|
3023
|
+
readonly type: "uint256";
|
|
3024
|
+
}, {
|
|
3025
|
+
readonly name: "_expiration";
|
|
3026
|
+
readonly type: "uint256";
|
|
3027
|
+
}];
|
|
3028
|
+
readonly outputs: readonly [{
|
|
3029
|
+
readonly name: "";
|
|
3030
|
+
readonly type: "bytes32";
|
|
3031
|
+
}, {
|
|
3032
|
+
readonly name: "";
|
|
3033
|
+
readonly type: "uint256";
|
|
3034
|
+
}, {
|
|
3035
|
+
readonly name: "";
|
|
3036
|
+
readonly type: "uint256";
|
|
3037
|
+
}];
|
|
3038
|
+
}];
|
|
3039
|
+
export declare const deployAddress: Address | undefined;
|
|
3040
|
+
export type Contract = {
|
|
3041
|
+
calls: {
|
|
3042
|
+
getAddCollateralAndBorrowHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, debtLegoId: bigint, addCollateralAssets?: {
|
|
3043
|
+
vaultId: bigint;
|
|
3044
|
+
asset: `0x${string}`;
|
|
3045
|
+
amount: bigint;
|
|
3046
|
+
}[], greenBorrowAmount?: bigint, wantsSavingsGreen?: boolean, shouldEnterStabPool?: boolean, swapInstructions?: {
|
|
3047
|
+
legoId: bigint;
|
|
3048
|
+
amountIn: bigint;
|
|
3049
|
+
minAmountOut: bigint;
|
|
3050
|
+
tokenPath: `0x${string}`[];
|
|
3051
|
+
poolPath: `0x${string}`[];
|
|
3052
|
+
}[], yieldPosition?: {
|
|
3053
|
+
legoId: bigint;
|
|
3054
|
+
asset: `0x${string}`;
|
|
3055
|
+
amount: bigint;
|
|
3056
|
+
vaultAddr: `0x${string}`;
|
|
3057
|
+
}, nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3058
|
+
getRepayAndWithdrawHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, debtLegoId: bigint, deleverageAssets?: {
|
|
3059
|
+
vaultId: bigint;
|
|
3060
|
+
asset: `0x${string}`;
|
|
3061
|
+
targetRepayAmount: bigint;
|
|
3062
|
+
}[], yieldPosition?: {
|
|
3063
|
+
legoId: bigint;
|
|
3064
|
+
vaultToken: `0x${string}`;
|
|
3065
|
+
vaultTokenAmount: bigint;
|
|
3066
|
+
}, swapInstructions?: {
|
|
3067
|
+
legoId: bigint;
|
|
3068
|
+
amountIn: bigint;
|
|
3069
|
+
minAmountOut: bigint;
|
|
3070
|
+
tokenPath: `0x${string}`[];
|
|
3071
|
+
poolPath: `0x${string}`[];
|
|
3072
|
+
}[], repayAsset?: `0x${string}`, repayAmount?: bigint, removeCollateralAssets?: {
|
|
3073
|
+
vaultId: bigint;
|
|
3074
|
+
asset: `0x${string}`;
|
|
3075
|
+
amount: bigint;
|
|
3076
|
+
}[], nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3077
|
+
getRebalanceYieldPositionsWithSwapHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, withdrawFrom?: {
|
|
3078
|
+
legoId: bigint;
|
|
3079
|
+
vaultToken: `0x${string}`;
|
|
3080
|
+
vaultTokenAmount: bigint;
|
|
3081
|
+
}[], swapInstructions?: {
|
|
3082
|
+
legoId: bigint;
|
|
3083
|
+
amountIn: bigint;
|
|
3084
|
+
minAmountOut: bigint;
|
|
3085
|
+
tokenPath: `0x${string}`[];
|
|
3086
|
+
poolPath: `0x${string}`[];
|
|
3087
|
+
}[], depositTo?: {
|
|
3088
|
+
legoId: bigint;
|
|
3089
|
+
asset: `0x${string}`;
|
|
3090
|
+
amount: bigint;
|
|
3091
|
+
vaultAddr: `0x${string}`;
|
|
3092
|
+
}[], transferTo?: {
|
|
3093
|
+
asset: `0x${string}`;
|
|
3094
|
+
amount: bigint;
|
|
3095
|
+
recipient: `0x${string}`;
|
|
3096
|
+
}[], nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3097
|
+
getClaimIncentivesAndSwapHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, rewardLegoId?: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, rewardProofs?: `0x${string}`[], swapInstructions?: {
|
|
3098
|
+
legoId: bigint;
|
|
3099
|
+
amountIn: bigint;
|
|
3100
|
+
minAmountOut: bigint;
|
|
3101
|
+
tokenPath: `0x${string}`[];
|
|
3102
|
+
poolPath: `0x${string}`[];
|
|
3103
|
+
}[], depositTo?: {
|
|
3104
|
+
legoId: bigint;
|
|
3105
|
+
asset: `0x${string}`;
|
|
3106
|
+
amount: bigint;
|
|
3107
|
+
vaultAddr: `0x${string}`;
|
|
3108
|
+
}[], debtLegoId?: bigint, addCollateralAssets?: {
|
|
3109
|
+
vaultId: bigint;
|
|
3110
|
+
asset: `0x${string}`;
|
|
3111
|
+
amount: bigint;
|
|
3112
|
+
}[], nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3113
|
+
getIssuePullChequesHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, cheques: {
|
|
3114
|
+
recipient: `0x${string}`;
|
|
3115
|
+
asset: `0x${string}`;
|
|
3116
|
+
amount: bigint;
|
|
3117
|
+
unlockNumBlocks: bigint;
|
|
3118
|
+
expiryNumBlocks: bigint;
|
|
3119
|
+
canManagerPay: boolean;
|
|
3120
|
+
canBePulled: boolean;
|
|
3121
|
+
}[], nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3122
|
+
getWhitelistMaintenanceHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, confirmAddrs?: `0x${string}`[], cancelPendingAddrs?: `0x${string}`[], removeAddrs?: `0x${string}`[], nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
3123
|
+
getHarvestAndIssueChequeHash: (agentSender: `0x${string}`, agentWrapper: `0x${string}`, userWallet: `0x${string}`, rewardLegoId?: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, rewardProofs?: `0x${string}`[], swapInstructions?: {
|
|
3124
|
+
legoId: bigint;
|
|
3125
|
+
amountIn: bigint;
|
|
3126
|
+
minAmountOut: bigint;
|
|
3127
|
+
tokenPath: `0x${string}`[];
|
|
3128
|
+
poolPath: `0x${string}`[];
|
|
3129
|
+
}[], cheque?: {
|
|
3130
|
+
recipient: `0x${string}`;
|
|
3131
|
+
asset: `0x${string}`;
|
|
3132
|
+
amount: bigint;
|
|
3133
|
+
unlockNumBlocks: bigint;
|
|
3134
|
+
expiryNumBlocks: bigint;
|
|
3135
|
+
canManagerPay: boolean;
|
|
3136
|
+
canBePulled: boolean;
|
|
3137
|
+
}, nonce?: bigint, expiration?: bigint) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
2206
3138
|
};
|
|
2207
3139
|
mutations: {};
|
|
2208
3140
|
events: {};
|
|
@@ -2239,6 +3171,9 @@ export type SDK = {
|
|
|
2239
3171
|
getRepayAndWithdrawHash: (...args: ExtractArgs<Contract['calls']['getRepayAndWithdrawHash']>) => Promise<CallReturn<'getRepayAndWithdrawHash'>>;
|
|
2240
3172
|
getRebalanceYieldPositionsWithSwapHash: (...args: ExtractArgs<Contract['calls']['getRebalanceYieldPositionsWithSwapHash']>) => Promise<CallReturn<'getRebalanceYieldPositionsWithSwapHash'>>;
|
|
2241
3173
|
getClaimIncentivesAndSwapHash: (...args: ExtractArgs<Contract['calls']['getClaimIncentivesAndSwapHash']>) => Promise<CallReturn<'getClaimIncentivesAndSwapHash'>>;
|
|
3174
|
+
getIssuePullChequesHash: (...args: ExtractArgs<Contract['calls']['getIssuePullChequesHash']>) => Promise<CallReturn<'getIssuePullChequesHash'>>;
|
|
3175
|
+
getWhitelistMaintenanceHash: (...args: ExtractArgs<Contract['calls']['getWhitelistMaintenanceHash']>) => Promise<CallReturn<'getWhitelistMaintenanceHash'>>;
|
|
3176
|
+
getHarvestAndIssueChequeHash: (...args: ExtractArgs<Contract['calls']['getHarvestAndIssueChequeHash']>) => Promise<CallReturn<'getHarvestAndIssueChequeHash'>>;
|
|
2242
3177
|
};
|
|
2243
3178
|
export declare function toSdk(deployAddress: Address, publicClient?: PublicClient, walletClient?: WalletClient, addressResolver?: AddressResolverFunction): SDK;
|
|
2244
3179
|
export {};
|