@nexusmutual/sdk 0.13.0 → 0.13.2
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 +51 -45
- package/dist/data/abis/Cover.json +331 -121
- package/dist/data/abis/CoverBroker.json +2 -7
- package/dist/data/abis/CoverProducts.json +35 -4
- package/dist/data/abis/CoverViewer.json +13 -76
- package/dist/data/abis/IndividualClaims.json +219 -141
- package/dist/data/abis/LegacyQuotationData.json +0 -294
- package/dist/data/abis/LimitOrders.json +657 -0
- package/dist/data/abis/MemberRoles.json +85 -13
- package/dist/data/abis/NexusViewer.json +0 -15
- package/dist/data/abis/StakingPool.json +205 -27
- package/dist/data/abis/TokenController.json +40 -192
- package/dist/data/addresses.json +4 -6
- package/dist/data/product-types.json +1 -1
- package/dist/data/products.json +17 -17
- package/dist/data/version.json +1 -1
- package/dist/index.d.mts +8938 -10170
- package/dist/index.d.ts +8938 -10170
- package/dist/index.html +2 -2
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/data/abis/LegacyClaimProofs.json +0 -45
- package/dist/data/abis/LegacyClaimsReward.json +0 -168
- package/dist/data/abis/LegacyPooledStaking.json +0 -1275
|
@@ -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
|
{
|
package/dist/data/addresses.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Assessment": "0xcafeaa5f9c401b7295890f309168Bbb8173690A3",
|
|
3
|
-
"AssessmentViewer": "
|
|
3
|
+
"AssessmentViewer": "0xcafeaA6660019915EC109052825ee7121480F0cD",
|
|
4
4
|
"cbBTC": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
|
|
5
5
|
"Chainlink-DAI-ETH": "0x773616E4d11A78F511299002da57A0a94577F1f4",
|
|
6
6
|
"Chainlink-ENZYME-VAULT": "0xCc72039A141c6e34a779eF93AEF5eB4C82A893c7",
|
|
@@ -12,20 +12,18 @@
|
|
|
12
12
|
"CoverBroker": "0x0000cbD7a26f72Ff222bf5f136901D224b08BE4E",
|
|
13
13
|
"CoverNFT": "0xcafeaCa76be547F14D0220482667B42D8E7Bc3eb",
|
|
14
14
|
"CoverProducts": "0xcafead81a2c2508e7344155eB0DA67a3a487AA8d",
|
|
15
|
-
"CoverViewer": "
|
|
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": "
|
|
26
|
+
"NexusViewer": "0xcafeab03F219b7a8BCb92a5d61508A0AE16302b6",
|
|
29
27
|
"Pool": "0xcafeaf6eA90CB931ae43a8Cf4B25a73a24cF6158",
|
|
30
28
|
"PriceFeedOracle": "0xcafea905B417AC7778843aaE1A0b3848CA97a592",
|
|
31
29
|
"ProposalCategory": "0x888eA6Ab349c854936b98586CE6a17E98BF254b2",
|
package/dist/data/products.json
CHANGED
|
@@ -2429,7 +2429,7 @@
|
|
|
2429
2429
|
"cbBTC"
|
|
2430
2430
|
],
|
|
2431
2431
|
"isPrivate": false,
|
|
2432
|
-
"timestamp":
|
|
2432
|
+
"timestamp": 1742481059,
|
|
2433
2433
|
"minPrice": 100
|
|
2434
2434
|
},
|
|
2435
2435
|
{
|
|
@@ -3041,7 +3041,7 @@
|
|
|
3041
3041
|
"cbBTC"
|
|
3042
3042
|
],
|
|
3043
3043
|
"isPrivate": true,
|
|
3044
|
-
"timestamp":
|
|
3044
|
+
"timestamp": 1728564167,
|
|
3045
3045
|
"minPrice": 100
|
|
3046
3046
|
},
|
|
3047
3047
|
{
|
|
@@ -3058,7 +3058,7 @@
|
|
|
3058
3058
|
"USDC"
|
|
3059
3059
|
],
|
|
3060
3060
|
"isPrivate": false,
|
|
3061
|
-
"timestamp":
|
|
3061
|
+
"timestamp": 1734557999,
|
|
3062
3062
|
"minPrice": 100
|
|
3063
3063
|
},
|
|
3064
3064
|
{
|
|
@@ -3854,7 +3854,7 @@
|
|
|
3854
3854
|
"ETH"
|
|
3855
3855
|
],
|
|
3856
3856
|
"isPrivate": false,
|
|
3857
|
-
"timestamp":
|
|
3857
|
+
"timestamp": 1734557999,
|
|
3858
3858
|
"minPrice": 100
|
|
3859
3859
|
},
|
|
3860
3860
|
{
|
|
@@ -3893,7 +3893,7 @@
|
|
|
3893
3893
|
"cbBTC"
|
|
3894
3894
|
],
|
|
3895
3895
|
"isPrivate": false,
|
|
3896
|
-
"timestamp":
|
|
3896
|
+
"timestamp": 1741267523,
|
|
3897
3897
|
"minPrice": 100
|
|
3898
3898
|
},
|
|
3899
3899
|
{
|
|
@@ -4041,7 +4041,7 @@
|
|
|
4041
4041
|
"USDC"
|
|
4042
4042
|
],
|
|
4043
4043
|
"isPrivate": false,
|
|
4044
|
-
"timestamp":
|
|
4044
|
+
"timestamp": 1722950807,
|
|
4045
4045
|
"minPrice": 100
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
@@ -4230,7 +4230,7 @@
|
|
|
4230
4230
|
"cbBTC"
|
|
4231
4231
|
],
|
|
4232
4232
|
"isPrivate": false,
|
|
4233
|
-
"timestamp":
|
|
4233
|
+
"timestamp": 1743519947,
|
|
4234
4234
|
"minPrice": 100
|
|
4235
4235
|
},
|
|
4236
4236
|
{
|
|
@@ -4359,7 +4359,7 @@
|
|
|
4359
4359
|
"USDC"
|
|
4360
4360
|
],
|
|
4361
4361
|
"isPrivate": false,
|
|
4362
|
-
"timestamp":
|
|
4362
|
+
"timestamp": 1734557999,
|
|
4363
4363
|
"minPrice": 100
|
|
4364
4364
|
},
|
|
4365
4365
|
{
|
|
@@ -4376,7 +4376,7 @@
|
|
|
4376
4376
|
"USDC"
|
|
4377
4377
|
],
|
|
4378
4378
|
"isPrivate": false,
|
|
4379
|
-
"timestamp":
|
|
4379
|
+
"timestamp": 1734557999,
|
|
4380
4380
|
"minPrice": 100
|
|
4381
4381
|
},
|
|
4382
4382
|
{
|
|
@@ -4510,7 +4510,7 @@
|
|
|
4510
4510
|
"cbBTC"
|
|
4511
4511
|
],
|
|
4512
4512
|
"isPrivate": false,
|
|
4513
|
-
"timestamp":
|
|
4513
|
+
"timestamp": 1739537399,
|
|
4514
4514
|
"minPrice": 49
|
|
4515
4515
|
},
|
|
4516
4516
|
{
|
|
@@ -4548,7 +4548,7 @@
|
|
|
4548
4548
|
"cbBTC"
|
|
4549
4549
|
],
|
|
4550
4550
|
"isPrivate": false,
|
|
4551
|
-
"timestamp":
|
|
4551
|
+
"timestamp": 1744902863,
|
|
4552
4552
|
"minPrice": 310
|
|
4553
4553
|
},
|
|
4554
4554
|
{
|
|
@@ -4595,7 +4595,7 @@
|
|
|
4595
4595
|
"useFixedPrice": true,
|
|
4596
4596
|
"logo": "fasanara.svg",
|
|
4597
4597
|
"metadata": {
|
|
4598
|
-
"annex": "
|
|
4598
|
+
"annex": "QmQ1YkuPU3UXfVJRwXBXG5DX2xFapiYDtjgHTjV1rJEYt9"
|
|
4599
4599
|
},
|
|
4600
4600
|
"coverAssets": [
|
|
4601
4601
|
"ETH",
|
|
@@ -4603,7 +4603,7 @@
|
|
|
4603
4603
|
"cbBTC"
|
|
4604
4604
|
],
|
|
4605
4605
|
"isPrivate": true,
|
|
4606
|
-
"timestamp":
|
|
4606
|
+
"timestamp": 1745409575,
|
|
4607
4607
|
"minPrice": 100
|
|
4608
4608
|
},
|
|
4609
4609
|
{
|
|
@@ -4781,7 +4781,7 @@
|
|
|
4781
4781
|
"cbBTC"
|
|
4782
4782
|
],
|
|
4783
4783
|
"isPrivate": true,
|
|
4784
|
-
"timestamp":
|
|
4784
|
+
"timestamp": 1739969915,
|
|
4785
4785
|
"minPrice": 505
|
|
4786
4786
|
},
|
|
4787
4787
|
{
|
|
@@ -4955,7 +4955,7 @@
|
|
|
4955
4955
|
"cbBTC"
|
|
4956
4956
|
],
|
|
4957
4957
|
"isPrivate": false,
|
|
4958
|
-
"timestamp":
|
|
4958
|
+
"timestamp": 1739537399,
|
|
4959
4959
|
"minPrice": 50
|
|
4960
4960
|
},
|
|
4961
4961
|
{
|
|
@@ -4993,7 +4993,7 @@
|
|
|
4993
4993
|
"cbBTC"
|
|
4994
4994
|
],
|
|
4995
4995
|
"isPrivate": false,
|
|
4996
|
-
"timestamp":
|
|
4996
|
+
"timestamp": 1739537399,
|
|
4997
4997
|
"minPrice": 380
|
|
4998
4998
|
},
|
|
4999
4999
|
{
|
|
@@ -5357,7 +5357,7 @@
|
|
|
5357
5357
|
"USDC"
|
|
5358
5358
|
],
|
|
5359
5359
|
"isPrivate": true,
|
|
5360
|
-
"timestamp":
|
|
5360
|
+
"timestamp": 1743670835,
|
|
5361
5361
|
"minPrice": 1586
|
|
5362
5362
|
},
|
|
5363
5363
|
{
|
package/dist/data/version.json
CHANGED