@nexusmutual/sdk 0.0.1

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.
Files changed (44) hide show
  1. package/.github/workflows/merge-master.yml +124 -0
  2. package/.github/workflows/pull_request.yml +62 -0
  3. package/README.md +32 -0
  4. package/dist/contracts/abis/Assessment.json +700 -0
  5. package/dist/contracts/abis/Cover.json +1258 -0
  6. package/dist/contracts/abis/CoverMigrator.json +189 -0
  7. package/dist/contracts/abis/CoverNFT.json +498 -0
  8. package/dist/contracts/abis/CoverNFTDescriptor.json +200 -0
  9. package/dist/contracts/abis/CoverViewer.json +124 -0
  10. package/dist/contracts/abis/EACAggregatorProxy.json +58 -0
  11. package/dist/contracts/abis/ERC20.json +364 -0
  12. package/dist/contracts/abis/Governance.json +975 -0
  13. package/dist/contracts/abis/IndividualClaims.json +528 -0
  14. package/dist/contracts/abis/LegacyClaimProofs.json +64 -0
  15. package/dist/contracts/abis/LegacyClaimsData.json +1912 -0
  16. package/dist/contracts/abis/LegacyClaimsReward.json +179 -0
  17. package/dist/contracts/abis/LegacyGateway.json +542 -0
  18. package/dist/contracts/abis/LegacyPooledStaking.json +1320 -0
  19. package/dist/contracts/abis/LegacyQuotationData.json +1121 -0
  20. package/dist/contracts/abis/MCR.json +326 -0
  21. package/dist/contracts/abis/MemberRoles.json +681 -0
  22. package/dist/contracts/abis/NXMToken.json +498 -0
  23. package/dist/contracts/abis/NXMaster.json +501 -0
  24. package/dist/contracts/abis/Pool.json +928 -0
  25. package/dist/contracts/abis/PriceFeedOracle.json +122 -0
  26. package/dist/contracts/abis/ProductsV1.json +21 -0
  27. package/dist/contracts/abis/ProposalCategory.json +550 -0
  28. package/dist/contracts/abis/StakingNFT.json +569 -0
  29. package/dist/contracts/abis/StakingNFTDescriptor.json +222 -0
  30. package/dist/contracts/abis/StakingPool.json +1433 -0
  31. package/dist/contracts/abis/StakingPoolFactory.json +108 -0
  32. package/dist/contracts/abis/StakingProducts.json +885 -0
  33. package/dist/contracts/abis/StakingViewer.json +777 -0
  34. package/dist/contracts/abis/SwapOperator.json +754 -0
  35. package/dist/contracts/abis/TokenController.json +1024 -0
  36. package/dist/contracts/abis/YieldTokenIncidents.json +438 -0
  37. package/dist/contracts/abis/index.js +69 -0
  38. package/dist/contracts/addresses.json +35 -0
  39. package/dist/index.d.ts +5 -0
  40. package/dist/index.js +13 -0
  41. package/dist/products/product-logos.json +103 -0
  42. package/dist/products/product-types.json +58 -0
  43. package/dist/products/products.json +1414 -0
  44. package/package.json +50 -0
@@ -0,0 +1,1024 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "payable": false,
5
+ "inputs": [
6
+ {
7
+ "type": "address",
8
+ "name": "quotationDataAddress"
9
+ },
10
+ {
11
+ "type": "address",
12
+ "name": "claimsRewardAddress"
13
+ },
14
+ {
15
+ "type": "address",
16
+ "name": "stakingPoolFactoryAddress"
17
+ },
18
+ {
19
+ "type": "address",
20
+ "name": "tokenAddress"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "type": "event",
26
+ "anonymous": false,
27
+ "name": "Locked",
28
+ "inputs": [
29
+ {
30
+ "type": "address",
31
+ "name": "_of",
32
+ "indexed": true
33
+ },
34
+ {
35
+ "type": "bytes32",
36
+ "name": "_reason",
37
+ "indexed": true
38
+ },
39
+ {
40
+ "type": "uint256",
41
+ "name": "_amount",
42
+ "indexed": false
43
+ },
44
+ {
45
+ "type": "uint256",
46
+ "name": "_validity",
47
+ "indexed": false
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "type": "event",
53
+ "anonymous": false,
54
+ "name": "Unlocked",
55
+ "inputs": [
56
+ {
57
+ "type": "address",
58
+ "name": "_of",
59
+ "indexed": true
60
+ },
61
+ {
62
+ "type": "bytes32",
63
+ "name": "_reason",
64
+ "indexed": true
65
+ },
66
+ {
67
+ "type": "uint256",
68
+ "name": "_amount",
69
+ "indexed": false
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "type": "function",
75
+ "name": "_unused_claimSubmissionGracePeriod",
76
+ "constant": true,
77
+ "stateMutability": "view",
78
+ "payable": false,
79
+
80
+ "inputs": [],
81
+ "outputs": [
82
+ {
83
+ "type": "uint256"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "type": "function",
89
+ "name": "_unused_minCALockTime",
90
+ "constant": true,
91
+ "stateMutability": "view",
92
+ "payable": false,
93
+
94
+ "inputs": [],
95
+ "outputs": [
96
+ {
97
+ "type": "uint256"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "type": "function",
103
+ "name": "_unused_pooledStaking",
104
+ "constant": true,
105
+ "stateMutability": "view",
106
+ "payable": false,
107
+
108
+ "inputs": [],
109
+ "outputs": [
110
+ {
111
+ "type": "address"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "type": "function",
117
+ "name": "_unused_token",
118
+ "constant": true,
119
+ "stateMutability": "view",
120
+ "payable": false,
121
+
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "type": "address"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "type": "function",
131
+ "name": "acceptStakingPoolOwnershipOffer",
132
+ "constant": false,
133
+ "payable": false,
134
+
135
+ "inputs": [
136
+ {
137
+ "type": "uint256",
138
+ "name": "poolId"
139
+ }
140
+ ],
141
+ "outputs": []
142
+ },
143
+ {
144
+ "type": "function",
145
+ "name": "addToWhitelist",
146
+ "constant": false,
147
+ "payable": false,
148
+
149
+ "inputs": [
150
+ {
151
+ "type": "address",
152
+ "name": "_member"
153
+ }
154
+ ],
155
+ "outputs": []
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "assignStakingPoolManager",
160
+ "constant": false,
161
+ "payable": false,
162
+
163
+ "inputs": [
164
+ {
165
+ "type": "uint256",
166
+ "name": "poolId"
167
+ },
168
+ {
169
+ "type": "address",
170
+ "name": "manager"
171
+ }
172
+ ],
173
+ "outputs": []
174
+ },
175
+ {
176
+ "type": "function",
177
+ "name": "burnFrom",
178
+ "constant": false,
179
+ "payable": false,
180
+
181
+ "inputs": [
182
+ {
183
+ "type": "address",
184
+ "name": "_of"
185
+ },
186
+ {
187
+ "type": "uint256",
188
+ "name": "amount"
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "type": "bool"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "type": "function",
199
+ "name": "burnStakedNXM",
200
+ "constant": false,
201
+ "payable": false,
202
+
203
+ "inputs": [
204
+ {
205
+ "type": "uint256",
206
+ "name": "amount"
207
+ },
208
+ {
209
+ "type": "uint256",
210
+ "name": "poolId"
211
+ }
212
+ ],
213
+ "outputs": []
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "burnStakingPoolNXMRewards",
218
+ "constant": false,
219
+ "payable": false,
220
+
221
+ "inputs": [
222
+ {
223
+ "type": "uint256",
224
+ "name": "amount"
225
+ },
226
+ {
227
+ "type": "uint256",
228
+ "name": "poolId"
229
+ }
230
+ ],
231
+ "outputs": []
232
+ },
233
+ {
234
+ "type": "function",
235
+ "name": "cancelStakingPoolOwnershipOffer",
236
+ "constant": false,
237
+ "payable": false,
238
+
239
+ "inputs": [
240
+ {
241
+ "type": "uint256",
242
+ "name": "poolId"
243
+ }
244
+ ],
245
+ "outputs": []
246
+ },
247
+ {
248
+ "type": "function",
249
+ "name": "changeDependentContractAddress",
250
+ "constant": false,
251
+ "payable": false,
252
+
253
+ "inputs": [],
254
+ "outputs": []
255
+ },
256
+ {
257
+ "type": "function",
258
+ "name": "changeMasterAddress",
259
+ "constant": false,
260
+ "payable": false,
261
+
262
+ "inputs": [
263
+ {
264
+ "type": "address",
265
+ "name": "masterAddress"
266
+ }
267
+ ],
268
+ "outputs": []
269
+ },
270
+ {
271
+ "type": "function",
272
+ "name": "changeOperator",
273
+ "constant": false,
274
+ "payable": false,
275
+
276
+ "inputs": [
277
+ {
278
+ "type": "address",
279
+ "name": "_newOperator"
280
+ }
281
+ ],
282
+ "outputs": []
283
+ },
284
+ {
285
+ "type": "function",
286
+ "name": "claimsReward",
287
+ "constant": true,
288
+ "stateMutability": "view",
289
+ "payable": false,
290
+
291
+ "inputs": [],
292
+ "outputs": [
293
+ {
294
+ "type": "address"
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "type": "function",
300
+ "name": "coverInfo",
301
+ "constant": true,
302
+ "stateMutability": "view",
303
+ "payable": false,
304
+
305
+ "inputs": [
306
+ {
307
+ "type": "uint256"
308
+ }
309
+ ],
310
+ "outputs": [
311
+ {
312
+ "type": "uint16",
313
+ "name": "claimCount"
314
+ },
315
+ {
316
+ "type": "bool",
317
+ "name": "hasOpenClaim"
318
+ },
319
+ {
320
+ "type": "bool",
321
+ "name": "hasAcceptedClaim"
322
+ },
323
+ {
324
+ "type": "uint96",
325
+ "name": "requestedPayoutAmount"
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "type": "function",
331
+ "name": "createStakingPoolOwnershipOffer",
332
+ "constant": false,
333
+ "payable": false,
334
+
335
+ "inputs": [
336
+ {
337
+ "type": "uint256",
338
+ "name": "poolId"
339
+ },
340
+ {
341
+ "type": "address",
342
+ "name": "proposedManager"
343
+ },
344
+ {
345
+ "type": "uint256",
346
+ "name": "deadline"
347
+ }
348
+ ],
349
+ "outputs": []
350
+ },
351
+ {
352
+ "type": "function",
353
+ "name": "depositStakedNXM",
354
+ "constant": false,
355
+ "payable": false,
356
+
357
+ "inputs": [
358
+ {
359
+ "type": "address",
360
+ "name": "from"
361
+ },
362
+ {
363
+ "type": "uint256",
364
+ "name": "amount"
365
+ },
366
+ {
367
+ "type": "uint256",
368
+ "name": "poolId"
369
+ }
370
+ ],
371
+ "outputs": []
372
+ },
373
+ {
374
+ "type": "function",
375
+ "name": "getLockReasons",
376
+ "constant": true,
377
+ "stateMutability": "view",
378
+ "payable": false,
379
+
380
+ "inputs": [
381
+ {
382
+ "type": "address",
383
+ "name": "_of"
384
+ }
385
+ ],
386
+ "outputs": [
387
+ {
388
+ "type": "bytes32[]",
389
+ "name": "reasons"
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "type": "function",
395
+ "name": "getManagerStakingPools",
396
+ "constant": true,
397
+ "stateMutability": "view",
398
+ "payable": false,
399
+
400
+ "inputs": [
401
+ {
402
+ "type": "address",
403
+ "name": "manager"
404
+ }
405
+ ],
406
+ "outputs": [
407
+ {
408
+ "type": "uint256[]"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "type": "function",
414
+ "name": "getPendingRewards",
415
+ "constant": true,
416
+ "stateMutability": "view",
417
+ "payable": false,
418
+
419
+ "inputs": [
420
+ {
421
+ "type": "address",
422
+ "name": "member"
423
+ }
424
+ ],
425
+ "outputs": [
426
+ {
427
+ "type": "uint256"
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "type": "function",
433
+ "name": "getStakingPoolManager",
434
+ "constant": true,
435
+ "stateMutability": "view",
436
+ "payable": false,
437
+
438
+ "inputs": [
439
+ {
440
+ "type": "uint256",
441
+ "name": "poolId"
442
+ }
443
+ ],
444
+ "outputs": [
445
+ {
446
+ "type": "address"
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "type": "function",
452
+ "name": "getStakingPoolOwnershipOffer",
453
+ "constant": true,
454
+ "stateMutability": "view",
455
+ "payable": false,
456
+
457
+ "inputs": [
458
+ {
459
+ "type": "uint256",
460
+ "name": "poolId"
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "type": "address",
466
+ "name": "proposedManager"
467
+ },
468
+ {
469
+ "type": "uint256",
470
+ "name": "deadline"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "type": "function",
476
+ "name": "getTokenPrice",
477
+ "constant": true,
478
+ "stateMutability": "view",
479
+ "payable": false,
480
+
481
+ "inputs": [],
482
+ "outputs": [
483
+ {
484
+ "type": "uint256",
485
+ "name": "tokenPrice"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "type": "function",
491
+ "name": "getWithdrawableCoverNotes",
492
+ "constant": true,
493
+ "stateMutability": "view",
494
+ "payable": false,
495
+
496
+ "inputs": [
497
+ {
498
+ "type": "address",
499
+ "name": "coverOwner"
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "type": "uint256[]",
505
+ "name": "coverIds"
506
+ },
507
+ {
508
+ "type": "bytes32[]",
509
+ "name": "lockReasons"
510
+ },
511
+ {
512
+ "type": "uint256",
513
+ "name": "withdrawableAmount"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "type": "function",
519
+ "name": "internalContracts",
520
+ "constant": true,
521
+ "stateMutability": "view",
522
+ "payable": false,
523
+
524
+ "inputs": [
525
+ {
526
+ "type": "uint256"
527
+ }
528
+ ],
529
+ "outputs": [
530
+ {
531
+ "type": "address"
532
+ }
533
+ ]
534
+ },
535
+ {
536
+ "type": "function",
537
+ "name": "isStakingPoolManager",
538
+ "constant": true,
539
+ "stateMutability": "view",
540
+ "payable": false,
541
+
542
+ "inputs": [
543
+ {
544
+ "type": "address",
545
+ "name": "member"
546
+ }
547
+ ],
548
+ "outputs": [
549
+ {
550
+ "type": "bool"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "function",
556
+ "name": "lockForMemberVote",
557
+ "constant": false,
558
+ "payable": false,
559
+
560
+ "inputs": [
561
+ {
562
+ "type": "address",
563
+ "name": "_of"
564
+ },
565
+ {
566
+ "type": "uint256",
567
+ "name": "_days"
568
+ }
569
+ ],
570
+ "outputs": []
571
+ },
572
+ {
573
+ "type": "function",
574
+ "name": "lockReason",
575
+ "constant": true,
576
+ "stateMutability": "view",
577
+ "payable": false,
578
+
579
+ "inputs": [
580
+ {
581
+ "type": "address"
582
+ },
583
+ {
584
+ "type": "uint256"
585
+ }
586
+ ],
587
+ "outputs": [
588
+ {
589
+ "type": "bytes32"
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "type": "function",
595
+ "name": "locked",
596
+ "constant": true,
597
+ "stateMutability": "view",
598
+ "payable": false,
599
+
600
+ "inputs": [
601
+ {
602
+ "type": "address"
603
+ },
604
+ {
605
+ "type": "bytes32"
606
+ }
607
+ ],
608
+ "outputs": [
609
+ {
610
+ "type": "uint256",
611
+ "name": "amount"
612
+ },
613
+ {
614
+ "type": "uint256",
615
+ "name": "validity"
616
+ },
617
+ {
618
+ "type": "bool",
619
+ "name": "claimed"
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "type": "function",
625
+ "name": "master",
626
+ "constant": true,
627
+ "stateMutability": "view",
628
+ "payable": false,
629
+
630
+ "inputs": [],
631
+ "outputs": [
632
+ {
633
+ "type": "address"
634
+ }
635
+ ]
636
+ },
637
+ {
638
+ "type": "function",
639
+ "name": "mint",
640
+ "constant": false,
641
+ "payable": false,
642
+
643
+ "inputs": [
644
+ {
645
+ "type": "address",
646
+ "name": "_member"
647
+ },
648
+ {
649
+ "type": "uint256",
650
+ "name": "_amount"
651
+ }
652
+ ],
653
+ "outputs": []
654
+ },
655
+ {
656
+ "type": "function",
657
+ "name": "mintStakingPoolNXMRewards",
658
+ "constant": false,
659
+ "payable": false,
660
+
661
+ "inputs": [
662
+ {
663
+ "type": "uint256",
664
+ "name": "amount"
665
+ },
666
+ {
667
+ "type": "uint256",
668
+ "name": "poolId"
669
+ }
670
+ ],
671
+ "outputs": []
672
+ },
673
+ {
674
+ "type": "function",
675
+ "name": "operatorTransfer",
676
+ "constant": false,
677
+ "payable": false,
678
+
679
+ "inputs": [
680
+ {
681
+ "type": "address",
682
+ "name": "_from"
683
+ },
684
+ {
685
+ "type": "address",
686
+ "name": "_to"
687
+ },
688
+ {
689
+ "type": "uint256",
690
+ "name": "_value"
691
+ }
692
+ ],
693
+ "outputs": [
694
+ {
695
+ "type": "bool"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "type": "function",
701
+ "name": "quotationData",
702
+ "constant": true,
703
+ "stateMutability": "view",
704
+ "payable": false,
705
+
706
+ "inputs": [],
707
+ "outputs": [
708
+ {
709
+ "type": "address"
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "type": "function",
715
+ "name": "removeFromWhitelist",
716
+ "constant": false,
717
+ "payable": false,
718
+
719
+ "inputs": [
720
+ {
721
+ "type": "address",
722
+ "name": "_member"
723
+ }
724
+ ],
725
+ "outputs": []
726
+ },
727
+ {
728
+ "type": "function",
729
+ "name": "stakingPoolFactory",
730
+ "constant": true,
731
+ "stateMutability": "view",
732
+ "payable": false,
733
+
734
+ "inputs": [],
735
+ "outputs": [
736
+ {
737
+ "type": "address"
738
+ }
739
+ ]
740
+ },
741
+ {
742
+ "type": "function",
743
+ "name": "stakingPoolNXMBalances",
744
+ "constant": true,
745
+ "stateMutability": "view",
746
+ "payable": false,
747
+
748
+ "inputs": [
749
+ {
750
+ "type": "uint256"
751
+ }
752
+ ],
753
+ "outputs": [
754
+ {
755
+ "type": "uint128",
756
+ "name": "rewards"
757
+ },
758
+ {
759
+ "type": "uint128",
760
+ "name": "deposits"
761
+ }
762
+ ]
763
+ },
764
+ {
765
+ "type": "function",
766
+ "name": "token",
767
+ "constant": true,
768
+ "stateMutability": "view",
769
+ "payable": false,
770
+
771
+ "inputs": [],
772
+ "outputs": [
773
+ {
774
+ "type": "address"
775
+ }
776
+ ]
777
+ },
778
+ {
779
+ "type": "function",
780
+ "name": "tokensLocked",
781
+ "constant": true,
782
+ "stateMutability": "view",
783
+ "payable": false,
784
+
785
+ "inputs": [
786
+ {
787
+ "type": "address",
788
+ "name": "_of"
789
+ },
790
+ {
791
+ "type": "bytes32",
792
+ "name": "_reason"
793
+ }
794
+ ],
795
+ "outputs": [
796
+ {
797
+ "type": "uint256",
798
+ "name": "amount"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "type": "function",
804
+ "name": "totalBalanceOf",
805
+ "constant": true,
806
+ "stateMutability": "view",
807
+ "payable": false,
808
+
809
+ "inputs": [
810
+ {
811
+ "type": "address",
812
+ "name": "_of"
813
+ }
814
+ ],
815
+ "outputs": [
816
+ {
817
+ "type": "uint256"
818
+ }
819
+ ]
820
+ },
821
+ {
822
+ "type": "function",
823
+ "name": "totalBalanceOfWithoutDelegations",
824
+ "constant": true,
825
+ "stateMutability": "view",
826
+ "payable": false,
827
+
828
+ "inputs": [
829
+ {
830
+ "type": "address",
831
+ "name": "_of"
832
+ }
833
+ ],
834
+ "outputs": [
835
+ {
836
+ "type": "uint256"
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "type": "function",
842
+ "name": "totalSupply",
843
+ "constant": true,
844
+ "stateMutability": "view",
845
+ "payable": false,
846
+
847
+ "inputs": [],
848
+ "outputs": [
849
+ {
850
+ "type": "uint256"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "type": "function",
856
+ "name": "transferStakingPoolsOwnership",
857
+ "constant": false,
858
+ "payable": false,
859
+
860
+ "inputs": [
861
+ {
862
+ "type": "address",
863
+ "name": "from"
864
+ },
865
+ {
866
+ "type": "address",
867
+ "name": "to"
868
+ }
869
+ ],
870
+ "outputs": []
871
+ },
872
+ {
873
+ "type": "function",
874
+ "name": "unlistClaimsReward",
875
+ "constant": false,
876
+ "payable": false,
877
+
878
+ "inputs": [],
879
+ "outputs": []
880
+ },
881
+ {
882
+ "type": "function",
883
+ "name": "updateUintParameters",
884
+ "constant": true,
885
+ "stateMutability": "view",
886
+ "payable": false,
887
+
888
+ "inputs": [
889
+ {
890
+ "type": "bytes8",
891
+ "name": "code"
892
+ },
893
+ {
894
+ "type": "uint256",
895
+ "name": "value"
896
+ }
897
+ ],
898
+ "outputs": []
899
+ },
900
+ {
901
+ "type": "function",
902
+ "name": "withdrawClaimAssessmentTokens",
903
+ "constant": false,
904
+ "payable": false,
905
+
906
+ "inputs": [
907
+ {
908
+ "type": "address[]",
909
+ "name": "users"
910
+ }
911
+ ],
912
+ "outputs": []
913
+ },
914
+ {
915
+ "type": "function",
916
+ "name": "withdrawCoverNote",
917
+ "constant": false,
918
+ "payable": false,
919
+
920
+ "inputs": [
921
+ {
922
+ "type": "address",
923
+ "name": "user"
924
+ },
925
+ {
926
+ "type": "uint256[]",
927
+ "name": "coverIds"
928
+ },
929
+ {
930
+ "type": "uint256[]",
931
+ "name": "indexes"
932
+ }
933
+ ],
934
+ "outputs": []
935
+ },
936
+ {
937
+ "type": "function",
938
+ "name": "withdrawGovernanceRewards",
939
+ "constant": false,
940
+ "payable": false,
941
+
942
+ "inputs": [
943
+ {
944
+ "type": "address",
945
+ "name": "memberAddress"
946
+ },
947
+ {
948
+ "type": "uint256",
949
+ "name": "batchSize"
950
+ }
951
+ ],
952
+ "outputs": []
953
+ },
954
+ {
955
+ "type": "function",
956
+ "name": "withdrawGovernanceRewardsTo",
957
+ "constant": false,
958
+ "payable": false,
959
+
960
+ "inputs": [
961
+ {
962
+ "type": "address",
963
+ "name": "destination"
964
+ },
965
+ {
966
+ "type": "uint256",
967
+ "name": "batchSize"
968
+ }
969
+ ],
970
+ "outputs": []
971
+ },
972
+ {
973
+ "type": "function",
974
+ "name": "withdrawNXMStakeAndRewards",
975
+ "constant": false,
976
+ "payable": false,
977
+
978
+ "inputs": [
979
+ {
980
+ "type": "address",
981
+ "name": "to"
982
+ },
983
+ {
984
+ "type": "uint256",
985
+ "name": "stakeToWithdraw"
986
+ },
987
+ {
988
+ "type": "uint256",
989
+ "name": "rewardsToWithdraw"
990
+ },
991
+ {
992
+ "type": "uint256",
993
+ "name": "poolId"
994
+ }
995
+ ],
996
+ "outputs": []
997
+ },
998
+ {
999
+ "type": "function",
1000
+ "name": "withdrawPendingRewards",
1001
+ "constant": false,
1002
+ "payable": false,
1003
+
1004
+ "inputs": [
1005
+ {
1006
+ "type": "address",
1007
+ "name": "forUser"
1008
+ },
1009
+ {
1010
+ "type": "bool",
1011
+ "name": "fromGovernance"
1012
+ },
1013
+ {
1014
+ "type": "bool",
1015
+ "name": "fromAssessment"
1016
+ },
1017
+ {
1018
+ "type": "uint256",
1019
+ "name": "batchSize"
1020
+ }
1021
+ ],
1022
+ "outputs": []
1023
+ }
1024
+ ]