@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
|
@@ -13,6 +13,10 @@ export const abi = [
|
|
|
13
13
|
"name": "_agentSender",
|
|
14
14
|
"type": "address"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "_agentWrapper",
|
|
18
|
+
"type": "address"
|
|
19
|
+
},
|
|
16
20
|
{
|
|
17
21
|
"name": "_userWallet",
|
|
18
22
|
"type": "address"
|
|
@@ -46,6 +50,10 @@ export const abi = [
|
|
|
46
50
|
"name": "_agentSender",
|
|
47
51
|
"type": "address"
|
|
48
52
|
},
|
|
53
|
+
{
|
|
54
|
+
"name": "_agentWrapper",
|
|
55
|
+
"type": "address"
|
|
56
|
+
},
|
|
49
57
|
{
|
|
50
58
|
"name": "_userWallet",
|
|
51
59
|
"type": "address"
|
|
@@ -97,6 +105,10 @@ export const abi = [
|
|
|
97
105
|
"name": "_agentSender",
|
|
98
106
|
"type": "address"
|
|
99
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"name": "_agentWrapper",
|
|
110
|
+
"type": "address"
|
|
111
|
+
},
|
|
100
112
|
{
|
|
101
113
|
"name": "_userWallet",
|
|
102
114
|
"type": "address"
|
|
@@ -152,6 +164,10 @@ export const abi = [
|
|
|
152
164
|
"name": "_agentSender",
|
|
153
165
|
"type": "address"
|
|
154
166
|
},
|
|
167
|
+
{
|
|
168
|
+
"name": "_agentWrapper",
|
|
169
|
+
"type": "address"
|
|
170
|
+
},
|
|
155
171
|
{
|
|
156
172
|
"name": "_userWallet",
|
|
157
173
|
"type": "address"
|
|
@@ -211,6 +227,10 @@ export const abi = [
|
|
|
211
227
|
"name": "_agentSender",
|
|
212
228
|
"type": "address"
|
|
213
229
|
},
|
|
230
|
+
{
|
|
231
|
+
"name": "_agentWrapper",
|
|
232
|
+
"type": "address"
|
|
233
|
+
},
|
|
214
234
|
{
|
|
215
235
|
"name": "_userWallet",
|
|
216
236
|
"type": "address"
|
|
@@ -274,6 +294,10 @@ export const abi = [
|
|
|
274
294
|
"name": "_agentSender",
|
|
275
295
|
"type": "address"
|
|
276
296
|
},
|
|
297
|
+
{
|
|
298
|
+
"name": "_agentWrapper",
|
|
299
|
+
"type": "address"
|
|
300
|
+
},
|
|
277
301
|
{
|
|
278
302
|
"name": "_userWallet",
|
|
279
303
|
"type": "address"
|
|
@@ -363,6 +387,10 @@ export const abi = [
|
|
|
363
387
|
"name": "_agentSender",
|
|
364
388
|
"type": "address"
|
|
365
389
|
},
|
|
390
|
+
{
|
|
391
|
+
"name": "_agentWrapper",
|
|
392
|
+
"type": "address"
|
|
393
|
+
},
|
|
366
394
|
{
|
|
367
395
|
"name": "_userWallet",
|
|
368
396
|
"type": "address"
|
|
@@ -474,6 +502,10 @@ export const abi = [
|
|
|
474
502
|
"name": "_agentSender",
|
|
475
503
|
"type": "address"
|
|
476
504
|
},
|
|
505
|
+
{
|
|
506
|
+
"name": "_agentWrapper",
|
|
507
|
+
"type": "address"
|
|
508
|
+
},
|
|
477
509
|
{
|
|
478
510
|
"name": "_userWallet",
|
|
479
511
|
"type": "address"
|
|
@@ -589,6 +621,10 @@ export const abi = [
|
|
|
589
621
|
"name": "_agentSender",
|
|
590
622
|
"type": "address"
|
|
591
623
|
},
|
|
624
|
+
{
|
|
625
|
+
"name": "_agentWrapper",
|
|
626
|
+
"type": "address"
|
|
627
|
+
},
|
|
592
628
|
{
|
|
593
629
|
"name": "_userWallet",
|
|
594
630
|
"type": "address"
|
|
@@ -708,6 +744,10 @@ export const abi = [
|
|
|
708
744
|
"name": "_agentSender",
|
|
709
745
|
"type": "address"
|
|
710
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"name": "_agentWrapper",
|
|
749
|
+
"type": "address"
|
|
750
|
+
},
|
|
711
751
|
{
|
|
712
752
|
"name": "_userWallet",
|
|
713
753
|
"type": "address"
|
|
@@ -741,6 +781,10 @@ export const abi = [
|
|
|
741
781
|
"name": "_agentSender",
|
|
742
782
|
"type": "address"
|
|
743
783
|
},
|
|
784
|
+
{
|
|
785
|
+
"name": "_agentWrapper",
|
|
786
|
+
"type": "address"
|
|
787
|
+
},
|
|
744
788
|
{
|
|
745
789
|
"name": "_userWallet",
|
|
746
790
|
"type": "address"
|
|
@@ -792,6 +836,10 @@ export const abi = [
|
|
|
792
836
|
"name": "_agentSender",
|
|
793
837
|
"type": "address"
|
|
794
838
|
},
|
|
839
|
+
{
|
|
840
|
+
"name": "_agentWrapper",
|
|
841
|
+
"type": "address"
|
|
842
|
+
},
|
|
795
843
|
{
|
|
796
844
|
"name": "_userWallet",
|
|
797
845
|
"type": "address"
|
|
@@ -861,6 +909,10 @@ export const abi = [
|
|
|
861
909
|
"name": "_agentSender",
|
|
862
910
|
"type": "address"
|
|
863
911
|
},
|
|
912
|
+
{
|
|
913
|
+
"name": "_agentWrapper",
|
|
914
|
+
"type": "address"
|
|
915
|
+
},
|
|
864
916
|
{
|
|
865
917
|
"name": "_userWallet",
|
|
866
918
|
"type": "address"
|
|
@@ -956,6 +1008,10 @@ export const abi = [
|
|
|
956
1008
|
"name": "_agentSender",
|
|
957
1009
|
"type": "address"
|
|
958
1010
|
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "_agentWrapper",
|
|
1013
|
+
"type": "address"
|
|
1014
|
+
},
|
|
959
1015
|
{
|
|
960
1016
|
"name": "_userWallet",
|
|
961
1017
|
"type": "address"
|
|
@@ -1055,6 +1111,10 @@ export const abi = [
|
|
|
1055
1111
|
"name": "_agentSender",
|
|
1056
1112
|
"type": "address"
|
|
1057
1113
|
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "_agentWrapper",
|
|
1116
|
+
"type": "address"
|
|
1117
|
+
},
|
|
1058
1118
|
{
|
|
1059
1119
|
"name": "_userWallet",
|
|
1060
1120
|
"type": "address"
|
|
@@ -1158,6 +1218,10 @@ export const abi = [
|
|
|
1158
1218
|
"name": "_agentSender",
|
|
1159
1219
|
"type": "address"
|
|
1160
1220
|
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "_agentWrapper",
|
|
1223
|
+
"type": "address"
|
|
1224
|
+
},
|
|
1161
1225
|
{
|
|
1162
1226
|
"name": "_userWallet",
|
|
1163
1227
|
"type": "address"
|
|
@@ -1279,6 +1343,10 @@ export const abi = [
|
|
|
1279
1343
|
"name": "_agentSender",
|
|
1280
1344
|
"type": "address"
|
|
1281
1345
|
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "_agentWrapper",
|
|
1348
|
+
"type": "address"
|
|
1349
|
+
},
|
|
1282
1350
|
{
|
|
1283
1351
|
"name": "_userWallet",
|
|
1284
1352
|
"type": "address"
|
|
@@ -1404,6 +1472,10 @@ export const abi = [
|
|
|
1404
1472
|
"name": "_agentSender",
|
|
1405
1473
|
"type": "address"
|
|
1406
1474
|
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "_agentWrapper",
|
|
1477
|
+
"type": "address"
|
|
1478
|
+
},
|
|
1407
1479
|
{
|
|
1408
1480
|
"name": "_userWallet",
|
|
1409
1481
|
"type": "address"
|
|
@@ -1533,6 +1605,10 @@ export const abi = [
|
|
|
1533
1605
|
"name": "_agentSender",
|
|
1534
1606
|
"type": "address"
|
|
1535
1607
|
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "_agentWrapper",
|
|
1610
|
+
"type": "address"
|
|
1611
|
+
},
|
|
1536
1612
|
{
|
|
1537
1613
|
"name": "_userWallet",
|
|
1538
1614
|
"type": "address"
|
|
@@ -1562,6 +1638,10 @@ export const abi = [
|
|
|
1562
1638
|
"name": "_agentSender",
|
|
1563
1639
|
"type": "address"
|
|
1564
1640
|
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "_agentWrapper",
|
|
1643
|
+
"type": "address"
|
|
1644
|
+
},
|
|
1565
1645
|
{
|
|
1566
1646
|
"name": "_userWallet",
|
|
1567
1647
|
"type": "address"
|
|
@@ -1609,6 +1689,10 @@ export const abi = [
|
|
|
1609
1689
|
"name": "_agentSender",
|
|
1610
1690
|
"type": "address"
|
|
1611
1691
|
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "_agentWrapper",
|
|
1694
|
+
"type": "address"
|
|
1695
|
+
},
|
|
1612
1696
|
{
|
|
1613
1697
|
"name": "_userWallet",
|
|
1614
1698
|
"type": "address"
|
|
@@ -1682,6 +1766,10 @@ export const abi = [
|
|
|
1682
1766
|
"name": "_agentSender",
|
|
1683
1767
|
"type": "address"
|
|
1684
1768
|
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "_agentWrapper",
|
|
1771
|
+
"type": "address"
|
|
1772
|
+
},
|
|
1685
1773
|
{
|
|
1686
1774
|
"name": "_userWallet",
|
|
1687
1775
|
"type": "address"
|
|
@@ -1777,6 +1865,10 @@ export const abi = [
|
|
|
1777
1865
|
"name": "_agentSender",
|
|
1778
1866
|
"type": "address"
|
|
1779
1867
|
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "_agentWrapper",
|
|
1870
|
+
"type": "address"
|
|
1871
|
+
},
|
|
1780
1872
|
{
|
|
1781
1873
|
"name": "_userWallet",
|
|
1782
1874
|
"type": "address"
|
|
@@ -1890,6 +1982,10 @@ export const abi = [
|
|
|
1890
1982
|
"name": "_agentSender",
|
|
1891
1983
|
"type": "address"
|
|
1892
1984
|
},
|
|
1985
|
+
{
|
|
1986
|
+
"name": "_agentWrapper",
|
|
1987
|
+
"type": "address"
|
|
1988
|
+
},
|
|
1893
1989
|
{
|
|
1894
1990
|
"name": "_userWallet",
|
|
1895
1991
|
"type": "address"
|
|
@@ -2007,6 +2103,10 @@ export const abi = [
|
|
|
2007
2103
|
"name": "_agentSender",
|
|
2008
2104
|
"type": "address"
|
|
2009
2105
|
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "_agentWrapper",
|
|
2108
|
+
"type": "address"
|
|
2109
|
+
},
|
|
2010
2110
|
{
|
|
2011
2111
|
"name": "_userWallet",
|
|
2012
2112
|
"type": "address"
|
|
@@ -2128,6 +2228,10 @@ export const abi = [
|
|
|
2128
2228
|
"name": "_agentSender",
|
|
2129
2229
|
"type": "address"
|
|
2130
2230
|
},
|
|
2231
|
+
{
|
|
2232
|
+
"name": "_agentWrapper",
|
|
2233
|
+
"type": "address"
|
|
2234
|
+
},
|
|
2131
2235
|
{
|
|
2132
2236
|
"name": "_userWallet",
|
|
2133
2237
|
"type": "address"
|
|
@@ -2157,6 +2261,10 @@ export const abi = [
|
|
|
2157
2261
|
"name": "_agentSender",
|
|
2158
2262
|
"type": "address"
|
|
2159
2263
|
},
|
|
2264
|
+
{
|
|
2265
|
+
"name": "_agentWrapper",
|
|
2266
|
+
"type": "address"
|
|
2267
|
+
},
|
|
2160
2268
|
{
|
|
2161
2269
|
"name": "_userWallet",
|
|
2162
2270
|
"type": "address"
|
|
@@ -2190,6 +2298,10 @@ export const abi = [
|
|
|
2190
2298
|
"name": "_agentSender",
|
|
2191
2299
|
"type": "address"
|
|
2192
2300
|
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "_agentWrapper",
|
|
2303
|
+
"type": "address"
|
|
2304
|
+
},
|
|
2193
2305
|
{
|
|
2194
2306
|
"name": "_userWallet",
|
|
2195
2307
|
"type": "address"
|
|
@@ -2227,6 +2339,10 @@ export const abi = [
|
|
|
2227
2339
|
"name": "_agentSender",
|
|
2228
2340
|
"type": "address"
|
|
2229
2341
|
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "_agentWrapper",
|
|
2344
|
+
"type": "address"
|
|
2345
|
+
},
|
|
2230
2346
|
{
|
|
2231
2347
|
"name": "_userWallet",
|
|
2232
2348
|
"type": "address"
|
|
@@ -2268,6 +2384,10 @@ export const abi = [
|
|
|
2268
2384
|
"name": "_agentSender",
|
|
2269
2385
|
"type": "address"
|
|
2270
2386
|
},
|
|
2387
|
+
{
|
|
2388
|
+
"name": "_agentWrapper",
|
|
2389
|
+
"type": "address"
|
|
2390
|
+
},
|
|
2271
2391
|
{
|
|
2272
2392
|
"name": "_userWallet",
|
|
2273
2393
|
"type": "address"
|
|
@@ -2313,6 +2433,10 @@ export const abi = [
|
|
|
2313
2433
|
"name": "_agentSender",
|
|
2314
2434
|
"type": "address"
|
|
2315
2435
|
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "_agentWrapper",
|
|
2438
|
+
"type": "address"
|
|
2439
|
+
},
|
|
2316
2440
|
{
|
|
2317
2441
|
"name": "_userWallet",
|
|
2318
2442
|
"type": "address"
|
|
@@ -2384,6 +2508,10 @@ export const abi = [
|
|
|
2384
2508
|
"name": "_agentSender",
|
|
2385
2509
|
"type": "address"
|
|
2386
2510
|
},
|
|
2511
|
+
{
|
|
2512
|
+
"name": "_agentWrapper",
|
|
2513
|
+
"type": "address"
|
|
2514
|
+
},
|
|
2387
2515
|
{
|
|
2388
2516
|
"name": "_userWallet",
|
|
2389
2517
|
"type": "address"
|
|
@@ -2477,6 +2605,10 @@ export const abi = [
|
|
|
2477
2605
|
"name": "_agentSender",
|
|
2478
2606
|
"type": "address"
|
|
2479
2607
|
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "_agentWrapper",
|
|
2610
|
+
"type": "address"
|
|
2611
|
+
},
|
|
2480
2612
|
{
|
|
2481
2613
|
"name": "_userWallet",
|
|
2482
2614
|
"type": "address"
|
|
@@ -2574,6 +2706,10 @@ export const abi = [
|
|
|
2574
2706
|
"name": "_agentSender",
|
|
2575
2707
|
"type": "address"
|
|
2576
2708
|
},
|
|
2709
|
+
{
|
|
2710
|
+
"name": "_agentWrapper",
|
|
2711
|
+
"type": "address"
|
|
2712
|
+
},
|
|
2577
2713
|
{
|
|
2578
2714
|
"name": "_userWallet",
|
|
2579
2715
|
"type": "address"
|
|
@@ -2689,6 +2825,10 @@ export const abi = [
|
|
|
2689
2825
|
"name": "_agentSender",
|
|
2690
2826
|
"type": "address"
|
|
2691
2827
|
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "_agentWrapper",
|
|
2830
|
+
"type": "address"
|
|
2831
|
+
},
|
|
2692
2832
|
{
|
|
2693
2833
|
"name": "_userWallet",
|
|
2694
2834
|
"type": "address"
|
|
@@ -2808,6 +2948,10 @@ export const abi = [
|
|
|
2808
2948
|
"name": "_agentSender",
|
|
2809
2949
|
"type": "address"
|
|
2810
2950
|
},
|
|
2951
|
+
{
|
|
2952
|
+
"name": "_agentWrapper",
|
|
2953
|
+
"type": "address"
|
|
2954
|
+
},
|
|
2811
2955
|
{
|
|
2812
2956
|
"name": "_userWallet",
|
|
2813
2957
|
"type": "address"
|
|
@@ -2921,6 +3065,1096 @@ export const abi = [
|
|
|
2921
3065
|
"type": "uint256"
|
|
2922
3066
|
}
|
|
2923
3067
|
]
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"stateMutability": "view",
|
|
3071
|
+
"type": "function",
|
|
3072
|
+
"name": "getIssuePullChequesHash",
|
|
3073
|
+
"inputs": [
|
|
3074
|
+
{
|
|
3075
|
+
"name": "_agentSender",
|
|
3076
|
+
"type": "address"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"name": "_agentWrapper",
|
|
3080
|
+
"type": "address"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "_userWallet",
|
|
3084
|
+
"type": "address"
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"name": "_cheques",
|
|
3088
|
+
"type": "tuple[]",
|
|
3089
|
+
"components": [
|
|
3090
|
+
{
|
|
3091
|
+
"name": "recipient",
|
|
3092
|
+
"type": "address"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"name": "asset",
|
|
3096
|
+
"type": "address"
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"name": "amount",
|
|
3100
|
+
"type": "uint256"
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"name": "unlockNumBlocks",
|
|
3104
|
+
"type": "uint256"
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"name": "expiryNumBlocks",
|
|
3108
|
+
"type": "uint256"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"name": "canManagerPay",
|
|
3112
|
+
"type": "bool"
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "canBePulled",
|
|
3116
|
+
"type": "bool"
|
|
3117
|
+
}
|
|
3118
|
+
]
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
"outputs": [
|
|
3122
|
+
{
|
|
3123
|
+
"name": "",
|
|
3124
|
+
"type": "bytes32"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "",
|
|
3128
|
+
"type": "uint256"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"name": "",
|
|
3132
|
+
"type": "uint256"
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"stateMutability": "view",
|
|
3138
|
+
"type": "function",
|
|
3139
|
+
"name": "getIssuePullChequesHash",
|
|
3140
|
+
"inputs": [
|
|
3141
|
+
{
|
|
3142
|
+
"name": "_agentSender",
|
|
3143
|
+
"type": "address"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"name": "_agentWrapper",
|
|
3147
|
+
"type": "address"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"name": "_userWallet",
|
|
3151
|
+
"type": "address"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"name": "_cheques",
|
|
3155
|
+
"type": "tuple[]",
|
|
3156
|
+
"components": [
|
|
3157
|
+
{
|
|
3158
|
+
"name": "recipient",
|
|
3159
|
+
"type": "address"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "asset",
|
|
3163
|
+
"type": "address"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"name": "amount",
|
|
3167
|
+
"type": "uint256"
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"name": "unlockNumBlocks",
|
|
3171
|
+
"type": "uint256"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "expiryNumBlocks",
|
|
3175
|
+
"type": "uint256"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"name": "canManagerPay",
|
|
3179
|
+
"type": "bool"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"name": "canBePulled",
|
|
3183
|
+
"type": "bool"
|
|
3184
|
+
}
|
|
3185
|
+
]
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"name": "_nonce",
|
|
3189
|
+
"type": "uint256"
|
|
3190
|
+
}
|
|
3191
|
+
],
|
|
3192
|
+
"outputs": [
|
|
3193
|
+
{
|
|
3194
|
+
"name": "",
|
|
3195
|
+
"type": "bytes32"
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"name": "",
|
|
3199
|
+
"type": "uint256"
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"name": "",
|
|
3203
|
+
"type": "uint256"
|
|
3204
|
+
}
|
|
3205
|
+
]
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"stateMutability": "view",
|
|
3209
|
+
"type": "function",
|
|
3210
|
+
"name": "getIssuePullChequesHash",
|
|
3211
|
+
"inputs": [
|
|
3212
|
+
{
|
|
3213
|
+
"name": "_agentSender",
|
|
3214
|
+
"type": "address"
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"name": "_agentWrapper",
|
|
3218
|
+
"type": "address"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "_userWallet",
|
|
3222
|
+
"type": "address"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "_cheques",
|
|
3226
|
+
"type": "tuple[]",
|
|
3227
|
+
"components": [
|
|
3228
|
+
{
|
|
3229
|
+
"name": "recipient",
|
|
3230
|
+
"type": "address"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"name": "asset",
|
|
3234
|
+
"type": "address"
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"name": "amount",
|
|
3238
|
+
"type": "uint256"
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"name": "unlockNumBlocks",
|
|
3242
|
+
"type": "uint256"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"name": "expiryNumBlocks",
|
|
3246
|
+
"type": "uint256"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"name": "canManagerPay",
|
|
3250
|
+
"type": "bool"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"name": "canBePulled",
|
|
3254
|
+
"type": "bool"
|
|
3255
|
+
}
|
|
3256
|
+
]
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"name": "_nonce",
|
|
3260
|
+
"type": "uint256"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"name": "_expiration",
|
|
3264
|
+
"type": "uint256"
|
|
3265
|
+
}
|
|
3266
|
+
],
|
|
3267
|
+
"outputs": [
|
|
3268
|
+
{
|
|
3269
|
+
"name": "",
|
|
3270
|
+
"type": "bytes32"
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"name": "",
|
|
3274
|
+
"type": "uint256"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"name": "",
|
|
3278
|
+
"type": "uint256"
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"stateMutability": "view",
|
|
3284
|
+
"type": "function",
|
|
3285
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3286
|
+
"inputs": [
|
|
3287
|
+
{
|
|
3288
|
+
"name": "_agentSender",
|
|
3289
|
+
"type": "address"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "_agentWrapper",
|
|
3293
|
+
"type": "address"
|
|
3294
|
+
},
|
|
3295
|
+
{
|
|
3296
|
+
"name": "_userWallet",
|
|
3297
|
+
"type": "address"
|
|
3298
|
+
}
|
|
3299
|
+
],
|
|
3300
|
+
"outputs": [
|
|
3301
|
+
{
|
|
3302
|
+
"name": "",
|
|
3303
|
+
"type": "bytes32"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
"name": "",
|
|
3307
|
+
"type": "uint256"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"name": "",
|
|
3311
|
+
"type": "uint256"
|
|
3312
|
+
}
|
|
3313
|
+
]
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"stateMutability": "view",
|
|
3317
|
+
"type": "function",
|
|
3318
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3319
|
+
"inputs": [
|
|
3320
|
+
{
|
|
3321
|
+
"name": "_agentSender",
|
|
3322
|
+
"type": "address"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"name": "_agentWrapper",
|
|
3326
|
+
"type": "address"
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"name": "_userWallet",
|
|
3330
|
+
"type": "address"
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"name": "_confirmAddrs",
|
|
3334
|
+
"type": "address[]"
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"outputs": [
|
|
3338
|
+
{
|
|
3339
|
+
"name": "",
|
|
3340
|
+
"type": "bytes32"
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"name": "",
|
|
3344
|
+
"type": "uint256"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"name": "",
|
|
3348
|
+
"type": "uint256"
|
|
3349
|
+
}
|
|
3350
|
+
]
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"stateMutability": "view",
|
|
3354
|
+
"type": "function",
|
|
3355
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3356
|
+
"inputs": [
|
|
3357
|
+
{
|
|
3358
|
+
"name": "_agentSender",
|
|
3359
|
+
"type": "address"
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"name": "_agentWrapper",
|
|
3363
|
+
"type": "address"
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"name": "_userWallet",
|
|
3367
|
+
"type": "address"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"name": "_confirmAddrs",
|
|
3371
|
+
"type": "address[]"
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "_cancelPendingAddrs",
|
|
3375
|
+
"type": "address[]"
|
|
3376
|
+
}
|
|
3377
|
+
],
|
|
3378
|
+
"outputs": [
|
|
3379
|
+
{
|
|
3380
|
+
"name": "",
|
|
3381
|
+
"type": "bytes32"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "",
|
|
3385
|
+
"type": "uint256"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"name": "",
|
|
3389
|
+
"type": "uint256"
|
|
3390
|
+
}
|
|
3391
|
+
]
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"stateMutability": "view",
|
|
3395
|
+
"type": "function",
|
|
3396
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3397
|
+
"inputs": [
|
|
3398
|
+
{
|
|
3399
|
+
"name": "_agentSender",
|
|
3400
|
+
"type": "address"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"name": "_agentWrapper",
|
|
3404
|
+
"type": "address"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "_userWallet",
|
|
3408
|
+
"type": "address"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"name": "_confirmAddrs",
|
|
3412
|
+
"type": "address[]"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"name": "_cancelPendingAddrs",
|
|
3416
|
+
"type": "address[]"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"name": "_removeAddrs",
|
|
3420
|
+
"type": "address[]"
|
|
3421
|
+
}
|
|
3422
|
+
],
|
|
3423
|
+
"outputs": [
|
|
3424
|
+
{
|
|
3425
|
+
"name": "",
|
|
3426
|
+
"type": "bytes32"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "",
|
|
3430
|
+
"type": "uint256"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"name": "",
|
|
3434
|
+
"type": "uint256"
|
|
3435
|
+
}
|
|
3436
|
+
]
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"stateMutability": "view",
|
|
3440
|
+
"type": "function",
|
|
3441
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3442
|
+
"inputs": [
|
|
3443
|
+
{
|
|
3444
|
+
"name": "_agentSender",
|
|
3445
|
+
"type": "address"
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"name": "_agentWrapper",
|
|
3449
|
+
"type": "address"
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"name": "_userWallet",
|
|
3453
|
+
"type": "address"
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
"name": "_confirmAddrs",
|
|
3457
|
+
"type": "address[]"
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"name": "_cancelPendingAddrs",
|
|
3461
|
+
"type": "address[]"
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"name": "_removeAddrs",
|
|
3465
|
+
"type": "address[]"
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"name": "_nonce",
|
|
3469
|
+
"type": "uint256"
|
|
3470
|
+
}
|
|
3471
|
+
],
|
|
3472
|
+
"outputs": [
|
|
3473
|
+
{
|
|
3474
|
+
"name": "",
|
|
3475
|
+
"type": "bytes32"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"name": "",
|
|
3479
|
+
"type": "uint256"
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
"name": "",
|
|
3483
|
+
"type": "uint256"
|
|
3484
|
+
}
|
|
3485
|
+
]
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"stateMutability": "view",
|
|
3489
|
+
"type": "function",
|
|
3490
|
+
"name": "getWhitelistMaintenanceHash",
|
|
3491
|
+
"inputs": [
|
|
3492
|
+
{
|
|
3493
|
+
"name": "_agentSender",
|
|
3494
|
+
"type": "address"
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
"name": "_agentWrapper",
|
|
3498
|
+
"type": "address"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"name": "_userWallet",
|
|
3502
|
+
"type": "address"
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "_confirmAddrs",
|
|
3506
|
+
"type": "address[]"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"name": "_cancelPendingAddrs",
|
|
3510
|
+
"type": "address[]"
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"name": "_removeAddrs",
|
|
3514
|
+
"type": "address[]"
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "_nonce",
|
|
3518
|
+
"type": "uint256"
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "_expiration",
|
|
3522
|
+
"type": "uint256"
|
|
3523
|
+
}
|
|
3524
|
+
],
|
|
3525
|
+
"outputs": [
|
|
3526
|
+
{
|
|
3527
|
+
"name": "",
|
|
3528
|
+
"type": "bytes32"
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"name": "",
|
|
3532
|
+
"type": "uint256"
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"name": "",
|
|
3536
|
+
"type": "uint256"
|
|
3537
|
+
}
|
|
3538
|
+
]
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"stateMutability": "view",
|
|
3542
|
+
"type": "function",
|
|
3543
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3544
|
+
"inputs": [
|
|
3545
|
+
{
|
|
3546
|
+
"name": "_agentSender",
|
|
3547
|
+
"type": "address"
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"name": "_agentWrapper",
|
|
3551
|
+
"type": "address"
|
|
3552
|
+
},
|
|
3553
|
+
{
|
|
3554
|
+
"name": "_userWallet",
|
|
3555
|
+
"type": "address"
|
|
3556
|
+
}
|
|
3557
|
+
],
|
|
3558
|
+
"outputs": [
|
|
3559
|
+
{
|
|
3560
|
+
"name": "",
|
|
3561
|
+
"type": "bytes32"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"name": "",
|
|
3565
|
+
"type": "uint256"
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"name": "",
|
|
3569
|
+
"type": "uint256"
|
|
3570
|
+
}
|
|
3571
|
+
]
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
"stateMutability": "view",
|
|
3575
|
+
"type": "function",
|
|
3576
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3577
|
+
"inputs": [
|
|
3578
|
+
{
|
|
3579
|
+
"name": "_agentSender",
|
|
3580
|
+
"type": "address"
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"name": "_agentWrapper",
|
|
3584
|
+
"type": "address"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "_userWallet",
|
|
3588
|
+
"type": "address"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"name": "_rewardLegoId",
|
|
3592
|
+
"type": "uint256"
|
|
3593
|
+
}
|
|
3594
|
+
],
|
|
3595
|
+
"outputs": [
|
|
3596
|
+
{
|
|
3597
|
+
"name": "",
|
|
3598
|
+
"type": "bytes32"
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"name": "",
|
|
3602
|
+
"type": "uint256"
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"name": "",
|
|
3606
|
+
"type": "uint256"
|
|
3607
|
+
}
|
|
3608
|
+
]
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"stateMutability": "view",
|
|
3612
|
+
"type": "function",
|
|
3613
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3614
|
+
"inputs": [
|
|
3615
|
+
{
|
|
3616
|
+
"name": "_agentSender",
|
|
3617
|
+
"type": "address"
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"name": "_agentWrapper",
|
|
3621
|
+
"type": "address"
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"name": "_userWallet",
|
|
3625
|
+
"type": "address"
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"name": "_rewardLegoId",
|
|
3629
|
+
"type": "uint256"
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"name": "_rewardToken",
|
|
3633
|
+
"type": "address"
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
"outputs": [
|
|
3637
|
+
{
|
|
3638
|
+
"name": "",
|
|
3639
|
+
"type": "bytes32"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"name": "",
|
|
3643
|
+
"type": "uint256"
|
|
3644
|
+
},
|
|
3645
|
+
{
|
|
3646
|
+
"name": "",
|
|
3647
|
+
"type": "uint256"
|
|
3648
|
+
}
|
|
3649
|
+
]
|
|
3650
|
+
},
|
|
3651
|
+
{
|
|
3652
|
+
"stateMutability": "view",
|
|
3653
|
+
"type": "function",
|
|
3654
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3655
|
+
"inputs": [
|
|
3656
|
+
{
|
|
3657
|
+
"name": "_agentSender",
|
|
3658
|
+
"type": "address"
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"name": "_agentWrapper",
|
|
3662
|
+
"type": "address"
|
|
3663
|
+
},
|
|
3664
|
+
{
|
|
3665
|
+
"name": "_userWallet",
|
|
3666
|
+
"type": "address"
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"name": "_rewardLegoId",
|
|
3670
|
+
"type": "uint256"
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "_rewardToken",
|
|
3674
|
+
"type": "address"
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"name": "_rewardAmount",
|
|
3678
|
+
"type": "uint256"
|
|
3679
|
+
}
|
|
3680
|
+
],
|
|
3681
|
+
"outputs": [
|
|
3682
|
+
{
|
|
3683
|
+
"name": "",
|
|
3684
|
+
"type": "bytes32"
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"name": "",
|
|
3688
|
+
"type": "uint256"
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"name": "",
|
|
3692
|
+
"type": "uint256"
|
|
3693
|
+
}
|
|
3694
|
+
]
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
"stateMutability": "view",
|
|
3698
|
+
"type": "function",
|
|
3699
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3700
|
+
"inputs": [
|
|
3701
|
+
{
|
|
3702
|
+
"name": "_agentSender",
|
|
3703
|
+
"type": "address"
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"name": "_agentWrapper",
|
|
3707
|
+
"type": "address"
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
"name": "_userWallet",
|
|
3711
|
+
"type": "address"
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
"name": "_rewardLegoId",
|
|
3715
|
+
"type": "uint256"
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"name": "_rewardToken",
|
|
3719
|
+
"type": "address"
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"name": "_rewardAmount",
|
|
3723
|
+
"type": "uint256"
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
"name": "_rewardProofs",
|
|
3727
|
+
"type": "bytes32[]"
|
|
3728
|
+
}
|
|
3729
|
+
],
|
|
3730
|
+
"outputs": [
|
|
3731
|
+
{
|
|
3732
|
+
"name": "",
|
|
3733
|
+
"type": "bytes32"
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"name": "",
|
|
3737
|
+
"type": "uint256"
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"name": "",
|
|
3741
|
+
"type": "uint256"
|
|
3742
|
+
}
|
|
3743
|
+
]
|
|
3744
|
+
},
|
|
3745
|
+
{
|
|
3746
|
+
"stateMutability": "view",
|
|
3747
|
+
"type": "function",
|
|
3748
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3749
|
+
"inputs": [
|
|
3750
|
+
{
|
|
3751
|
+
"name": "_agentSender",
|
|
3752
|
+
"type": "address"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"name": "_agentWrapper",
|
|
3756
|
+
"type": "address"
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"name": "_userWallet",
|
|
3760
|
+
"type": "address"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"name": "_rewardLegoId",
|
|
3764
|
+
"type": "uint256"
|
|
3765
|
+
},
|
|
3766
|
+
{
|
|
3767
|
+
"name": "_rewardToken",
|
|
3768
|
+
"type": "address"
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"name": "_rewardAmount",
|
|
3772
|
+
"type": "uint256"
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"name": "_rewardProofs",
|
|
3776
|
+
"type": "bytes32[]"
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"name": "_swapInstructions",
|
|
3780
|
+
"type": "tuple[]",
|
|
3781
|
+
"components": [
|
|
3782
|
+
{
|
|
3783
|
+
"name": "legoId",
|
|
3784
|
+
"type": "uint256"
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"name": "amountIn",
|
|
3788
|
+
"type": "uint256"
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
"name": "minAmountOut",
|
|
3792
|
+
"type": "uint256"
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"name": "tokenPath",
|
|
3796
|
+
"type": "address[]"
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"name": "poolPath",
|
|
3800
|
+
"type": "address[]"
|
|
3801
|
+
}
|
|
3802
|
+
]
|
|
3803
|
+
}
|
|
3804
|
+
],
|
|
3805
|
+
"outputs": [
|
|
3806
|
+
{
|
|
3807
|
+
"name": "",
|
|
3808
|
+
"type": "bytes32"
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"name": "",
|
|
3812
|
+
"type": "uint256"
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"name": "",
|
|
3816
|
+
"type": "uint256"
|
|
3817
|
+
}
|
|
3818
|
+
]
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
"stateMutability": "view",
|
|
3822
|
+
"type": "function",
|
|
3823
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3824
|
+
"inputs": [
|
|
3825
|
+
{
|
|
3826
|
+
"name": "_agentSender",
|
|
3827
|
+
"type": "address"
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"name": "_agentWrapper",
|
|
3831
|
+
"type": "address"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"name": "_userWallet",
|
|
3835
|
+
"type": "address"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"name": "_rewardLegoId",
|
|
3839
|
+
"type": "uint256"
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"name": "_rewardToken",
|
|
3843
|
+
"type": "address"
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
"name": "_rewardAmount",
|
|
3847
|
+
"type": "uint256"
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"name": "_rewardProofs",
|
|
3851
|
+
"type": "bytes32[]"
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"name": "_swapInstructions",
|
|
3855
|
+
"type": "tuple[]",
|
|
3856
|
+
"components": [
|
|
3857
|
+
{
|
|
3858
|
+
"name": "legoId",
|
|
3859
|
+
"type": "uint256"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "amountIn",
|
|
3863
|
+
"type": "uint256"
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"name": "minAmountOut",
|
|
3867
|
+
"type": "uint256"
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"name": "tokenPath",
|
|
3871
|
+
"type": "address[]"
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"name": "poolPath",
|
|
3875
|
+
"type": "address[]"
|
|
3876
|
+
}
|
|
3877
|
+
]
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
"name": "_cheque",
|
|
3881
|
+
"type": "tuple",
|
|
3882
|
+
"components": [
|
|
3883
|
+
{
|
|
3884
|
+
"name": "recipient",
|
|
3885
|
+
"type": "address"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"name": "asset",
|
|
3889
|
+
"type": "address"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"name": "amount",
|
|
3893
|
+
"type": "uint256"
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"name": "unlockNumBlocks",
|
|
3897
|
+
"type": "uint256"
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"name": "expiryNumBlocks",
|
|
3901
|
+
"type": "uint256"
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"name": "canManagerPay",
|
|
3905
|
+
"type": "bool"
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
"name": "canBePulled",
|
|
3909
|
+
"type": "bool"
|
|
3910
|
+
}
|
|
3911
|
+
]
|
|
3912
|
+
}
|
|
3913
|
+
],
|
|
3914
|
+
"outputs": [
|
|
3915
|
+
{
|
|
3916
|
+
"name": "",
|
|
3917
|
+
"type": "bytes32"
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
"name": "",
|
|
3921
|
+
"type": "uint256"
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
"name": "",
|
|
3925
|
+
"type": "uint256"
|
|
3926
|
+
}
|
|
3927
|
+
]
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"stateMutability": "view",
|
|
3931
|
+
"type": "function",
|
|
3932
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
3933
|
+
"inputs": [
|
|
3934
|
+
{
|
|
3935
|
+
"name": "_agentSender",
|
|
3936
|
+
"type": "address"
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"name": "_agentWrapper",
|
|
3940
|
+
"type": "address"
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
"name": "_userWallet",
|
|
3944
|
+
"type": "address"
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"name": "_rewardLegoId",
|
|
3948
|
+
"type": "uint256"
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
"name": "_rewardToken",
|
|
3952
|
+
"type": "address"
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
"name": "_rewardAmount",
|
|
3956
|
+
"type": "uint256"
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"name": "_rewardProofs",
|
|
3960
|
+
"type": "bytes32[]"
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
"name": "_swapInstructions",
|
|
3964
|
+
"type": "tuple[]",
|
|
3965
|
+
"components": [
|
|
3966
|
+
{
|
|
3967
|
+
"name": "legoId",
|
|
3968
|
+
"type": "uint256"
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
"name": "amountIn",
|
|
3972
|
+
"type": "uint256"
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"name": "minAmountOut",
|
|
3976
|
+
"type": "uint256"
|
|
3977
|
+
},
|
|
3978
|
+
{
|
|
3979
|
+
"name": "tokenPath",
|
|
3980
|
+
"type": "address[]"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
"name": "poolPath",
|
|
3984
|
+
"type": "address[]"
|
|
3985
|
+
}
|
|
3986
|
+
]
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"name": "_cheque",
|
|
3990
|
+
"type": "tuple",
|
|
3991
|
+
"components": [
|
|
3992
|
+
{
|
|
3993
|
+
"name": "recipient",
|
|
3994
|
+
"type": "address"
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
"name": "asset",
|
|
3998
|
+
"type": "address"
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"name": "amount",
|
|
4002
|
+
"type": "uint256"
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"name": "unlockNumBlocks",
|
|
4006
|
+
"type": "uint256"
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
"name": "expiryNumBlocks",
|
|
4010
|
+
"type": "uint256"
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"name": "canManagerPay",
|
|
4014
|
+
"type": "bool"
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"name": "canBePulled",
|
|
4018
|
+
"type": "bool"
|
|
4019
|
+
}
|
|
4020
|
+
]
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"name": "_nonce",
|
|
4024
|
+
"type": "uint256"
|
|
4025
|
+
}
|
|
4026
|
+
],
|
|
4027
|
+
"outputs": [
|
|
4028
|
+
{
|
|
4029
|
+
"name": "",
|
|
4030
|
+
"type": "bytes32"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"name": "",
|
|
4034
|
+
"type": "uint256"
|
|
4035
|
+
},
|
|
4036
|
+
{
|
|
4037
|
+
"name": "",
|
|
4038
|
+
"type": "uint256"
|
|
4039
|
+
}
|
|
4040
|
+
]
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
"stateMutability": "view",
|
|
4044
|
+
"type": "function",
|
|
4045
|
+
"name": "getHarvestAndIssueChequeHash",
|
|
4046
|
+
"inputs": [
|
|
4047
|
+
{
|
|
4048
|
+
"name": "_agentSender",
|
|
4049
|
+
"type": "address"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"name": "_agentWrapper",
|
|
4053
|
+
"type": "address"
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"name": "_userWallet",
|
|
4057
|
+
"type": "address"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"name": "_rewardLegoId",
|
|
4061
|
+
"type": "uint256"
|
|
4062
|
+
},
|
|
4063
|
+
{
|
|
4064
|
+
"name": "_rewardToken",
|
|
4065
|
+
"type": "address"
|
|
4066
|
+
},
|
|
4067
|
+
{
|
|
4068
|
+
"name": "_rewardAmount",
|
|
4069
|
+
"type": "uint256"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"name": "_rewardProofs",
|
|
4073
|
+
"type": "bytes32[]"
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"name": "_swapInstructions",
|
|
4077
|
+
"type": "tuple[]",
|
|
4078
|
+
"components": [
|
|
4079
|
+
{
|
|
4080
|
+
"name": "legoId",
|
|
4081
|
+
"type": "uint256"
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"name": "amountIn",
|
|
4085
|
+
"type": "uint256"
|
|
4086
|
+
},
|
|
4087
|
+
{
|
|
4088
|
+
"name": "minAmountOut",
|
|
4089
|
+
"type": "uint256"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"name": "tokenPath",
|
|
4093
|
+
"type": "address[]"
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
"name": "poolPath",
|
|
4097
|
+
"type": "address[]"
|
|
4098
|
+
}
|
|
4099
|
+
]
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"name": "_cheque",
|
|
4103
|
+
"type": "tuple",
|
|
4104
|
+
"components": [
|
|
4105
|
+
{
|
|
4106
|
+
"name": "recipient",
|
|
4107
|
+
"type": "address"
|
|
4108
|
+
},
|
|
4109
|
+
{
|
|
4110
|
+
"name": "asset",
|
|
4111
|
+
"type": "address"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"name": "amount",
|
|
4115
|
+
"type": "uint256"
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "unlockNumBlocks",
|
|
4119
|
+
"type": "uint256"
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"name": "expiryNumBlocks",
|
|
4123
|
+
"type": "uint256"
|
|
4124
|
+
},
|
|
4125
|
+
{
|
|
4126
|
+
"name": "canManagerPay",
|
|
4127
|
+
"type": "bool"
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
4130
|
+
"name": "canBePulled",
|
|
4131
|
+
"type": "bool"
|
|
4132
|
+
}
|
|
4133
|
+
]
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"name": "_nonce",
|
|
4137
|
+
"type": "uint256"
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"name": "_expiration",
|
|
4141
|
+
"type": "uint256"
|
|
4142
|
+
}
|
|
4143
|
+
],
|
|
4144
|
+
"outputs": [
|
|
4145
|
+
{
|
|
4146
|
+
"name": "",
|
|
4147
|
+
"type": "bytes32"
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"name": "",
|
|
4151
|
+
"type": "uint256"
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"name": "",
|
|
4155
|
+
"type": "uint256"
|
|
4156
|
+
}
|
|
4157
|
+
]
|
|
2924
4158
|
}
|
|
2925
4159
|
];
|
|
2926
4160
|
export const deployAddress = '0xB9d44E8b964466A2bB1BE747F2e92CD03c4b6D9a';
|
|
@@ -2956,6 +4190,9 @@ export const call = {
|
|
|
2956
4190
|
getRepayAndWithdrawHash: (...args) => getRequest('getRepayAndWithdrawHash', args),
|
|
2957
4191
|
getRebalanceYieldPositionsWithSwapHash: (...args) => getRequest('getRebalanceYieldPositionsWithSwapHash', args),
|
|
2958
4192
|
getClaimIncentivesAndSwapHash: (...args) => getRequest('getClaimIncentivesAndSwapHash', args),
|
|
4193
|
+
getIssuePullChequesHash: (...args) => getRequest('getIssuePullChequesHash', args),
|
|
4194
|
+
getWhitelistMaintenanceHash: (...args) => getRequest('getWhitelistMaintenanceHash', args),
|
|
4195
|
+
getHarvestAndIssueChequeHash: (...args) => getRequest('getHarvestAndIssueChequeHash', args),
|
|
2959
4196
|
};
|
|
2960
4197
|
export function toSdk(deployAddress, publicClient, walletClient, addressResolver) {
|
|
2961
4198
|
return {
|
|
@@ -2966,6 +4203,9 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
2966
4203
|
getRepayAndWithdrawHash: (...args) => singleQuery(publicClient, call.getRepayAndWithdrawHash(...args).at(deployAddress), {}, addressResolver),
|
|
2967
4204
|
getRebalanceYieldPositionsWithSwapHash: (...args) => singleQuery(publicClient, call.getRebalanceYieldPositionsWithSwapHash(...args).at(deployAddress), {}, addressResolver),
|
|
2968
4205
|
getClaimIncentivesAndSwapHash: (...args) => singleQuery(publicClient, call.getClaimIncentivesAndSwapHash(...args).at(deployAddress), {}, addressResolver),
|
|
4206
|
+
getIssuePullChequesHash: (...args) => singleQuery(publicClient, call.getIssuePullChequesHash(...args).at(deployAddress), {}, addressResolver),
|
|
4207
|
+
getWhitelistMaintenanceHash: (...args) => singleQuery(publicClient, call.getWhitelistMaintenanceHash(...args).at(deployAddress), {}, addressResolver),
|
|
4208
|
+
getHarvestAndIssueChequeHash: (...args) => singleQuery(publicClient, call.getHarvestAndIssueChequeHash(...args).at(deployAddress), {}, addressResolver),
|
|
2969
4209
|
// Mutations
|
|
2970
4210
|
};
|
|
2971
4211
|
}
|