@nexusmutual/sdk 0.0.2 → 0.0.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.
@@ -1,36 +1,36 @@
1
- const Assessment = require('./abis/Assessment.json');
2
- const Cover = require('./abis/Cover.json');
3
- const CoverMigrator = require('./abis/CoverMigrator.json');
4
- const CoverNFT = require('./abis/CoverNFT.json');
5
- const CoverNFTDescriptor = require('./abis/CoverNFTDescriptor.json');
6
- const CoverViewer = require('./abis/CoverViewer.json');
7
- const EACAggregatorProxy = require('./abis/EACAggregatorProxy.json');
8
- const ERC20 = require('./abis/ERC20.json');
9
- const Governance = require('./abis/Governance.json');
10
- const IndividualClaims = require('./abis/IndividualClaims.json');
11
- const LegacyClaimProofs = require('./abis/LegacyClaimProofs.json');
12
- const LegacyClaimsData = require('./abis/LegacyClaimsData.json');
13
- const LegacyClaimsReward = require('./abis/LegacyClaimsReward.json');
14
- const LegacyGateway = require('./abis/LegacyGateway.json');
15
- const LegacyPooledStaking = require('./abis/LegacyPooledStaking.json');
16
- const LegacyQuotationData = require('./abis/LegacyQuotationData.json');
17
- const MCR = require('./abis/MCR.json');
18
- const MemberRoles = require('./abis/MemberRoles.json');
19
- const NXMToken = require('./abis/NXMToken.json');
20
- const NXMaster = require('./abis/NXMaster.json');
21
- const Pool = require('./abis/Pool.json');
22
- const PriceFeedOracle = require('./abis/PriceFeedOracle.json');
23
- const ProductsV1 = require('./abis/ProductsV1.json');
24
- const ProposalCategory = require('./abis/ProposalCategory.json');
25
- const StakingNFT = require('./abis/StakingNFT.json');
26
- const StakingNFTDescriptor = require('./abis/StakingNFTDescriptor.json');
27
- const StakingPool = require('./abis/StakingPool.json');
28
- const StakingPoolFactory = require('./abis/StakingPoolFactory.json');
29
- const StakingProducts = require('./abis/StakingProducts.json');
30
- const StakingViewer = require('./abis/StakingViewer.json');
31
- const SwapOperator = require('./abis/SwapOperator.json');
32
- const TokenController = require('./abis/TokenController.json');
33
- const YieldTokenIncidents = require('./abis/YieldTokenIncidents.json');
1
+ const Assessment = require('./Assessment.json');
2
+ const Cover = require('./Cover.json');
3
+ const CoverMigrator = require('./CoverMigrator.json');
4
+ const CoverNFT = require('./CoverNFT.json');
5
+ const CoverNFTDescriptor = require('./CoverNFTDescriptor.json');
6
+ const CoverViewer = require('./CoverViewer.json');
7
+ const EACAggregatorProxy = require('./EACAggregatorProxy.json');
8
+ const ERC20 = require('./ERC20.json');
9
+ const Governance = require('./Governance.json');
10
+ const IndividualClaims = require('./IndividualClaims.json');
11
+ const LegacyClaimProofs = require('./LegacyClaimProofs.json');
12
+ const LegacyClaimsData = require('./LegacyClaimsData.json');
13
+ const LegacyClaimsReward = require('./LegacyClaimsReward.json');
14
+ const LegacyGateway = require('./LegacyGateway.json');
15
+ const LegacyPooledStaking = require('./LegacyPooledStaking.json');
16
+ const LegacyQuotationData = require('./LegacyQuotationData.json');
17
+ const MCR = require('./MCR.json');
18
+ const MemberRoles = require('./MemberRoles.json');
19
+ const NXMToken = require('./NXMToken.json');
20
+ const NXMaster = require('./NXMaster.json');
21
+ const Pool = require('./Pool.json');
22
+ const PriceFeedOracle = require('./PriceFeedOracle.json');
23
+ const ProductsV1 = require('./ProductsV1.json');
24
+ const ProposalCategory = require('./ProposalCategory.json');
25
+ const StakingNFT = require('./StakingNFT.json');
26
+ const StakingNFTDescriptor = require('./StakingNFTDescriptor.json');
27
+ const StakingPool = require('./StakingPool.json');
28
+ const StakingPoolFactory = require('./StakingPoolFactory.json');
29
+ const StakingProducts = require('./StakingProducts.json');
30
+ const StakingViewer = require('./StakingViewer.json');
31
+ const SwapOperator = require('./SwapOperator.json');
32
+ const TokenController = require('./TokenController.json');
33
+ const YieldTokenIncidents = require('./YieldTokenIncidents.json');
34
34
 
35
35
  module.exports = {
36
36
  Assessment,
package/dist/index.d.ts CHANGED
@@ -2,4 +2,3 @@ export { default as abis } from '@nexusmutual/sdk/dist/contracts/abis';
2
2
  export { default as addresses } from '@nexusmutual/sdk/dist/contracts/addresses.json';
3
3
  export { default as productTypes } from '@nexusmutual/sdk/dist/products/product-types.json';
4
4
  export { default as products } from '@nexusmutual/sdk/dist/products/products.json';
5
- export { default as logos } from '@nexusmutual/sdk/dist/products/product-logos.json';
package/dist/index.js CHANGED
@@ -2,12 +2,10 @@ const abis = require('./contracts/abis');
2
2
  const addresses = require('./contracts/addresses.json');
3
3
  const productTypes = require('./products/product-types.json');
4
4
  const products = require('./products/products.json');
5
- const logos = require('./products/product-logos.json');
6
5
 
7
6
  module.exports = {
8
7
  abis,
9
8
  addresses,
10
9
  productTypes,
11
10
  products,
12
- logos,
13
11
  };
@@ -222,7 +222,7 @@
222
222
  "id": 15,
223
223
  "name": "Binance",
224
224
  "productType": 1,
225
- "isDeprecated": false,
225
+ "isDeprecated": true,
226
226
  "useFixedPrice": false,
227
227
  "logo": "binance.svg",
228
228
  "metadata": {},
@@ -235,7 +235,7 @@
235
235
  "id": 16,
236
236
  "name": "BlockFi",
237
237
  "productType": 1,
238
- "isDeprecated": false,
238
+ "isDeprecated": true,
239
239
  "useFixedPrice": false,
240
240
  "logo": "blockFi.svg",
241
241
  "metadata": {},
@@ -274,7 +274,7 @@
274
274
  "id": 19,
275
275
  "name": "Coinbase",
276
276
  "productType": 1,
277
- "isDeprecated": false,
277
+ "isDeprecated": true,
278
278
  "useFixedPrice": false,
279
279
  "logo": "coinbase.svg",
280
280
  "metadata": {},
@@ -300,7 +300,7 @@
300
300
  "id": 21,
301
301
  "name": "Convex 3CRV (cvx3CRV)",
302
302
  "productType": 2,
303
- "isDeprecated": false,
303
+ "isDeprecated": true,
304
304
  "useFixedPrice": false,
305
305
  "logo": "convex.svg",
306
306
  "metadata": {},
@@ -331,7 +331,7 @@
331
331
  "id": 23,
332
332
  "name": "Convex stethCrv (cvxstethCrv)",
333
333
  "productType": 2,
334
- "isDeprecated": false,
334
+ "isDeprecated": true,
335
335
  "useFixedPrice": false,
336
336
  "logo": "convex.svg",
337
337
  "metadata": {},
@@ -343,7 +343,7 @@
343
343
  "id": 24,
344
344
  "name": "Crypto.com",
345
345
  "productType": 1,
346
- "isDeprecated": false,
346
+ "isDeprecated": true,
347
347
  "useFixedPrice": false,
348
348
  "logo": "crypto-com.svg",
349
349
  "metadata": {},
@@ -356,7 +356,7 @@
356
356
  "id": 25,
357
357
  "name": "Curve 3pool LP (3Crv)",
358
358
  "productType": 2,
359
- "isDeprecated": false,
359
+ "isDeprecated": true,
360
360
  "useFixedPrice": false,
361
361
  "logo": "curve.svg",
362
362
  "metadata": {},
@@ -381,7 +381,7 @@
381
381
  "id": 27,
382
382
  "name": "Curve sETH LP (eCrv)",
383
383
  "productType": 2,
384
- "isDeprecated": false,
384
+ "isDeprecated": true,
385
385
  "useFixedPrice": false,
386
386
  "logo": "curve.svg",
387
387
  "metadata": {},
@@ -496,7 +496,7 @@
496
496
  "id": 35,
497
497
  "name": "FTX",
498
498
  "productType": 1,
499
- "isDeprecated": false,
499
+ "isDeprecated": true,
500
500
  "useFixedPrice": false,
501
501
  "logo": "ftx.svg",
502
502
  "metadata": {},
@@ -528,7 +528,7 @@
528
528
  "id": 37,
529
529
  "name": "Gemini",
530
530
  "productType": 1,
531
- "isDeprecated": false,
531
+ "isDeprecated": true,
532
532
  "useFixedPrice": false,
533
533
  "logo": "gemini.svg",
534
534
  "metadata": {},
@@ -574,7 +574,7 @@
574
574
  "id": 40,
575
575
  "name": "Hodlnaut",
576
576
  "productType": 1,
577
- "isDeprecated": false,
577
+ "isDeprecated": true,
578
578
  "useFixedPrice": false,
579
579
  "logo": "hodlnaut.svg",
580
580
  "metadata": {},
@@ -587,7 +587,7 @@
587
587
  "id": 41,
588
588
  "name": "Kraken",
589
589
  "productType": 1,
590
- "isDeprecated": false,
590
+ "isDeprecated": true,
591
591
  "useFixedPrice": false,
592
592
  "logo": "kraken.svg",
593
593
  "metadata": {},
@@ -600,7 +600,7 @@
600
600
  "id": 42,
601
601
  "name": "Ledn",
602
602
  "productType": 1,
603
- "isDeprecated": false,
603
+ "isDeprecated": true,
604
604
  "useFixedPrice": false,
605
605
  "logo": "ledn.svg",
606
606
  "metadata": {},
@@ -688,7 +688,7 @@
688
688
  "id": 48,
689
689
  "name": "Nexo",
690
690
  "productType": 1,
691
- "isDeprecated": false,
691
+ "isDeprecated": true,
692
692
  "useFixedPrice": false,
693
693
  "logo": "nexo.svg",
694
694
  "metadata": {},
@@ -746,7 +746,7 @@
746
746
  "id": 52,
747
747
  "name": "Origin OUSD",
748
748
  "productType": 2,
749
- "isDeprecated": false,
749
+ "isDeprecated": true,
750
750
  "useFixedPrice": false,
751
751
  "logo": "originusd.svg",
752
752
  "metadata": {},
@@ -1085,7 +1085,7 @@
1085
1085
  "id": 76,
1086
1086
  "name": "Yearn yvUSDC v2",
1087
1087
  "productType": 2,
1088
- "isDeprecated": false,
1088
+ "isDeprecated": true,
1089
1089
  "useFixedPrice": false,
1090
1090
  "logo": "yearn.svg",
1091
1091
  "metadata": {},
@@ -1116,7 +1116,7 @@
1116
1116
  "id": 78,
1117
1117
  "name": "Yield App",
1118
1118
  "productType": 1,
1119
- "isDeprecated": false,
1119
+ "isDeprecated": true,
1120
1120
  "useFixedPrice": false,
1121
1121
  "logo": "yield-app.svg",
1122
1122
  "metadata": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexusmutual/sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Nexus Mutual SDK",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js",
@@ -14,9 +14,8 @@
14
14
  "./abis": "./dist/contracts/abis/index.js",
15
15
  "./abis/*": "./dist/contracts/abis/*.json",
16
16
  "./addresses": "./dist/contracts/addresses.json",
17
- "./products": "./dist/products/products.json",
18
- "./product-types": "./dist/products/product-types.json",
19
- "./logos": "./dist/products/product-logos.json"
17
+ "./products": "./dist/products.json",
18
+ "./product-types": "./dist/product-types.json"
20
19
  },
21
20
  "repository": {
22
21
  "type": "git",
@@ -29,6 +28,7 @@
29
28
  },
30
29
  "homepage": "https://github.com/NexusMutual/static-data#readme",
31
30
  "dependencies": {
31
+ "@nexusmutual/logos": "^0.0.14",
32
32
  "ethers": "^5.7.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,103 +0,0 @@
1
- [
2
- "zerox.svg",
3
- "oneinch.svg",
4
- "aavev2.svg",
5
- "abracadabra.svg",
6
- "alchemix.svg",
7
- "anchor.svg",
8
- "angle.svg",
9
- "argent.svg",
10
- "aura.svg",
11
- "babylon.svg",
12
- "badgerdao.svg",
13
- "balancer.svg",
14
- "bancor.svg",
15
- "bancor.svg",
16
- "beefy.svg",
17
- "binance.svg",
18
- "blockFi.svg",
19
- "gelt.svg",
20
- "centrifuge.svg",
21
- "coinbase.svg",
22
- "compoundv2.svg",
23
- "convex.svg",
24
- "convex.svg",
25
- "convex.svg",
26
- "crypto-com.svg",
27
- "curve.svg",
28
- "curve.svg",
29
- "curve.svg",
30
- "dydx.svg",
31
- "ease.svg",
32
- "enzyme.svg",
33
- "enzyme.svg",
34
- "eth.svg",
35
- "euler.svg",
36
- "fodl.svg",
37
- "ftx.svg",
38
- "gearbox.svg",
39
- "gemini.svg",
40
- "gmx.svg",
41
- "goldfinch.svg",
42
- "hodlnaut.svg",
43
- "kraken.svg",
44
- "ledn.svg",
45
- "liquidcollective.svg",
46
- "liquity.svg",
47
- "makerdao.svg",
48
- "mstable.svg",
49
- "nested.svg",
50
- "nexo.svg",
51
- "notional-finance.svg",
52
- "olympusdao.svg",
53
- "opyn.png",
54
- "originusd.svg",
55
- "pangolin.svg",
56
- "perpetual.svg",
57
- "pooltogether.svg",
58
- "premia.svg",
59
- "rari.svg",
60
- "reflexer.png",
61
- "ribbon.svg",
62
- "gnosis-safe.svg",
63
- "tokensets.svg",
64
- "tokensets.svg",
65
- "sherlock.svg",
66
- "stakedao.svg",
67
- "stakewise.svg",
68
- "stakewise.svg",
69
- "sushiswap.svg",
70
- "synthetix.svg",
71
- "thorchain.svg",
72
- "trader-joe.svg",
73
- "uniswapv2.svg",
74
- "uniswapv2.svg",
75
- "vector.svg",
76
- "vesper.svg",
77
- "yearn.svg",
78
- "yearn.svg",
79
- "yeti.png",
80
- "yield-app.svg",
81
- "alpaca.svg",
82
- "wefi.png",
83
- "exactly.svg",
84
- "etherfi.png",
85
- "squeeth-by-opyn.svg",
86
- "rage-trade.svg",
87
- "sentiment.png",
88
- "lyra.svg",
89
- "perennial.jpeg",
90
- "liquify.svg",
91
- "lyra.svg",
92
- "buffer-finance.svg",
93
- "hook.jpeg",
94
- "holyheld.jpeg",
95
- "union-finance.svg",
96
- "openq.png",
97
- "level-finance.png",
98
- "offramp.png",
99
- "morpho.svg",
100
- "aavev3.svg",
101
- "chorusone.svg",
102
- "kiln.svg"
103
- ]