@nexusmutual/sdk 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/abis/Assessment.json +102 -0
- package/dist/data/abis/Cover.json +18 -0
- package/dist/data/abis/StakingPool.json +17 -173
- package/dist/data/abis/StakingProducts.json +75 -1
- package/dist/data/abis/StakingViewer.json +30 -0
- package/dist/data/abis/TokenController.json +77 -18
- package/dist/data/addresses.json +1 -1
- package/dist/data/product-types.json +7 -0
- package/dist/data/products.json +1 -1
- package/dist/index.d.mts +510 -309
- package/dist/index.d.ts +510 -309
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
|
@@ -10,6 +10,95 @@
|
|
|
10
10
|
"stateMutability": "nonpayable",
|
|
11
11
|
"type": "constructor"
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"inputs": [],
|
|
15
|
+
"name": "AcceptVoteRequired",
|
|
16
|
+
"type": "error"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [],
|
|
20
|
+
"name": "AlreadyVoted",
|
|
21
|
+
"type": "error"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"inputs": [],
|
|
25
|
+
"name": "AssessmentIdsIpfsLengthMismatch",
|
|
26
|
+
"type": "error"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [],
|
|
30
|
+
"name": "AssessmentIdsVotesLengthMismatch",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "uint256",
|
|
37
|
+
"name": "maxUnstakeAmount",
|
|
38
|
+
"type": "uint256"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "InvalidAmount",
|
|
42
|
+
"type": "error"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "InvalidMerkleProof",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "NoWithdrawableRewards",
|
|
52
|
+
"type": "error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "address",
|
|
58
|
+
"name": "nonMember",
|
|
59
|
+
"type": "address"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"name": "NotMember",
|
|
63
|
+
"type": "error"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"inputs": [],
|
|
67
|
+
"name": "OnlyTokenController",
|
|
68
|
+
"type": "error"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputs": [
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint256",
|
|
74
|
+
"name": "lockupExpiry",
|
|
75
|
+
"type": "uint256"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"name": "StakeLockedForAssessment",
|
|
79
|
+
"type": "error"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"inputs": [
|
|
83
|
+
{
|
|
84
|
+
"internalType": "uint256",
|
|
85
|
+
"name": "lockupExpiry",
|
|
86
|
+
"type": "uint256"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"name": "StakeLockedForGovernance",
|
|
90
|
+
"type": "error"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputs": [],
|
|
94
|
+
"name": "StakeRequired",
|
|
95
|
+
"type": "error"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [],
|
|
99
|
+
"name": "VotingClosed",
|
|
100
|
+
"type": "error"
|
|
101
|
+
},
|
|
13
102
|
{
|
|
14
103
|
"anonymous": false,
|
|
15
104
|
"inputs": [
|
|
@@ -633,6 +722,19 @@
|
|
|
633
722
|
"stateMutability": "nonpayable",
|
|
634
723
|
"type": "function"
|
|
635
724
|
},
|
|
725
|
+
{
|
|
726
|
+
"inputs": [
|
|
727
|
+
{
|
|
728
|
+
"internalType": "address",
|
|
729
|
+
"name": "staker",
|
|
730
|
+
"type": "address"
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"name": "unstakeAllFor",
|
|
734
|
+
"outputs": [],
|
|
735
|
+
"stateMutability": "nonpayable",
|
|
736
|
+
"type": "function"
|
|
737
|
+
},
|
|
636
738
|
{
|
|
637
739
|
"inputs": [
|
|
638
740
|
{
|
|
@@ -96,6 +96,11 @@
|
|
|
96
96
|
"name": "OnlyOwnerOrApproved",
|
|
97
97
|
"type": "error"
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
"inputs": [],
|
|
101
|
+
"name": "OnlySwapOperator",
|
|
102
|
+
"type": "error"
|
|
103
|
+
},
|
|
99
104
|
{
|
|
100
105
|
"inputs": [],
|
|
101
106
|
"name": "PriceExceedsMaxPremiumInAsset",
|
|
@@ -880,6 +885,19 @@
|
|
|
880
885
|
"stateMutability": "view",
|
|
881
886
|
"type": "function"
|
|
882
887
|
},
|
|
888
|
+
{
|
|
889
|
+
"inputs": [
|
|
890
|
+
{
|
|
891
|
+
"internalType": "uint256[][][]",
|
|
892
|
+
"name": "tokenIds",
|
|
893
|
+
"type": "uint256[][][]"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"name": "updateStakingPoolsRewardShares",
|
|
897
|
+
"outputs": [],
|
|
898
|
+
"stateMutability": "nonpayable",
|
|
899
|
+
"type": "function"
|
|
900
|
+
},
|
|
883
901
|
{
|
|
884
902
|
"inputs": [
|
|
885
903
|
{
|
|
@@ -215,19 +215,6 @@
|
|
|
215
215
|
"name": "DepositExtended",
|
|
216
216
|
"type": "event"
|
|
217
217
|
},
|
|
218
|
-
{
|
|
219
|
-
"anonymous": false,
|
|
220
|
-
"inputs": [
|
|
221
|
-
{
|
|
222
|
-
"indexed": false,
|
|
223
|
-
"internalType": "string",
|
|
224
|
-
"name": "ipfsDescriptionHash",
|
|
225
|
-
"type": "string"
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
"name": "PoolDescriptionSet",
|
|
229
|
-
"type": "event"
|
|
230
|
-
},
|
|
231
218
|
{
|
|
232
219
|
"anonymous": false,
|
|
233
220
|
"inputs": [
|
|
@@ -490,32 +477,6 @@
|
|
|
490
477
|
"stateMutability": "view",
|
|
491
478
|
"type": "function"
|
|
492
479
|
},
|
|
493
|
-
{
|
|
494
|
-
"inputs": [],
|
|
495
|
-
"name": "REWARD_BONUS_PER_TRANCHE_DENOMINATOR",
|
|
496
|
-
"outputs": [
|
|
497
|
-
{
|
|
498
|
-
"internalType": "uint256",
|
|
499
|
-
"name": "",
|
|
500
|
-
"type": "uint256"
|
|
501
|
-
}
|
|
502
|
-
],
|
|
503
|
-
"stateMutability": "view",
|
|
504
|
-
"type": "function"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"inputs": [],
|
|
508
|
-
"name": "REWARD_BONUS_PER_TRANCHE_RATIO",
|
|
509
|
-
"outputs": [
|
|
510
|
-
{
|
|
511
|
-
"internalType": "uint256",
|
|
512
|
-
"name": "",
|
|
513
|
-
"type": "uint256"
|
|
514
|
-
}
|
|
515
|
-
],
|
|
516
|
-
"stateMutability": "view",
|
|
517
|
-
"type": "function"
|
|
518
|
-
},
|
|
519
480
|
{
|
|
520
481
|
"inputs": [],
|
|
521
482
|
"name": "TRANCHE_DURATION",
|
|
@@ -587,58 +548,6 @@
|
|
|
587
548
|
"stateMutability": "nonpayable",
|
|
588
549
|
"type": "function"
|
|
589
550
|
},
|
|
590
|
-
{
|
|
591
|
-
"inputs": [
|
|
592
|
-
{
|
|
593
|
-
"internalType": "uint256",
|
|
594
|
-
"name": "initialStakeShares",
|
|
595
|
-
"type": "uint256"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"internalType": "uint256",
|
|
599
|
-
"name": "stakeSharesIncrease",
|
|
600
|
-
"type": "uint256"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"internalType": "uint256",
|
|
604
|
-
"name": "initialTrancheId",
|
|
605
|
-
"type": "uint256"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"internalType": "uint256",
|
|
609
|
-
"name": "newTrancheId",
|
|
610
|
-
"type": "uint256"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"internalType": "uint256",
|
|
614
|
-
"name": "blockTimestamp",
|
|
615
|
-
"type": "uint256"
|
|
616
|
-
}
|
|
617
|
-
],
|
|
618
|
-
"name": "calculateNewRewardShares",
|
|
619
|
-
"outputs": [
|
|
620
|
-
{
|
|
621
|
-
"internalType": "uint256",
|
|
622
|
-
"name": "",
|
|
623
|
-
"type": "uint256"
|
|
624
|
-
}
|
|
625
|
-
],
|
|
626
|
-
"stateMutability": "pure",
|
|
627
|
-
"type": "function"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"inputs": [],
|
|
631
|
-
"name": "coverContract",
|
|
632
|
-
"outputs": [
|
|
633
|
-
{
|
|
634
|
-
"internalType": "address",
|
|
635
|
-
"name": "",
|
|
636
|
-
"type": "address"
|
|
637
|
-
}
|
|
638
|
-
],
|
|
639
|
-
"stateMutability": "view",
|
|
640
|
-
"type": "function"
|
|
641
|
-
},
|
|
642
551
|
{
|
|
643
552
|
"inputs": [
|
|
644
553
|
{
|
|
@@ -774,7 +683,7 @@
|
|
|
774
683
|
},
|
|
775
684
|
{
|
|
776
685
|
"internalType": "uint256",
|
|
777
|
-
"name": "
|
|
686
|
+
"name": "targetTrancheId",
|
|
778
687
|
"type": "uint256"
|
|
779
688
|
},
|
|
780
689
|
{
|
|
@@ -1149,11 +1058,6 @@
|
|
|
1149
1058
|
"internalType": "uint256",
|
|
1150
1059
|
"name": "_poolId",
|
|
1151
1060
|
"type": "uint256"
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"internalType": "string",
|
|
1155
|
-
"name": "ipfsDescriptionHash",
|
|
1156
|
-
"type": "string"
|
|
1157
1061
|
}
|
|
1158
1062
|
],
|
|
1159
1063
|
"name": "initialize",
|
|
@@ -1200,19 +1104,6 @@
|
|
|
1200
1104
|
"stateMutability": "view",
|
|
1201
1105
|
"type": "function"
|
|
1202
1106
|
},
|
|
1203
|
-
{
|
|
1204
|
-
"inputs": [],
|
|
1205
|
-
"name": "masterContract",
|
|
1206
|
-
"outputs": [
|
|
1207
|
-
{
|
|
1208
|
-
"internalType": "contract INXMMaster",
|
|
1209
|
-
"name": "",
|
|
1210
|
-
"type": "address"
|
|
1211
|
-
}
|
|
1212
|
-
],
|
|
1213
|
-
"stateMutability": "view",
|
|
1214
|
-
"type": "function"
|
|
1215
|
-
},
|
|
1216
1107
|
{
|
|
1217
1108
|
"inputs": [
|
|
1218
1109
|
{
|
|
@@ -1232,19 +1123,6 @@
|
|
|
1232
1123
|
"stateMutability": "nonpayable",
|
|
1233
1124
|
"type": "function"
|
|
1234
1125
|
},
|
|
1235
|
-
{
|
|
1236
|
-
"inputs": [],
|
|
1237
|
-
"name": "nxm",
|
|
1238
|
-
"outputs": [
|
|
1239
|
-
{
|
|
1240
|
-
"internalType": "contract INXMToken",
|
|
1241
|
-
"name": "",
|
|
1242
|
-
"type": "address"
|
|
1243
|
-
}
|
|
1244
|
-
],
|
|
1245
|
-
"stateMutability": "view",
|
|
1246
|
-
"type": "function"
|
|
1247
|
-
},
|
|
1248
1126
|
{
|
|
1249
1127
|
"inputs": [
|
|
1250
1128
|
{
|
|
@@ -1378,19 +1256,6 @@
|
|
|
1378
1256
|
"stateMutability": "view",
|
|
1379
1257
|
"type": "function"
|
|
1380
1258
|
},
|
|
1381
|
-
{
|
|
1382
|
-
"inputs": [
|
|
1383
|
-
{
|
|
1384
|
-
"internalType": "string",
|
|
1385
|
-
"name": "ipfsDescriptionHash",
|
|
1386
|
-
"type": "string"
|
|
1387
|
-
}
|
|
1388
|
-
],
|
|
1389
|
-
"name": "setPoolDescription",
|
|
1390
|
-
"outputs": [],
|
|
1391
|
-
"stateMutability": "nonpayable",
|
|
1392
|
-
"type": "function"
|
|
1393
|
-
},
|
|
1394
1259
|
{
|
|
1395
1260
|
"inputs": [
|
|
1396
1261
|
{
|
|
@@ -1418,39 +1283,24 @@
|
|
|
1418
1283
|
"type": "function"
|
|
1419
1284
|
},
|
|
1420
1285
|
{
|
|
1421
|
-
"inputs": [
|
|
1422
|
-
"name": "stakingNFT",
|
|
1423
|
-
"outputs": [
|
|
1286
|
+
"inputs": [
|
|
1424
1287
|
{
|
|
1425
|
-
"internalType": "
|
|
1288
|
+
"internalType": "uint256",
|
|
1426
1289
|
"name": "",
|
|
1427
|
-
"type": "
|
|
1428
|
-
}
|
|
1429
|
-
],
|
|
1430
|
-
"stateMutability": "view",
|
|
1431
|
-
"type": "function"
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"inputs": [],
|
|
1435
|
-
"name": "stakingProducts",
|
|
1436
|
-
"outputs": [
|
|
1290
|
+
"type": "uint256"
|
|
1291
|
+
},
|
|
1437
1292
|
{
|
|
1438
|
-
"internalType": "
|
|
1293
|
+
"internalType": "uint256",
|
|
1439
1294
|
"name": "",
|
|
1440
|
-
"type": "
|
|
1295
|
+
"type": "uint256"
|
|
1441
1296
|
}
|
|
1442
1297
|
],
|
|
1443
|
-
"
|
|
1444
|
-
"type": "function"
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"inputs": [],
|
|
1448
|
-
"name": "tokenController",
|
|
1298
|
+
"name": "trancheAllocationGroups",
|
|
1449
1299
|
"outputs": [
|
|
1450
1300
|
{
|
|
1451
|
-
"internalType": "
|
|
1301
|
+
"internalType": "TrancheAllocationGroup",
|
|
1452
1302
|
"name": "",
|
|
1453
|
-
"type": "
|
|
1303
|
+
"type": "uint256"
|
|
1454
1304
|
}
|
|
1455
1305
|
],
|
|
1456
1306
|
"stateMutability": "view",
|
|
@@ -1460,24 +1310,18 @@
|
|
|
1460
1310
|
"inputs": [
|
|
1461
1311
|
{
|
|
1462
1312
|
"internalType": "uint256",
|
|
1463
|
-
"name": "",
|
|
1313
|
+
"name": "trancheId",
|
|
1464
1314
|
"type": "uint256"
|
|
1465
1315
|
},
|
|
1466
1316
|
{
|
|
1467
|
-
"internalType": "uint256",
|
|
1468
|
-
"name": "",
|
|
1469
|
-
"type": "uint256"
|
|
1470
|
-
}
|
|
1471
|
-
],
|
|
1472
|
-
"name": "trancheAllocationGroups",
|
|
1473
|
-
"outputs": [
|
|
1474
|
-
{
|
|
1475
|
-
"internalType": "TrancheAllocationGroup",
|
|
1476
|
-
"name": "",
|
|
1477
|
-
"type": "uint256"
|
|
1317
|
+
"internalType": "uint256[]",
|
|
1318
|
+
"name": "tokenIds",
|
|
1319
|
+
"type": "uint256[]"
|
|
1478
1320
|
}
|
|
1479
1321
|
],
|
|
1480
|
-
"
|
|
1322
|
+
"name": "updateRewardsShares",
|
|
1323
|
+
"outputs": [],
|
|
1324
|
+
"stateMutability": "nonpayable",
|
|
1481
1325
|
"type": "function"
|
|
1482
1326
|
},
|
|
1483
1327
|
{
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"name": "InvalidProductType",
|
|
21
21
|
"type": "error"
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"inputs": [],
|
|
25
|
+
"name": "IpfsHashRequired",
|
|
26
|
+
"type": "error"
|
|
27
|
+
},
|
|
23
28
|
{
|
|
24
29
|
"inputs": [],
|
|
25
30
|
"name": "MustRecalculateEffectiveWeight",
|
|
@@ -661,7 +666,7 @@
|
|
|
661
666
|
},
|
|
662
667
|
{
|
|
663
668
|
"internalType": "string",
|
|
664
|
-
"name": "
|
|
669
|
+
"name": "ipfsHash",
|
|
665
670
|
"type": "string"
|
|
666
671
|
}
|
|
667
672
|
],
|
|
@@ -754,6 +759,44 @@
|
|
|
754
759
|
"stateMutability": "view",
|
|
755
760
|
"type": "function"
|
|
756
761
|
},
|
|
762
|
+
{
|
|
763
|
+
"inputs": [
|
|
764
|
+
{
|
|
765
|
+
"internalType": "uint256",
|
|
766
|
+
"name": "poolId",
|
|
767
|
+
"type": "uint256"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"name": "getPoolManager",
|
|
771
|
+
"outputs": [
|
|
772
|
+
{
|
|
773
|
+
"internalType": "address",
|
|
774
|
+
"name": "",
|
|
775
|
+
"type": "address"
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"stateMutability": "view",
|
|
779
|
+
"type": "function"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"inputs": [
|
|
783
|
+
{
|
|
784
|
+
"internalType": "uint256",
|
|
785
|
+
"name": "poolId",
|
|
786
|
+
"type": "uint256"
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"name": "getPoolMetadata",
|
|
790
|
+
"outputs": [
|
|
791
|
+
{
|
|
792
|
+
"internalType": "string",
|
|
793
|
+
"name": "ipfsHash",
|
|
794
|
+
"type": "string"
|
|
795
|
+
}
|
|
796
|
+
],
|
|
797
|
+
"stateMutability": "view",
|
|
798
|
+
"type": "function"
|
|
799
|
+
},
|
|
757
800
|
{
|
|
758
801
|
"inputs": [
|
|
759
802
|
{
|
|
@@ -1019,6 +1062,37 @@
|
|
|
1019
1062
|
"stateMutability": "nonpayable",
|
|
1020
1063
|
"type": "function"
|
|
1021
1064
|
},
|
|
1065
|
+
{
|
|
1066
|
+
"inputs": [
|
|
1067
|
+
{
|
|
1068
|
+
"internalType": "string[]",
|
|
1069
|
+
"name": "ipfsHashes",
|
|
1070
|
+
"type": "string[]"
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
1073
|
+
"name": "setInitialMetadata",
|
|
1074
|
+
"outputs": [],
|
|
1075
|
+
"stateMutability": "nonpayable",
|
|
1076
|
+
"type": "function"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"inputs": [
|
|
1080
|
+
{
|
|
1081
|
+
"internalType": "uint256",
|
|
1082
|
+
"name": "poolId",
|
|
1083
|
+
"type": "uint256"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"internalType": "string",
|
|
1087
|
+
"name": "ipfsHash",
|
|
1088
|
+
"type": "string"
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"name": "setPoolMetadata",
|
|
1092
|
+
"outputs": [],
|
|
1093
|
+
"stateMutability": "nonpayable",
|
|
1094
|
+
"type": "function"
|
|
1095
|
+
},
|
|
1022
1096
|
{
|
|
1023
1097
|
"inputs": [
|
|
1024
1098
|
{
|
|
@@ -172,6 +172,11 @@
|
|
|
172
172
|
"internalType": "uint256",
|
|
173
173
|
"name": "currentAPY",
|
|
174
174
|
"type": "uint256"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"internalType": "string",
|
|
178
|
+
"name": "metadataIpfsHash",
|
|
179
|
+
"type": "string"
|
|
175
180
|
}
|
|
176
181
|
],
|
|
177
182
|
"internalType": "struct IStakingViewer.Pool[]",
|
|
@@ -228,6 +233,11 @@
|
|
|
228
233
|
"internalType": "uint256",
|
|
229
234
|
"name": "currentAPY",
|
|
230
235
|
"type": "uint256"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"internalType": "string",
|
|
239
|
+
"name": "metadataIpfsHash",
|
|
240
|
+
"type": "string"
|
|
231
241
|
}
|
|
232
242
|
],
|
|
233
243
|
"internalType": "struct IStakingViewer.Pool[]",
|
|
@@ -286,6 +296,11 @@
|
|
|
286
296
|
"internalType": "uint256",
|
|
287
297
|
"name": "currentAPY",
|
|
288
298
|
"type": "uint256"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"internalType": "string",
|
|
302
|
+
"name": "metadataIpfsHash",
|
|
303
|
+
"type": "string"
|
|
289
304
|
}
|
|
290
305
|
],
|
|
291
306
|
"internalType": "struct IStakingViewer.Pool[]",
|
|
@@ -591,6 +606,11 @@
|
|
|
591
606
|
"internalType": "uint256",
|
|
592
607
|
"name": "currentAPY",
|
|
593
608
|
"type": "uint256"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"internalType": "string",
|
|
612
|
+
"name": "metadataIpfsHash",
|
|
613
|
+
"type": "string"
|
|
594
614
|
}
|
|
595
615
|
],
|
|
596
616
|
"internalType": "struct IStakingViewer.Pool",
|
|
@@ -698,6 +718,11 @@
|
|
|
698
718
|
"internalType": "uint256",
|
|
699
719
|
"name": "currentAPY",
|
|
700
720
|
"type": "uint256"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"internalType": "string",
|
|
724
|
+
"name": "metadataIpfsHash",
|
|
725
|
+
"type": "string"
|
|
701
726
|
}
|
|
702
727
|
],
|
|
703
728
|
"internalType": "struct IStakingViewer.Pool[]",
|
|
@@ -754,6 +779,11 @@
|
|
|
754
779
|
"internalType": "uint256",
|
|
755
780
|
"name": "currentAPY",
|
|
756
781
|
"type": "uint256"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"internalType": "string",
|
|
785
|
+
"name": "metadataIpfsHash",
|
|
786
|
+
"type": "string"
|
|
757
787
|
}
|
|
758
788
|
],
|
|
759
789
|
"internalType": "struct IStakingViewer.Pool[]",
|