@nexusmutual/sdk 1.12.0-rc.3 → 1.12.0-rc.4

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.
@@ -3,17 +3,7 @@
3
3
  "inputs": [
4
4
  {
5
5
  "internalType": "address",
6
- "name": "stakingPoolFactoryAddress",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "tokenAddress",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "address",
16
- "name": "stakingNFTAddress",
6
+ "name": "_registry",
17
7
  "type": "address"
18
8
  }
19
9
  ],
@@ -35,11 +25,26 @@
35
25
  "name": "ManagerIsLockedForVoting",
36
26
  "type": "error"
37
27
  },
28
+ {
29
+ "inputs": [],
30
+ "name": "MemberBalanceNotZero",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "MemberHasStakingPools",
36
+ "type": "error"
37
+ },
38
38
  {
39
39
  "inputs": [],
40
40
  "name": "NoWithdrawableGovernanceRewards",
41
41
  "type": "error"
42
42
  },
43
+ {
44
+ "inputs": [],
45
+ "name": "OnlyMember",
46
+ "type": "error"
47
+ },
43
48
  {
44
49
  "inputs": [],
45
50
  "name": "OnlyProposedManager",
@@ -61,60 +66,41 @@
61
66
  "type": "error"
62
67
  },
63
68
  {
64
- "anonymous": false,
65
69
  "inputs": [
66
70
  {
67
- "indexed": true,
68
- "internalType": "address",
69
- "name": "_of",
70
- "type": "address"
71
- },
72
- {
73
- "indexed": true,
74
- "internalType": "bytes32",
75
- "name": "_reason",
76
- "type": "bytes32"
77
- },
78
- {
79
- "indexed": false,
80
71
  "internalType": "uint256",
81
- "name": "_amount",
72
+ "name": "currentState",
82
73
  "type": "uint256"
83
74
  },
84
75
  {
85
- "indexed": false,
86
76
  "internalType": "uint256",
87
- "name": "_validity",
77
+ "name": "checks",
88
78
  "type": "uint256"
89
79
  }
90
80
  ],
91
- "name": "Locked",
92
- "type": "event"
81
+ "name": "Paused",
82
+ "type": "error"
93
83
  },
94
84
  {
95
- "anonymous": false,
96
85
  "inputs": [
97
86
  {
98
- "indexed": true,
99
87
  "internalType": "address",
100
- "name": "_of",
88
+ "name": "caller",
101
89
  "type": "address"
102
90
  },
103
91
  {
104
- "indexed": true,
105
- "internalType": "bytes32",
106
- "name": "_reason",
107
- "type": "bytes32"
92
+ "internalType": "uint256",
93
+ "name": "callerIndex",
94
+ "type": "uint256"
108
95
  },
109
96
  {
110
- "indexed": false,
111
97
  "internalType": "uint256",
112
- "name": "_amount",
98
+ "name": "authorizedBitmap",
113
99
  "type": "uint256"
114
100
  }
115
101
  ],
116
- "name": "Unlocked",
117
- "type": "event"
102
+ "name": "Unauthorized",
103
+ "type": "error"
118
104
  },
119
105
  {
120
106
  "inputs": [
@@ -233,26 +219,6 @@
233
219
  "stateMutability": "nonpayable",
234
220
  "type": "function"
235
221
  },
236
- {
237
- "inputs": [],
238
- "name": "changeDependentContractAddress",
239
- "outputs": [],
240
- "stateMutability": "nonpayable",
241
- "type": "function"
242
- },
243
- {
244
- "inputs": [
245
- {
246
- "internalType": "address",
247
- "name": "masterAddress",
248
- "type": "address"
249
- }
250
- ],
251
- "name": "changeMasterAddress",
252
- "outputs": [],
253
- "stateMutability": "nonpayable",
254
- "type": "function"
255
- },
256
222
  {
257
223
  "inputs": [
258
224
  {
@@ -312,25 +278,6 @@
312
278
  "stateMutability": "nonpayable",
313
279
  "type": "function"
314
280
  },
315
- {
316
- "inputs": [
317
- {
318
- "internalType": "address",
319
- "name": "_of",
320
- "type": "address"
321
- }
322
- ],
323
- "name": "getLockReasons",
324
- "outputs": [
325
- {
326
- "internalType": "bytes32[]",
327
- "name": "reasons",
328
- "type": "bytes32[]"
329
- }
330
- ],
331
- "stateMutability": "view",
332
- "type": "function"
333
- },
334
281
  {
335
282
  "inputs": [
336
283
  {
@@ -350,25 +297,6 @@
350
297
  "stateMutability": "view",
351
298
  "type": "function"
352
299
  },
353
- {
354
- "inputs": [
355
- {
356
- "internalType": "address",
357
- "name": "member",
358
- "type": "address"
359
- }
360
- ],
361
- "name": "getPendingRewards",
362
- "outputs": [
363
- {
364
- "internalType": "uint256",
365
- "name": "",
366
- "type": "uint256"
367
- }
368
- ],
369
- "stateMutability": "view",
370
- "type": "function"
371
- },
372
300
  {
373
301
  "inputs": [
374
302
  {
@@ -425,25 +353,6 @@
425
353
  "stateMutability": "view",
426
354
  "type": "function"
427
355
  },
428
- {
429
- "inputs": [
430
- {
431
- "internalType": "uint256",
432
- "name": "",
433
- "type": "uint256"
434
- }
435
- ],
436
- "name": "internalContracts",
437
- "outputs": [
438
- {
439
- "internalType": "address payable",
440
- "name": "",
441
- "type": "address"
442
- }
443
- ],
444
- "stateMutability": "view",
445
- "type": "function"
446
- },
447
356
  {
448
357
  "inputs": [
449
358
  {
@@ -481,77 +390,6 @@
481
390
  "stateMutability": "nonpayable",
482
391
  "type": "function"
483
392
  },
484
- {
485
- "inputs": [
486
- {
487
- "internalType": "address",
488
- "name": "",
489
- "type": "address"
490
- },
491
- {
492
- "internalType": "uint256",
493
- "name": "",
494
- "type": "uint256"
495
- }
496
- ],
497
- "name": "lockReason",
498
- "outputs": [
499
- {
500
- "internalType": "bytes32",
501
- "name": "",
502
- "type": "bytes32"
503
- }
504
- ],
505
- "stateMutability": "view",
506
- "type": "function"
507
- },
508
- {
509
- "inputs": [
510
- {
511
- "internalType": "address",
512
- "name": "",
513
- "type": "address"
514
- },
515
- {
516
- "internalType": "bytes32",
517
- "name": "",
518
- "type": "bytes32"
519
- }
520
- ],
521
- "name": "locked",
522
- "outputs": [
523
- {
524
- "internalType": "uint256",
525
- "name": "amount",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "uint256",
530
- "name": "validity",
531
- "type": "uint256"
532
- },
533
- {
534
- "internalType": "bool",
535
- "name": "claimed",
536
- "type": "bool"
537
- }
538
- ],
539
- "stateMutability": "view",
540
- "type": "function"
541
- },
542
- {
543
- "inputs": [],
544
- "name": "master",
545
- "outputs": [
546
- {
547
- "internalType": "contract INXMMaster",
548
- "name": "",
549
- "type": "address"
550
- }
551
- ],
552
- "stateMutability": "view",
553
- "type": "function"
554
- },
555
393
  {
556
394
  "inputs": [
557
395
  {
@@ -617,6 +455,32 @@
617
455
  "stateMutability": "nonpayable",
618
456
  "type": "function"
619
457
  },
458
+ {
459
+ "inputs": [],
460
+ "name": "pool",
461
+ "outputs": [
462
+ {
463
+ "internalType": "contract IPool",
464
+ "name": "",
465
+ "type": "address"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "registry",
474
+ "outputs": [
475
+ {
476
+ "internalType": "contract IRegistry",
477
+ "name": "",
478
+ "type": "address"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
620
484
  {
621
485
  "inputs": [
622
486
  {
@@ -681,37 +545,36 @@
681
545
  "type": "function"
682
546
  },
683
547
  {
684
- "inputs": [],
685
- "name": "token",
686
- "outputs": [
548
+ "inputs": [
687
549
  {
688
- "internalType": "contract INXMToken",
689
- "name": "",
550
+ "internalType": "address",
551
+ "name": "from",
690
552
  "type": "address"
691
- }
692
- ],
693
- "stateMutability": "view",
694
- "type": "function"
695
- },
696
- {
697
- "inputs": [
553
+ },
698
554
  {
699
555
  "internalType": "address",
700
- "name": "_of",
556
+ "name": "to",
701
557
  "type": "address"
702
558
  },
703
559
  {
704
- "internalType": "bytes32",
705
- "name": "_reason",
706
- "type": "bytes32"
560
+ "internalType": "bool",
561
+ "name": "includeNxmTokens",
562
+ "type": "bool"
707
563
  }
708
564
  ],
709
- "name": "tokensLocked",
565
+ "name": "switchMembership",
566
+ "outputs": [],
567
+ "stateMutability": "nonpayable",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "token",
710
573
  "outputs": [
711
574
  {
712
- "internalType": "uint256",
713
- "name": "amount",
714
- "type": "uint256"
575
+ "internalType": "contract INXMToken",
576
+ "name": "",
577
+ "type": "address"
715
578
  }
716
579
  ],
717
580
  "stateMutability": "view",
@@ -770,90 +633,6 @@
770
633
  },
771
634
  {
772
635
  "inputs": [
773
- {
774
- "internalType": "address",
775
- "name": "from",
776
- "type": "address"
777
- },
778
- {
779
- "internalType": "address",
780
- "name": "to",
781
- "type": "address"
782
- }
783
- ],
784
- "name": "transferStakingPoolsOwnership",
785
- "outputs": [],
786
- "stateMutability": "nonpayable",
787
- "type": "function"
788
- },
789
- {
790
- "inputs": [
791
- {
792
- "internalType": "address[]",
793
- "name": "users",
794
- "type": "address[]"
795
- }
796
- ],
797
- "name": "withdrawClaimAssessmentTokens",
798
- "outputs": [],
799
- "stateMutability": "nonpayable",
800
- "type": "function"
801
- },
802
- {
803
- "inputs": [
804
- {
805
- "internalType": "address",
806
- "name": "memberAddress",
807
- "type": "address"
808
- },
809
- {
810
- "internalType": "uint256",
811
- "name": "batchSize",
812
- "type": "uint256"
813
- }
814
- ],
815
- "name": "withdrawGovernanceRewards",
816
- "outputs": [],
817
- "stateMutability": "nonpayable",
818
- "type": "function"
819
- },
820
- {
821
- "inputs": [
822
- {
823
- "internalType": "address",
824
- "name": "destination",
825
- "type": "address"
826
- },
827
- {
828
- "internalType": "uint256",
829
- "name": "batchSize",
830
- "type": "uint256"
831
- }
832
- ],
833
- "name": "withdrawGovernanceRewardsTo",
834
- "outputs": [],
835
- "stateMutability": "nonpayable",
836
- "type": "function"
837
- },
838
- {
839
- "inputs": [
840
- {
841
- "components": [
842
- {
843
- "internalType": "bool",
844
- "name": "stake",
845
- "type": "bool"
846
- },
847
- {
848
- "internalType": "bool",
849
- "name": "rewards",
850
- "type": "bool"
851
- }
852
- ],
853
- "internalType": "struct ITokenController.WithdrawAssessment",
854
- "name": "withdrawAssessment",
855
- "type": "tuple"
856
- },
857
636
  {
858
637
  "components": [
859
638
  {
@@ -887,16 +666,6 @@
887
666
  "internalType": "struct ITokenController.StakingPoolManagerReward[]",
888
667
  "name": "stakingPoolManagerRewards",
889
668
  "type": "tuple[]"
890
- },
891
- {
892
- "internalType": "uint256",
893
- "name": "assessmentRewardsBatchSize",
894
- "type": "uint256"
895
- },
896
- {
897
- "internalType": "uint256",
898
- "name": "govRewardsBatchSize",
899
- "type": "uint256"
900
669
  }
901
670
  ],
902
671
  "name": "withdrawNXM",
@@ -1,6 +1,5 @@
1
1
  {
2
- "Assessment": "0xcafeaa5f9c401b7295890f309168Bbb8173690A3",
3
- "AssessmentViewer": "0xcafeaA6660019915EC109052825ee7121480F0cD",
2
+ "Assessments": "0x853Bb38DE8463dc09DEe14e74E66A4244D070016",
4
3
  "cbBTC": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
5
4
  "Chainlink-DAI-ETH": "0x773616E4d11A78F511299002da57A0a94577F1f4",
6
5
  "Chainlink-ENZYME-VAULT": "0xCc72039A141c6e34a779eF93AEF5eB4C82A893c7",
@@ -8,6 +7,7 @@
8
7
  "Chainlink-RETH-ETH": "0x536218f9E9Eb48863970252233c8F271f554C2d0",
9
8
  "Chainlink-STETH-ETH": "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
10
9
  "Chainlink-CBBTC-USD": "0x2665701293fCbEB223D11A08D826563EDcCE423A",
10
+ "Claims": "0x4727736AcAf07FcF847ac56918595DF79011B243",
11
11
  "Cover": "0xcafeac0fF5dA0A2777d915531bfA6B29d282Ee62",
12
12
  "CoverBroker": "0xCB2B736652D2dBf7d72e4dB880Cf6B7d99507814",
13
13
  "CoverNFT": "0xcafeaCa76be547F14D0220482667B42D8E7Bc3eb",
@@ -15,25 +15,21 @@
15
15
  "CoverViewer": "0xcafea53a6c1774030F4B1C06B4A5743d5AFFF8b9",
16
16
  "DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
17
17
  "Governance": "0x4A5C681dDC32acC6ccA51ac17e9d461e6be87900",
18
- "IndividualClaims": "0xcafeac12feE6b65A710fA9299A98D65B4fdE7a62",
18
+ "Governor": "0xD4ebF65891b1A9D9b53737B1778Aa409bba48e06",
19
19
  "LegacyClaimsData": "0xdc2D359F59F6a26162972c3Bd0cFBfd8C9Ef43af",
20
20
  "LegacyQuotationData": "0x1776651F58a17a50098d31ba3C3cD259C1903f7A",
21
21
  "LimitOrders": "0xcafea53852E9f719c424Ec2fe1e7aDd27304210F",
22
- "MCR": "0xcafea92739e411a4D95bbc2275CA61dE6993C9a7",
23
- "MemberRoles": "0x055CC48f7968FD8640EF140610dd4038e1b03926",
24
22
  "NXMToken": "0xd7c49CEE7E9188cCa6AD8FF264C1DA2e69D4Cf3B",
25
23
  "NXMaster": "0x01BFd82675DBCc7762C84019cA518e701C0cD07e",
26
- "NexusViewer": "0xcafeab03F219b7a8BCb92a5d61508A0AE16302b6",
27
- "Pool": "0xcafeaf6eA90CB931ae43a8Cf4B25a73a24cF6158",
28
- "PriceFeedOracle": "0xcafea905B417AC7778843aaE1A0b3848CA97a592",
29
- "ProposalCategory": "0x888eA6Ab349c854936b98586CE6a17E98BF254b2",
24
+ "Pool": "0x5efcc142F007B82C6B89B743f8e2D0c60a943c0B",
30
25
  "Ramm": "0xcafea54f03E1Cc036653444e581A10a43B2487CD",
26
+ "Registry": "0x667A4364133d1A07Eb6E0C9866ec6977D392954B",
31
27
  "SafeTracker": "0xcafeaB8B01C74c2239eA9b2B0F6aB2dD409c6c13",
32
28
  "StakingNFT": "0xcafea508a477D94c502c253A58239fb8F948e97f",
33
29
  "StakingPoolFactory": "0xcafeafb97BF8831D95C0FC659b8eB3946B101CB3",
34
30
  "StakingProducts": "0xcafea573fBd815B5f59e8049E71E554bde3477E4",
35
31
  "StakingViewer": "0xcafea5E8a7a54dd14Bb225b66C7a016dfd7F236b",
36
- "SwapOperator": "0xcafeaed98d7Fce8F355C03c9F3507B90a974f37e",
32
+ "SwapOperator": "0x93685ec99644ffFfeC59650fD628d7c6DfE8f6B5",
37
33
  "TokenController": "0x5407381b6c251cFd498ccD4A1d877739CB7960B8",
38
34
  "USDC": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
39
35
  "wNXM": "0x0d438F3b5175Bebc262bF23753C1E53d03432bDE",