@nexusmutual/sdk 0.3.23 → 0.4.0
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/AssessmentViewer.json +94 -0
- package/dist/data/abis/Cover.json +48 -611
- package/dist/data/abis/CoverProducts.json +942 -0
- package/dist/data/abis/EACAggregatorProxy.json +13 -0
- package/dist/data/abis/IndividualClaims.json +4 -4
- package/dist/data/abis/LegacyPooledStaking.json +0 -81
- package/dist/data/abis/NexusViewer.json +209 -0
- package/dist/data/abis/Ramm.json +15 -15
- package/dist/data/abis/StakingNFTDescriptor.json +2 -2
- package/dist/data/abis/StakingPool.json +5 -13
- package/dist/data/abis/StakingProducts.json +127 -41
- package/dist/data/abis/StakingViewer.json +311 -13
- package/dist/data/abis/YieldTokenIncidents.json +2 -2
- package/dist/data/addresses.json +7 -7
- package/dist/data/product-types.json +0 -7
- package/dist/data/products.json +921 -216
- package/dist/index.d.mts +4132 -3143
- package/dist/index.d.ts +4132 -3143
- package/dist/index.js +934 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +934 -224
- package/dist/index.mjs.map +1 -1
- package/dist/logos/contango.jpg +0 -0
- package/dist/logos/credit-guild.jpg +0 -0
- package/dist/logos/reserve.png +0 -0
- package/package.json +2 -2
- package/dist/data/abis/CoverMigrator.json +0 -195
- package/dist/data/abis/LegacyGateway.json +0 -588
- package/dist/data/abis/ProductsV1.json +0 -21
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"stateMutability": "nonpayable",
|
|
16
16
|
"type": "constructor"
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [],
|
|
20
|
+
"name": "InvalidProductType",
|
|
21
|
+
"type": "error"
|
|
22
|
+
},
|
|
18
23
|
{
|
|
19
24
|
"inputs": [],
|
|
20
25
|
"name": "MustRecalculateEffectiveWeight",
|
|
@@ -45,6 +50,11 @@
|
|
|
45
50
|
"name": "OnlyStakingPool",
|
|
46
51
|
"type": "error"
|
|
47
52
|
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "ProductDoesntExistOrIsDeprecated",
|
|
56
|
+
"type": "error"
|
|
57
|
+
},
|
|
48
58
|
{
|
|
49
59
|
"inputs": [
|
|
50
60
|
{
|
|
@@ -56,6 +66,11 @@
|
|
|
56
66
|
"name": "RevertedWithoutReason",
|
|
57
67
|
"type": "error"
|
|
58
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "TargetPriceBelowGlobalMinPriceRatio",
|
|
72
|
+
"type": "error"
|
|
73
|
+
},
|
|
59
74
|
{
|
|
60
75
|
"inputs": [],
|
|
61
76
|
"name": "TargetPriceBelowMin",
|
|
@@ -574,6 +589,19 @@
|
|
|
574
589
|
"stateMutability": "nonpayable",
|
|
575
590
|
"type": "function"
|
|
576
591
|
},
|
|
592
|
+
{
|
|
593
|
+
"inputs": [
|
|
594
|
+
{
|
|
595
|
+
"internalType": "address",
|
|
596
|
+
"name": "_operator",
|
|
597
|
+
"type": "address"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"name": "changeStakingPoolFactoryOperator",
|
|
601
|
+
"outputs": [],
|
|
602
|
+
"stateMutability": "nonpayable",
|
|
603
|
+
"type": "function"
|
|
604
|
+
},
|
|
577
605
|
{
|
|
578
606
|
"inputs": [],
|
|
579
607
|
"name": "coverContract",
|
|
@@ -587,6 +615,72 @@
|
|
|
587
615
|
"stateMutability": "view",
|
|
588
616
|
"type": "function"
|
|
589
617
|
},
|
|
618
|
+
{
|
|
619
|
+
"inputs": [
|
|
620
|
+
{
|
|
621
|
+
"internalType": "bool",
|
|
622
|
+
"name": "isPrivatePool",
|
|
623
|
+
"type": "bool"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"internalType": "uint256",
|
|
627
|
+
"name": "initialPoolFee",
|
|
628
|
+
"type": "uint256"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"internalType": "uint256",
|
|
632
|
+
"name": "maxPoolFee",
|
|
633
|
+
"type": "uint256"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"components": [
|
|
637
|
+
{
|
|
638
|
+
"internalType": "uint256",
|
|
639
|
+
"name": "productId",
|
|
640
|
+
"type": "uint256"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"internalType": "uint8",
|
|
644
|
+
"name": "weight",
|
|
645
|
+
"type": "uint8"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"internalType": "uint96",
|
|
649
|
+
"name": "initialPrice",
|
|
650
|
+
"type": "uint96"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"internalType": "uint96",
|
|
654
|
+
"name": "targetPrice",
|
|
655
|
+
"type": "uint96"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"internalType": "struct ProductInitializationParams[]",
|
|
659
|
+
"name": "productInitParams",
|
|
660
|
+
"type": "tuple[]"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"internalType": "string",
|
|
664
|
+
"name": "ipfsDescriptionHash",
|
|
665
|
+
"type": "string"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"name": "createStakingPool",
|
|
669
|
+
"outputs": [
|
|
670
|
+
{
|
|
671
|
+
"internalType": "uint256",
|
|
672
|
+
"name": "",
|
|
673
|
+
"type": "uint256"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"internalType": "address",
|
|
677
|
+
"name": "",
|
|
678
|
+
"type": "address"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"stateMutability": "nonpayable",
|
|
682
|
+
"type": "function"
|
|
683
|
+
},
|
|
590
684
|
{
|
|
591
685
|
"inputs": [
|
|
592
686
|
{
|
|
@@ -792,6 +886,19 @@
|
|
|
792
886
|
"stateMutability": "view",
|
|
793
887
|
"type": "function"
|
|
794
888
|
},
|
|
889
|
+
{
|
|
890
|
+
"inputs": [],
|
|
891
|
+
"name": "getStakingPoolCount",
|
|
892
|
+
"outputs": [
|
|
893
|
+
{
|
|
894
|
+
"internalType": "uint256",
|
|
895
|
+
"name": "",
|
|
896
|
+
"type": "uint256"
|
|
897
|
+
}
|
|
898
|
+
],
|
|
899
|
+
"stateMutability": "view",
|
|
900
|
+
"type": "function"
|
|
901
|
+
},
|
|
795
902
|
{
|
|
796
903
|
"inputs": [
|
|
797
904
|
{
|
|
@@ -912,46 +1019,6 @@
|
|
|
912
1019
|
"stateMutability": "nonpayable",
|
|
913
1020
|
"type": "function"
|
|
914
1021
|
},
|
|
915
|
-
{
|
|
916
|
-
"inputs": [
|
|
917
|
-
{
|
|
918
|
-
"internalType": "uint256",
|
|
919
|
-
"name": "poolId",
|
|
920
|
-
"type": "uint256"
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"components": [
|
|
924
|
-
{
|
|
925
|
-
"internalType": "uint256",
|
|
926
|
-
"name": "productId",
|
|
927
|
-
"type": "uint256"
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
"internalType": "uint8",
|
|
931
|
-
"name": "weight",
|
|
932
|
-
"type": "uint8"
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"internalType": "uint96",
|
|
936
|
-
"name": "initialPrice",
|
|
937
|
-
"type": "uint96"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"internalType": "uint96",
|
|
941
|
-
"name": "targetPrice",
|
|
942
|
-
"type": "uint96"
|
|
943
|
-
}
|
|
944
|
-
],
|
|
945
|
-
"internalType": "struct ProductInitializationParams[]",
|
|
946
|
-
"name": "params",
|
|
947
|
-
"type": "tuple[]"
|
|
948
|
-
}
|
|
949
|
-
],
|
|
950
|
-
"name": "setInitialProducts",
|
|
951
|
-
"outputs": [],
|
|
952
|
-
"stateMutability": "nonpayable",
|
|
953
|
-
"type": "function"
|
|
954
|
-
},
|
|
955
1022
|
{
|
|
956
1023
|
"inputs": [
|
|
957
1024
|
{
|
|
@@ -992,7 +1059,7 @@
|
|
|
992
1059
|
"type": "uint96"
|
|
993
1060
|
}
|
|
994
1061
|
],
|
|
995
|
-
"internalType": "struct StakedProductParam[]",
|
|
1062
|
+
"internalType": "struct IStakingProducts.StakedProductParam[]",
|
|
996
1063
|
"name": "params",
|
|
997
1064
|
"type": "tuple[]"
|
|
998
1065
|
}
|
|
@@ -1002,6 +1069,25 @@
|
|
|
1002
1069
|
"stateMutability": "nonpayable",
|
|
1003
1070
|
"type": "function"
|
|
1004
1071
|
},
|
|
1072
|
+
{
|
|
1073
|
+
"inputs": [
|
|
1074
|
+
{
|
|
1075
|
+
"internalType": "uint256",
|
|
1076
|
+
"name": "poolId",
|
|
1077
|
+
"type": "uint256"
|
|
1078
|
+
}
|
|
1079
|
+
],
|
|
1080
|
+
"name": "stakingPool",
|
|
1081
|
+
"outputs": [
|
|
1082
|
+
{
|
|
1083
|
+
"internalType": "contract IStakingPool",
|
|
1084
|
+
"name": "",
|
|
1085
|
+
"type": "address"
|
|
1086
|
+
}
|
|
1087
|
+
],
|
|
1088
|
+
"stateMutability": "view",
|
|
1089
|
+
"type": "function"
|
|
1090
|
+
},
|
|
1005
1091
|
{
|
|
1006
1092
|
"inputs": [],
|
|
1007
1093
|
"name": "stakingPoolFactory",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"type": "uint256"
|
|
125
125
|
}
|
|
126
126
|
],
|
|
127
|
-
"internalType": "struct
|
|
127
|
+
"internalType": "struct IStakingViewer.AggregatedTokens",
|
|
128
128
|
"name": "aggregated",
|
|
129
129
|
"type": "tuple"
|
|
130
130
|
}
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"type": "uint256"
|
|
175
175
|
}
|
|
176
176
|
],
|
|
177
|
-
"internalType": "struct
|
|
177
|
+
"internalType": "struct IStakingViewer.Pool[]",
|
|
178
178
|
"name": "pools",
|
|
179
179
|
"type": "tuple[]"
|
|
180
180
|
}
|
|
@@ -182,6 +182,194 @@
|
|
|
182
182
|
"stateMutability": "view",
|
|
183
183
|
"type": "function"
|
|
184
184
|
},
|
|
185
|
+
{
|
|
186
|
+
"inputs": [
|
|
187
|
+
{
|
|
188
|
+
"internalType": "address",
|
|
189
|
+
"name": "manager",
|
|
190
|
+
"type": "address"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"name": "getManagedStakingPools",
|
|
194
|
+
"outputs": [
|
|
195
|
+
{
|
|
196
|
+
"components": [
|
|
197
|
+
{
|
|
198
|
+
"internalType": "uint256",
|
|
199
|
+
"name": "poolId",
|
|
200
|
+
"type": "uint256"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"internalType": "bool",
|
|
204
|
+
"name": "isPrivatePool",
|
|
205
|
+
"type": "bool"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"internalType": "address",
|
|
209
|
+
"name": "manager",
|
|
210
|
+
"type": "address"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"internalType": "uint256",
|
|
214
|
+
"name": "poolFee",
|
|
215
|
+
"type": "uint256"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"internalType": "uint256",
|
|
219
|
+
"name": "maxPoolFee",
|
|
220
|
+
"type": "uint256"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"internalType": "uint256",
|
|
224
|
+
"name": "activeStake",
|
|
225
|
+
"type": "uint256"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"internalType": "uint256",
|
|
229
|
+
"name": "currentAPY",
|
|
230
|
+
"type": "uint256"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"internalType": "struct IStakingViewer.Pool[]",
|
|
234
|
+
"name": "",
|
|
235
|
+
"type": "tuple[]"
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"stateMutability": "view",
|
|
239
|
+
"type": "function"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"inputs": [
|
|
243
|
+
{
|
|
244
|
+
"internalType": "address",
|
|
245
|
+
"name": "manager",
|
|
246
|
+
"type": "address"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"name": "getManagerPoolsAndRewards",
|
|
250
|
+
"outputs": [
|
|
251
|
+
{
|
|
252
|
+
"components": [
|
|
253
|
+
{
|
|
254
|
+
"components": [
|
|
255
|
+
{
|
|
256
|
+
"internalType": "uint256",
|
|
257
|
+
"name": "poolId",
|
|
258
|
+
"type": "uint256"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"internalType": "bool",
|
|
262
|
+
"name": "isPrivatePool",
|
|
263
|
+
"type": "bool"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"internalType": "address",
|
|
267
|
+
"name": "manager",
|
|
268
|
+
"type": "address"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"internalType": "uint256",
|
|
272
|
+
"name": "poolFee",
|
|
273
|
+
"type": "uint256"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"internalType": "uint256",
|
|
277
|
+
"name": "maxPoolFee",
|
|
278
|
+
"type": "uint256"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"internalType": "uint256",
|
|
282
|
+
"name": "activeStake",
|
|
283
|
+
"type": "uint256"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"internalType": "uint256",
|
|
287
|
+
"name": "currentAPY",
|
|
288
|
+
"type": "uint256"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"internalType": "struct IStakingViewer.Pool[]",
|
|
292
|
+
"name": "pools",
|
|
293
|
+
"type": "tuple[]"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"components": [
|
|
297
|
+
{
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "tokenId",
|
|
300
|
+
"type": "uint256"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"internalType": "uint256",
|
|
304
|
+
"name": "poolId",
|
|
305
|
+
"type": "uint256"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"internalType": "uint256",
|
|
309
|
+
"name": "activeStake",
|
|
310
|
+
"type": "uint256"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"internalType": "uint256",
|
|
314
|
+
"name": "expiredStake",
|
|
315
|
+
"type": "uint256"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"internalType": "uint256",
|
|
319
|
+
"name": "rewards",
|
|
320
|
+
"type": "uint256"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"components": [
|
|
324
|
+
{
|
|
325
|
+
"internalType": "uint256",
|
|
326
|
+
"name": "tokenId",
|
|
327
|
+
"type": "uint256"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"internalType": "uint256",
|
|
331
|
+
"name": "trancheId",
|
|
332
|
+
"type": "uint256"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"internalType": "uint256",
|
|
336
|
+
"name": "stake",
|
|
337
|
+
"type": "uint256"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"internalType": "uint256",
|
|
341
|
+
"name": "stakeShares",
|
|
342
|
+
"type": "uint256"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"internalType": "uint256",
|
|
346
|
+
"name": "reward",
|
|
347
|
+
"type": "uint256"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"internalType": "struct IStakingViewer.Deposit[]",
|
|
351
|
+
"name": "deposits",
|
|
352
|
+
"type": "tuple[]"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"internalType": "struct IStakingViewer.Token[]",
|
|
356
|
+
"name": "rewards",
|
|
357
|
+
"type": "tuple[]"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"internalType": "uint256",
|
|
361
|
+
"name": "totalRewards",
|
|
362
|
+
"type": "uint256"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"internalType": "struct IStakingViewer.ManagerPoolsAndRewards",
|
|
366
|
+
"name": "",
|
|
367
|
+
"type": "tuple"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"stateMutability": "view",
|
|
371
|
+
"type": "function"
|
|
372
|
+
},
|
|
185
373
|
{
|
|
186
374
|
"inputs": [
|
|
187
375
|
{
|
|
@@ -247,12 +435,90 @@
|
|
|
247
435
|
"type": "uint256"
|
|
248
436
|
}
|
|
249
437
|
],
|
|
250
|
-
"internalType": "struct
|
|
438
|
+
"internalType": "struct IStakingViewer.Deposit[]",
|
|
439
|
+
"name": "deposits",
|
|
440
|
+
"type": "tuple[]"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"internalType": "struct IStakingViewer.Token[]",
|
|
444
|
+
"name": "tokens",
|
|
445
|
+
"type": "tuple[]"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"stateMutability": "view",
|
|
449
|
+
"type": "function"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"inputs": [
|
|
453
|
+
{
|
|
454
|
+
"internalType": "address",
|
|
455
|
+
"name": "manager",
|
|
456
|
+
"type": "address"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"name": "getManagerTokenRewardsByAddr",
|
|
460
|
+
"outputs": [
|
|
461
|
+
{
|
|
462
|
+
"components": [
|
|
463
|
+
{
|
|
464
|
+
"internalType": "uint256",
|
|
465
|
+
"name": "tokenId",
|
|
466
|
+
"type": "uint256"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"internalType": "uint256",
|
|
470
|
+
"name": "poolId",
|
|
471
|
+
"type": "uint256"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"internalType": "uint256",
|
|
475
|
+
"name": "activeStake",
|
|
476
|
+
"type": "uint256"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"internalType": "uint256",
|
|
480
|
+
"name": "expiredStake",
|
|
481
|
+
"type": "uint256"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"internalType": "uint256",
|
|
485
|
+
"name": "rewards",
|
|
486
|
+
"type": "uint256"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"components": [
|
|
490
|
+
{
|
|
491
|
+
"internalType": "uint256",
|
|
492
|
+
"name": "tokenId",
|
|
493
|
+
"type": "uint256"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"internalType": "uint256",
|
|
497
|
+
"name": "trancheId",
|
|
498
|
+
"type": "uint256"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"internalType": "uint256",
|
|
502
|
+
"name": "stake",
|
|
503
|
+
"type": "uint256"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"internalType": "uint256",
|
|
507
|
+
"name": "stakeShares",
|
|
508
|
+
"type": "uint256"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"internalType": "uint256",
|
|
512
|
+
"name": "reward",
|
|
513
|
+
"type": "uint256"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"internalType": "struct IStakingViewer.Deposit[]",
|
|
251
517
|
"name": "deposits",
|
|
252
518
|
"type": "tuple[]"
|
|
253
519
|
}
|
|
254
520
|
],
|
|
255
|
-
"internalType": "struct
|
|
521
|
+
"internalType": "struct IStakingViewer.Token[]",
|
|
256
522
|
"name": "tokens",
|
|
257
523
|
"type": "tuple[]"
|
|
258
524
|
}
|
|
@@ -260,6 +526,25 @@
|
|
|
260
526
|
"stateMutability": "view",
|
|
261
527
|
"type": "function"
|
|
262
528
|
},
|
|
529
|
+
{
|
|
530
|
+
"inputs": [
|
|
531
|
+
{
|
|
532
|
+
"internalType": "address",
|
|
533
|
+
"name": "manager",
|
|
534
|
+
"type": "address"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"name": "getManagerTotalRewards",
|
|
538
|
+
"outputs": [
|
|
539
|
+
{
|
|
540
|
+
"internalType": "uint256",
|
|
541
|
+
"name": "managerTotalRewards",
|
|
542
|
+
"type": "uint256"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"stateMutability": "view",
|
|
546
|
+
"type": "function"
|
|
547
|
+
},
|
|
263
548
|
{
|
|
264
549
|
"inputs": [
|
|
265
550
|
{
|
|
@@ -308,7 +593,7 @@
|
|
|
308
593
|
"type": "uint256"
|
|
309
594
|
}
|
|
310
595
|
],
|
|
311
|
-
"internalType": "struct
|
|
596
|
+
"internalType": "struct IStakingViewer.Pool",
|
|
312
597
|
"name": "pool",
|
|
313
598
|
"type": "tuple"
|
|
314
599
|
}
|
|
@@ -359,7 +644,7 @@
|
|
|
359
644
|
"type": "uint256"
|
|
360
645
|
}
|
|
361
646
|
],
|
|
362
|
-
"internalType": "struct
|
|
647
|
+
"internalType": "struct IStakingViewer.StakingProduct[]",
|
|
363
648
|
"name": "products",
|
|
364
649
|
"type": "tuple[]"
|
|
365
650
|
}
|
|
@@ -415,7 +700,7 @@
|
|
|
415
700
|
"type": "uint256"
|
|
416
701
|
}
|
|
417
702
|
],
|
|
418
|
-
"internalType": "struct
|
|
703
|
+
"internalType": "struct IStakingViewer.Pool[]",
|
|
419
704
|
"name": "pools",
|
|
420
705
|
"type": "tuple[]"
|
|
421
706
|
}
|
|
@@ -471,7 +756,7 @@
|
|
|
471
756
|
"type": "uint256"
|
|
472
757
|
}
|
|
473
758
|
],
|
|
474
|
-
"internalType": "struct
|
|
759
|
+
"internalType": "struct IStakingViewer.Pool[]",
|
|
475
760
|
"name": "pools",
|
|
476
761
|
"type": "tuple[]"
|
|
477
762
|
}
|
|
@@ -502,7 +787,7 @@
|
|
|
502
787
|
"type": "uint256"
|
|
503
788
|
}
|
|
504
789
|
],
|
|
505
|
-
"internalType": "struct
|
|
790
|
+
"internalType": "struct IStakingViewer.TokenPoolMap[]",
|
|
506
791
|
"name": "tokenPools",
|
|
507
792
|
"type": "tuple[]"
|
|
508
793
|
}
|
|
@@ -575,12 +860,12 @@
|
|
|
575
860
|
"type": "uint256"
|
|
576
861
|
}
|
|
577
862
|
],
|
|
578
|
-
"internalType": "struct
|
|
863
|
+
"internalType": "struct IStakingViewer.Deposit[]",
|
|
579
864
|
"name": "deposits",
|
|
580
865
|
"type": "tuple[]"
|
|
581
866
|
}
|
|
582
867
|
],
|
|
583
|
-
"internalType": "struct
|
|
868
|
+
"internalType": "struct IStakingViewer.Token",
|
|
584
869
|
"name": "token",
|
|
585
870
|
"type": "tuple"
|
|
586
871
|
}
|
|
@@ -653,12 +938,12 @@
|
|
|
653
938
|
"type": "uint256"
|
|
654
939
|
}
|
|
655
940
|
],
|
|
656
|
-
"internalType": "struct
|
|
941
|
+
"internalType": "struct IStakingViewer.Deposit[]",
|
|
657
942
|
"name": "deposits",
|
|
658
943
|
"type": "tuple[]"
|
|
659
944
|
}
|
|
660
945
|
],
|
|
661
|
-
"internalType": "struct
|
|
946
|
+
"internalType": "struct IStakingViewer.Token[]",
|
|
662
947
|
"name": "tokens",
|
|
663
948
|
"type": "tuple[]"
|
|
664
949
|
}
|
|
@@ -711,6 +996,19 @@
|
|
|
711
996
|
"stateMutability": "nonpayable",
|
|
712
997
|
"type": "function"
|
|
713
998
|
},
|
|
999
|
+
{
|
|
1000
|
+
"inputs": [
|
|
1001
|
+
{
|
|
1002
|
+
"internalType": "uint256[]",
|
|
1003
|
+
"name": "tokenIds",
|
|
1004
|
+
"type": "uint256[]"
|
|
1005
|
+
}
|
|
1006
|
+
],
|
|
1007
|
+
"name": "processExpirationsFor",
|
|
1008
|
+
"outputs": [],
|
|
1009
|
+
"stateMutability": "nonpayable",
|
|
1010
|
+
"type": "function"
|
|
1011
|
+
},
|
|
714
1012
|
{
|
|
715
1013
|
"inputs": [],
|
|
716
1014
|
"name": "stakingNFT",
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"type": "uint256"
|
|
255
255
|
}
|
|
256
256
|
],
|
|
257
|
-
"internalType": "struct IncidentDisplay[]",
|
|
257
|
+
"internalType": "struct IYieldTokenIncidents.IncidentDisplay[]",
|
|
258
258
|
"name": "",
|
|
259
259
|
"type": "tuple[]"
|
|
260
260
|
}
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
{
|
|
427
427
|
"inputs": [
|
|
428
428
|
{
|
|
429
|
-
"internalType": "enum UintParams[]",
|
|
429
|
+
"internalType": "enum IYieldTokenIncidents.UintParams[]",
|
|
430
430
|
"name": "paramNames",
|
|
431
431
|
"type": "uint8[]"
|
|
432
432
|
},
|