@nexusmutual/sdk 0.13.1 → 0.14.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.
@@ -1,16 +1,6 @@
1
1
  [
2
2
  {
3
3
  "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "quotationDataAddress",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "claimsRewardAddress",
12
- "type": "address"
13
- },
14
4
  {
15
5
  "internalType": "address",
16
6
  "name": "stakingPoolFactoryAddress",
@@ -30,6 +20,46 @@
30
20
  "stateMutability": "nonpayable",
31
21
  "type": "constructor"
32
22
  },
23
+ {
24
+ "inputs": [],
25
+ "name": "CantMintToNonMemberAddress",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "DeadlinePassed",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "ManagerIsLockedForVoting",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "NoWithdrawableGovernanceRewards",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "OnlyProposedManager",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "OnlyStakingPool",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "OnlyStakingPoolManager",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "OwnershipOfferHasExpired",
61
+ "type": "error"
62
+ },
33
63
  {
34
64
  "anonymous": false,
35
65
  "inputs": [
@@ -86,58 +116,6 @@
86
116
  "name": "Unlocked",
87
117
  "type": "event"
88
118
  },
89
- {
90
- "inputs": [],
91
- "name": "_unused_claimSubmissionGracePeriod",
92
- "outputs": [
93
- {
94
- "internalType": "uint256",
95
- "name": "",
96
- "type": "uint256"
97
- }
98
- ],
99
- "stateMutability": "view",
100
- "type": "function"
101
- },
102
- {
103
- "inputs": [],
104
- "name": "_unused_minCALockTime",
105
- "outputs": [
106
- {
107
- "internalType": "uint256",
108
- "name": "",
109
- "type": "uint256"
110
- }
111
- ],
112
- "stateMutability": "view",
113
- "type": "function"
114
- },
115
- {
116
- "inputs": [],
117
- "name": "_unused_pooledStaking",
118
- "outputs": [
119
- {
120
- "internalType": "address",
121
- "name": "",
122
- "type": "address"
123
- }
124
- ],
125
- "stateMutability": "view",
126
- "type": "function"
127
- },
128
- {
129
- "inputs": [],
130
- "name": "_unused_token",
131
- "outputs": [
132
- {
133
- "internalType": "address",
134
- "name": "",
135
- "type": "address"
136
- }
137
- ],
138
- "stateMutability": "view",
139
- "type": "function"
140
- },
141
119
  {
142
120
  "inputs": [
143
121
  {
@@ -288,53 +266,6 @@
288
266
  "stateMutability": "nonpayable",
289
267
  "type": "function"
290
268
  },
291
- {
292
- "inputs": [],
293
- "name": "claimsReward",
294
- "outputs": [
295
- {
296
- "internalType": "address",
297
- "name": "",
298
- "type": "address"
299
- }
300
- ],
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- {
307
- "internalType": "uint256",
308
- "name": "",
309
- "type": "uint256"
310
- }
311
- ],
312
- "name": "coverInfo",
313
- "outputs": [
314
- {
315
- "internalType": "uint16",
316
- "name": "claimCount",
317
- "type": "uint16"
318
- },
319
- {
320
- "internalType": "bool",
321
- "name": "hasOpenClaim",
322
- "type": "bool"
323
- },
324
- {
325
- "internalType": "bool",
326
- "name": "hasAcceptedClaim",
327
- "type": "bool"
328
- },
329
- {
330
- "internalType": "uint96",
331
- "name": "requestedPayoutAmount",
332
- "type": "uint96"
333
- }
334
- ],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
269
  {
339
270
  "inputs": [
340
271
  {
@@ -494,35 +425,6 @@
494
425
  "stateMutability": "view",
495
426
  "type": "function"
496
427
  },
497
- {
498
- "inputs": [
499
- {
500
- "internalType": "address",
501
- "name": "coverOwner",
502
- "type": "address"
503
- }
504
- ],
505
- "name": "getWithdrawableCoverNotes",
506
- "outputs": [
507
- {
508
- "internalType": "uint256[]",
509
- "name": "coverIds",
510
- "type": "uint256[]"
511
- },
512
- {
513
- "internalType": "bytes32[]",
514
- "name": "lockReasons",
515
- "type": "bytes32[]"
516
- },
517
- {
518
- "internalType": "uint256",
519
- "name": "withdrawableAmount",
520
- "type": "uint256"
521
- }
522
- ],
523
- "stateMutability": "view",
524
- "type": "function"
525
- },
526
428
  {
527
429
  "inputs": [
528
430
  {
@@ -715,19 +617,6 @@
715
617
  "stateMutability": "nonpayable",
716
618
  "type": "function"
717
619
  },
718
- {
719
- "inputs": [],
720
- "name": "quotationData",
721
- "outputs": [
722
- {
723
- "internalType": "contract IQuotationData",
724
- "name": "",
725
- "type": "address"
726
- }
727
- ],
728
- "stateMutability": "view",
729
- "type": "function"
730
- },
731
620
  {
732
621
  "inputs": [
733
622
  {
@@ -897,24 +786,6 @@
897
786
  "stateMutability": "nonpayable",
898
787
  "type": "function"
899
788
  },
900
- {
901
- "inputs": [
902
- {
903
- "internalType": "bytes8",
904
- "name": "code",
905
- "type": "bytes8"
906
- },
907
- {
908
- "internalType": "uint256",
909
- "name": "value",
910
- "type": "uint256"
911
- }
912
- ],
913
- "name": "updateUintParameters",
914
- "outputs": [],
915
- "stateMutability": "view",
916
- "type": "function"
917
- },
918
789
  {
919
790
  "inputs": [
920
791
  {
@@ -928,29 +799,6 @@
928
799
  "stateMutability": "nonpayable",
929
800
  "type": "function"
930
801
  },
931
- {
932
- "inputs": [
933
- {
934
- "internalType": "address",
935
- "name": "user",
936
- "type": "address"
937
- },
938
- {
939
- "internalType": "uint256[]",
940
- "name": "coverIds",
941
- "type": "uint256[]"
942
- },
943
- {
944
- "internalType": "uint256[]",
945
- "name": "indexes",
946
- "type": "uint256[]"
947
- }
948
- ],
949
- "name": "withdrawCoverNote",
950
- "outputs": [],
951
- "stateMutability": "nonpayable",
952
- "type": "function"
953
- },
954
802
  {
955
803
  "inputs": [
956
804
  {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "Assessment": "0xcafeaa5f9c401b7295890f309168Bbb8173690A3",
3
- "AssessmentViewer": "0xcafeaB457b2987Ec85a4db7b92a6C7D57C9e2b26",
3
+ "AssessmentViewer": "0xcafeaA6660019915EC109052825ee7121480F0cD",
4
4
  "cbBTC": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
5
5
  "Chainlink-DAI-ETH": "0x773616E4d11A78F511299002da57A0a94577F1f4",
6
6
  "Chainlink-ENZYME-VAULT": "0xCc72039A141c6e34a779eF93AEF5eB4C82A893c7",
@@ -9,23 +9,21 @@
9
9
  "Chainlink-STETH-ETH": "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
10
10
  "Chainlink-CBBTC-USD": "0x2665701293fCbEB223D11A08D826563EDcCE423A",
11
11
  "Cover": "0xcafeac0fF5dA0A2777d915531bfA6B29d282Ee62",
12
- "CoverBroker": "0x0000cbD7a26f72Ff222bf5f136901D224b08BE4E",
12
+ "CoverBroker": "0xCB2B736652D2dBf7d72e4dB880Cf6B7d99507814",
13
13
  "CoverNFT": "0xcafeaCa76be547F14D0220482667B42D8E7Bc3eb",
14
14
  "CoverProducts": "0xcafead81a2c2508e7344155eB0DA67a3a487AA8d",
15
- "CoverViewer": "0xcafea84e199C85E44F34CD75374188D33FB94B4b",
15
+ "CoverViewer": "0xcafea53a6c1774030F4B1C06B4A5743d5AFFF8b9",
16
16
  "DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
17
17
  "Governance": "0x4A5C681dDC32acC6ccA51ac17e9d461e6be87900",
18
18
  "IndividualClaims": "0xcafeac12feE6b65A710fA9299A98D65B4fdE7a62",
19
- "LegacyClaimProofs": "0xcafea81b73daB8F42C5eca7d2E821A82660B6775",
20
19
  "LegacyClaimsData": "0xdc2D359F59F6a26162972c3Bd0cFBfd8C9Ef43af",
21
- "LegacyClaimsReward": "0xcafeaDcAcAA2CD81b3c54833D6896596d218BFaB",
22
- "LegacyPooledStaking": "0x84EdfFA16bb0b9Ab1163abb0a13Ff0744c11272f",
23
20
  "LegacyQuotationData": "0x1776651F58a17a50098d31ba3C3cD259C1903f7A",
21
+ "LimitOrders": "0xcafea53852E9f719c424Ec2fe1e7aDd27304210F",
24
22
  "MCR": "0xcafea92739e411a4D95bbc2275CA61dE6993C9a7",
25
23
  "MemberRoles": "0x055CC48f7968FD8640EF140610dd4038e1b03926",
26
24
  "NXMToken": "0xd7c49CEE7E9188cCa6AD8FF264C1DA2e69D4Cf3B",
27
25
  "NXMaster": "0x01BFd82675DBCc7762C84019cA518e701C0cD07e",
28
- "NexusViewer": "0xcafea898587Beaf0FFf27A04915e4b3184462Cd0",
26
+ "NexusViewer": "0xcafeab03F219b7a8BCb92a5d61508A0AE16302b6",
29
27
  "Pool": "0xcafeaf6eA90CB931ae43a8Cf4B25a73a24cF6158",
30
28
  "PriceFeedOracle": "0xcafea905B417AC7778843aaE1A0b3848CA97a592",
31
29
  "ProposalCategory": "0x888eA6Ab349c854936b98586CE6a17E98BF254b2",
@@ -17,7 +17,7 @@
17
17
  "id": 2,
18
18
  "coverWordingURL": "https://api.nexusmutual.io/ipfs/QmcPdiLNZmBM8pjQcCzLhH8tjPuhphCVKZeP5P4SBiLx3h",
19
19
  "name": "Yield Token",
20
- "gracePeriod": 1209600,
20
+ "gracePeriod": 0,
21
21
  "claimMethod": 1
22
22
  },
23
23
  {
@@ -3058,7 +3058,7 @@
3058
3058
  "USDC"
3059
3059
  ],
3060
3060
  "isPrivate": false,
3061
- "timestamp": 1731583079,
3061
+ "timestamp": 1734557999,
3062
3062
  "minPrice": 100
3063
3063
  },
3064
3064
  {
@@ -3893,7 +3893,7 @@
3893
3893
  "cbBTC"
3894
3894
  ],
3895
3895
  "isPrivate": false,
3896
- "timestamp": 1743519947,
3896
+ "timestamp": 1744902863,
3897
3897
  "minPrice": 100
3898
3898
  },
3899
3899
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "USDC"
4042
4042
  ],
4043
4043
  "isPrivate": false,
4044
- "timestamp": 1723127459,
4044
+ "timestamp": 1722950807,
4045
4045
  "minPrice": 100
4046
4046
  },
4047
4047
  {
@@ -4076,7 +4076,7 @@
4076
4076
  "cbBTC"
4077
4077
  ],
4078
4078
  "isPrivate": false,
4079
- "timestamp": 1734557999,
4079
+ "timestamp": 1731583079,
4080
4080
  "minPrice": 100
4081
4081
  },
4082
4082
  {
@@ -4211,7 +4211,7 @@
4211
4211
  "cbBTC"
4212
4212
  ],
4213
4213
  "isPrivate": false,
4214
- "timestamp": 1743519947,
4214
+ "timestamp": 1741267523,
4215
4215
  "minPrice": 100
4216
4216
  },
4217
4217
  {
@@ -4230,7 +4230,7 @@
4230
4230
  "cbBTC"
4231
4231
  ],
4232
4232
  "isPrivate": false,
4233
- "timestamp": 1743519947,
4233
+ "timestamp": 1744902863,
4234
4234
  "minPrice": 100
4235
4235
  },
4236
4236
  {
@@ -4510,7 +4510,7 @@
4510
4510
  "cbBTC"
4511
4511
  ],
4512
4512
  "isPrivate": false,
4513
- "timestamp": 1739537399,
4513
+ "timestamp": 1740672395,
4514
4514
  "minPrice": 49
4515
4515
  },
4516
4516
  {
@@ -4781,7 +4781,7 @@
4781
4781
  "cbBTC"
4782
4782
  ],
4783
4783
  "isPrivate": true,
4784
- "timestamp": 1740672395,
4784
+ "timestamp": 1739969915,
4785
4785
  "minPrice": 505
4786
4786
  },
4787
4787
  {
@@ -4826,13 +4826,13 @@
4826
4826
  "useFixedPrice": false,
4827
4827
  "logo": "USDT0-depeg.svg",
4828
4828
  "metadata": {
4829
- "annex": "QmSsnFgLQpq9NjqxSQ27MMBtjGe7UPtsWTTwrQaxBYz8Cv"
4829
+ "annex": "QmUAFsrHFLqPoiGBDS2KqMHd9gcmadpzzoRAFqPVRXCYZu"
4830
4830
  },
4831
4831
  "coverAssets": [
4832
4832
  "USDC"
4833
4833
  ],
4834
4834
  "isPrivate": false,
4835
- "timestamp": 1739447471,
4835
+ "timestamp": 1745946671,
4836
4836
  "minPrice": 50
4837
4837
  },
4838
4838
  {
@@ -4928,7 +4928,7 @@
4928
4928
  "useFixedPrice": false,
4929
4929
  "logo": "vffat-depeg.png",
4930
4930
  "metadata": {
4931
- "annex": "Qmc76GSQv7ycaBrDE5pQrNd3gHauDp8y87gWwrpwyC329c"
4931
+ "annex": "QmbnBbCKhewKdyjuADuJctiv8YAT8BfhCNffbC66jqAHG8"
4932
4932
  },
4933
4933
  "coverAssets": [
4934
4934
  "ETH",
@@ -4936,7 +4936,7 @@
4936
4936
  "cbBTC"
4937
4937
  ],
4938
4938
  "isPrivate": false,
4939
- "timestamp": 1741267523,
4939
+ "timestamp": 1745946671,
4940
4940
  "minPrice": 100
4941
4941
  },
4942
4942
  {
@@ -4993,7 +4993,7 @@
4993
4993
  "cbBTC"
4994
4994
  ],
4995
4995
  "isPrivate": false,
4996
- "timestamp": 1739537399,
4996
+ "timestamp": 1739447471,
4997
4997
  "minPrice": 380
4998
4998
  },
4999
4999
  {
@@ -5004,7 +5004,7 @@
5004
5004
  "useFixedPrice": true,
5005
5005
  "logo": "l1.svg",
5006
5006
  "metadata": {
5007
- "annex": "QmPaTWRgKr9huzfwbKTtKtLQoEU6nE8LNPSgd9Bq4YxG4N"
5007
+ "annex": "Qmc3Xnhhu94AjbHntquks1HfArmYcBFdjmKJUtLw9U1Rwu"
5008
5008
  },
5009
5009
  "coverAssets": [
5010
5010
  "ETH",
@@ -5012,7 +5012,7 @@
5012
5012
  "cbBTC"
5013
5013
  ],
5014
5014
  "isPrivate": true,
5015
- "timestamp": 1740672395,
5015
+ "timestamp": 1745946671,
5016
5016
  "minPrice": 225
5017
5017
  },
5018
5018
  {
@@ -5466,5 +5466,39 @@
5466
5466
  "isPrivate": false,
5467
5467
  "timestamp": 1744902863,
5468
5468
  "minPrice": 309
5469
+ },
5470
+ {
5471
+ "id": 299,
5472
+ "name": "Extrafi Xlend",
5473
+ "productType": 0,
5474
+ "isDeprecated": false,
5475
+ "useFixedPrice": false,
5476
+ "logo": "extrafi-xlend.svg",
5477
+ "metadata": {},
5478
+ "coverAssets": [
5479
+ "ETH",
5480
+ "USDC",
5481
+ "cbBTC"
5482
+ ],
5483
+ "isPrivate": false,
5484
+ "timestamp": 1745946671,
5485
+ "minPrice": 100
5486
+ },
5487
+ {
5488
+ "id": 300,
5489
+ "name": "Ambient Finance",
5490
+ "productType": 0,
5491
+ "isDeprecated": false,
5492
+ "useFixedPrice": false,
5493
+ "logo": "ambient-finance.png",
5494
+ "metadata": {},
5495
+ "coverAssets": [
5496
+ "ETH",
5497
+ "USDC",
5498
+ "cbBTC"
5499
+ ],
5500
+ "isPrivate": false,
5501
+ "timestamp": 1745946671,
5502
+ "minPrice": 100
5469
5503
  }
5470
5504
  ]
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.13.1"
2
+ "version": "0.14.0"
3
3
  }