@nexusmutual/sdk 0.5.7 → 0.6.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.
- package/dist/data/product-types.json +7 -0
- package/dist/data/products.json +90 -9
- package/dist/index.d.mts +104 -14
- package/dist/index.d.ts +104 -14
- package/dist/index.js +129 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +129 -14
- package/dist/index.mjs.map +1 -1
- package/dist/logos/derive.svg +1 -0
- package/dist/logos/elite-plan.svg +1 -0
- package/dist/logos/entry-plan.svg +1 -0
- package/dist/logos/essential-plan.svg +1 -0
- package/dist/logos/sparkdex.png +0 -0
- package/package.json +1 -1
- package/dist/logos/lyra-synthetix.svg +0 -1
package/dist/index.mjs
CHANGED
|
@@ -97,8 +97,14 @@ var require_privateProducts = __commonJS({
|
|
|
97
97
|
// Relative Finance
|
|
98
98
|
239,
|
|
99
99
|
// Everstake
|
|
100
|
-
240
|
|
100
|
+
240,
|
|
101
101
|
// Ensuro
|
|
102
|
+
245,
|
|
103
|
+
// Entry Plan
|
|
104
|
+
246,
|
|
105
|
+
// Essential Plan
|
|
106
|
+
247
|
|
107
|
+
// Elite Plan
|
|
102
108
|
];
|
|
103
109
|
module.exports = {
|
|
104
110
|
allPrivateProductsIds: allPrivateProductsIds2
|
|
@@ -489,7 +495,7 @@ var productCategoryMap = {
|
|
|
489
495
|
156: "yield-optimizer" /* YieldOptimizer */,
|
|
490
496
|
// Arcadia
|
|
491
497
|
157: "perpetuals" /* Perpetuals */,
|
|
492
|
-
//
|
|
498
|
+
// Derive (formerly Lyra)
|
|
493
499
|
158: "liquid-restaking" /* LiquidRestaking */,
|
|
494
500
|
// EigenLayer + Renzo
|
|
495
501
|
159: "uncategorized" /* Uncategorized */,
|
|
@@ -662,8 +668,18 @@ var productCategoryMap = {
|
|
|
662
668
|
// Lombard DeFi Vault
|
|
663
669
|
243: "lending" /* Lending */,
|
|
664
670
|
// Liquity v2
|
|
665
|
-
244: "dex" /* Dex
|
|
671
|
+
244: "dex" /* Dex */,
|
|
666
672
|
// CoW AMM
|
|
673
|
+
245: "uncategorized" /* Uncategorized */,
|
|
674
|
+
// Entry Plan
|
|
675
|
+
246: "uncategorized" /* Uncategorized */,
|
|
676
|
+
// Essential Plan
|
|
677
|
+
247: "uncategorized" /* Uncategorized */,
|
|
678
|
+
// Elite Plan
|
|
679
|
+
248: "yield-optimizer" /* YieldOptimizer */,
|
|
680
|
+
// Pendle
|
|
681
|
+
249: "dex" /* Dex */
|
|
682
|
+
// SparkDEX
|
|
667
683
|
};
|
|
668
684
|
|
|
669
685
|
// src/constants/index.ts
|
|
@@ -1022,6 +1038,13 @@ var product_types_default = [
|
|
|
1022
1038
|
name: "Immunefi Bug Bounty Cover",
|
|
1023
1039
|
gracePeriod: 3024e3,
|
|
1024
1040
|
claimMethod: 0
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
id: 19,
|
|
1044
|
+
coverWordingURL: "https://api.nexusmutual.io/ipfs/QmYdBBwtdn9Z6j9nX3SkzPjWmvHxjMUbu44sibnQ9QrCHX",
|
|
1045
|
+
name: "Nexus Mutual Cover",
|
|
1046
|
+
gracePeriod: 3024e3,
|
|
1047
|
+
claimMethod: 0
|
|
1025
1048
|
}
|
|
1026
1049
|
];
|
|
1027
1050
|
|
|
@@ -3780,22 +3803,21 @@ var products_default = [
|
|
|
3780
3803
|
},
|
|
3781
3804
|
{
|
|
3782
3805
|
id: 157,
|
|
3783
|
-
name: "
|
|
3806
|
+
name: "Derive (formerly Lyra)",
|
|
3784
3807
|
productType: 11,
|
|
3785
3808
|
isDeprecated: false,
|
|
3786
3809
|
useFixedPrice: false,
|
|
3787
|
-
logo: "
|
|
3810
|
+
logo: "derive.svg",
|
|
3788
3811
|
metadata: {
|
|
3789
|
-
annex: "
|
|
3812
|
+
annex: "QmcUoNGcBhZkRdc6CdcwsKaMtx1YN1hoEUv3xuvwRavTuk"
|
|
3790
3813
|
},
|
|
3791
3814
|
coverAssets: [
|
|
3792
3815
|
"ETH",
|
|
3793
|
-
"DAI",
|
|
3794
3816
|
"USDC",
|
|
3795
3817
|
"cbBTC"
|
|
3796
3818
|
],
|
|
3797
3819
|
isPrivate: false,
|
|
3798
|
-
timestamp:
|
|
3820
|
+
timestamp: 1733326763
|
|
3799
3821
|
},
|
|
3800
3822
|
{
|
|
3801
3823
|
id: 158,
|
|
@@ -4862,7 +4884,7 @@ var products_default = [
|
|
|
4862
4884
|
"USDC"
|
|
4863
4885
|
],
|
|
4864
4886
|
isPrivate: false,
|
|
4865
|
-
timestamp:
|
|
4887
|
+
timestamp: 1723127459
|
|
4866
4888
|
},
|
|
4867
4889
|
{
|
|
4868
4890
|
id: 220,
|
|
@@ -5026,7 +5048,7 @@ var products_default = [
|
|
|
5026
5048
|
"cbBTC"
|
|
5027
5049
|
],
|
|
5028
5050
|
isPrivate: false,
|
|
5029
|
-
timestamp:
|
|
5051
|
+
timestamp: 1728564167
|
|
5030
5052
|
},
|
|
5031
5053
|
{
|
|
5032
5054
|
id: 229,
|
|
@@ -5036,7 +5058,7 @@ var products_default = [
|
|
|
5036
5058
|
useFixedPrice: false,
|
|
5037
5059
|
logo: "morpho-morpho-vaults.svg",
|
|
5038
5060
|
metadata: {
|
|
5039
|
-
annex: "
|
|
5061
|
+
annex: "QmdvdZKddd824Xna6c96pwk4TuF3stqzv5tyy4GxVi7cuk"
|
|
5040
5062
|
},
|
|
5041
5063
|
coverAssets: [
|
|
5042
5064
|
"ETH",
|
|
@@ -5044,7 +5066,7 @@ var products_default = [
|
|
|
5044
5066
|
"cbBTC"
|
|
5045
5067
|
],
|
|
5046
5068
|
isPrivate: false,
|
|
5047
|
-
timestamp:
|
|
5069
|
+
timestamp: 1733326763
|
|
5048
5070
|
},
|
|
5049
5071
|
{
|
|
5050
5072
|
id: 230,
|
|
@@ -5294,6 +5316,88 @@ var products_default = [
|
|
|
5294
5316
|
],
|
|
5295
5317
|
isPrivate: false,
|
|
5296
5318
|
timestamp: 1731583079
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
id: 245,
|
|
5322
|
+
name: "Entry Plan",
|
|
5323
|
+
productType: 19,
|
|
5324
|
+
isDeprecated: false,
|
|
5325
|
+
useFixedPrice: true,
|
|
5326
|
+
logo: "entry-plan.svg",
|
|
5327
|
+
metadata: {
|
|
5328
|
+
annex: "QmV4TBT8xDAukkqPgHg5LzPE6agTLHWNx9mRZ3DwCStYaE"
|
|
5329
|
+
},
|
|
5330
|
+
coverAssets: [
|
|
5331
|
+
"USDC"
|
|
5332
|
+
],
|
|
5333
|
+
isPrivate: true,
|
|
5334
|
+
timestamp: 1733326763
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
id: 246,
|
|
5338
|
+
name: "Essential Plan",
|
|
5339
|
+
productType: 19,
|
|
5340
|
+
isDeprecated: false,
|
|
5341
|
+
useFixedPrice: true,
|
|
5342
|
+
logo: "essential-plan.svg",
|
|
5343
|
+
metadata: {
|
|
5344
|
+
annex: "QmeyZ8ZPjwD4vyJgg3nvbo7FDvXWsu6CSmJCsbPE2hkoD6"
|
|
5345
|
+
},
|
|
5346
|
+
coverAssets: [
|
|
5347
|
+
"USDC"
|
|
5348
|
+
],
|
|
5349
|
+
isPrivate: true,
|
|
5350
|
+
timestamp: 1733326763
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
id: 247,
|
|
5354
|
+
name: "Elite Plan",
|
|
5355
|
+
productType: 19,
|
|
5356
|
+
isDeprecated: false,
|
|
5357
|
+
useFixedPrice: true,
|
|
5358
|
+
logo: "elite-plan.svg",
|
|
5359
|
+
metadata: {
|
|
5360
|
+
annex: "QmWRJ1H3kvnNM724guGF8fAMYiPPbL5wmfie1yWWobnDFG"
|
|
5361
|
+
},
|
|
5362
|
+
coverAssets: [
|
|
5363
|
+
"USDC"
|
|
5364
|
+
],
|
|
5365
|
+
isPrivate: true,
|
|
5366
|
+
timestamp: 1733326763
|
|
5367
|
+
},
|
|
5368
|
+
{
|
|
5369
|
+
id: 248,
|
|
5370
|
+
name: "Pendle",
|
|
5371
|
+
productType: 11,
|
|
5372
|
+
isDeprecated: false,
|
|
5373
|
+
useFixedPrice: false,
|
|
5374
|
+
logo: "pendle.svg",
|
|
5375
|
+
metadata: {
|
|
5376
|
+
annex: "QmS9EpKypFSiZCx2P6AsRe3o8ijPKFsNha24hc8YY88yRv"
|
|
5377
|
+
},
|
|
5378
|
+
coverAssets: [
|
|
5379
|
+
"ETH",
|
|
5380
|
+
"USDC",
|
|
5381
|
+
"cbBTC"
|
|
5382
|
+
],
|
|
5383
|
+
isPrivate: false,
|
|
5384
|
+
timestamp: 1733326763
|
|
5385
|
+
},
|
|
5386
|
+
{
|
|
5387
|
+
id: 249,
|
|
5388
|
+
name: "SparkDEX",
|
|
5389
|
+
productType: 0,
|
|
5390
|
+
isDeprecated: false,
|
|
5391
|
+
useFixedPrice: false,
|
|
5392
|
+
logo: "sparkdex.png",
|
|
5393
|
+
metadata: {},
|
|
5394
|
+
coverAssets: [
|
|
5395
|
+
"ETH",
|
|
5396
|
+
"USDC",
|
|
5397
|
+
"cbBTC"
|
|
5398
|
+
],
|
|
5399
|
+
isPrivate: false,
|
|
5400
|
+
timestamp: 1733326763
|
|
5297
5401
|
}
|
|
5298
5402
|
];
|
|
5299
5403
|
|
|
@@ -5462,7 +5566,7 @@ var allLogoFileNames = [
|
|
|
5462
5566
|
"eigenlayer-renzo-pendle.svg",
|
|
5463
5567
|
"eigenlayer-swell-pendle.svg",
|
|
5464
5568
|
"arcadia.svg",
|
|
5465
|
-
"
|
|
5569
|
+
"derive.svg",
|
|
5466
5570
|
"eigenlayer-renzo.svg",
|
|
5467
5571
|
"liquidcollective.svg",
|
|
5468
5572
|
"etherfi-zircuit-pendle.svg",
|
|
@@ -5550,6 +5654,11 @@ var allLogoFileNames = [
|
|
|
5550
5654
|
"lombard-finance.svg",
|
|
5551
5655
|
"liquity-v2.svg",
|
|
5552
5656
|
"cow-amm.svg",
|
|
5657
|
+
"entry-plan.svg",
|
|
5658
|
+
"essential-plan.svg",
|
|
5659
|
+
"elite-plan.svg",
|
|
5660
|
+
"pendle.svg",
|
|
5661
|
+
"sparkdex.png",
|
|
5553
5662
|
"aave-v1.svg",
|
|
5554
5663
|
"akropolis.svg",
|
|
5555
5664
|
"alpha-homora.svg",
|
|
@@ -5762,7 +5871,7 @@ var allLogoNames = [
|
|
|
5762
5871
|
"eigenlayer-renzo-pendle",
|
|
5763
5872
|
"eigenlayer-swell-pendle",
|
|
5764
5873
|
"arcadia",
|
|
5765
|
-
"
|
|
5874
|
+
"derive",
|
|
5766
5875
|
"eigenlayer-renzo",
|
|
5767
5876
|
"liquidcollective",
|
|
5768
5877
|
"etherfi-zircuit-pendle",
|
|
@@ -5850,6 +5959,11 @@ var allLogoNames = [
|
|
|
5850
5959
|
"lombard-finance",
|
|
5851
5960
|
"liquity-v2",
|
|
5852
5961
|
"cow-amm",
|
|
5962
|
+
"entry-plan",
|
|
5963
|
+
"essential-plan",
|
|
5964
|
+
"elite-plan",
|
|
5965
|
+
"pendle",
|
|
5966
|
+
"sparkdex",
|
|
5853
5967
|
"aave-v1",
|
|
5854
5968
|
"akropolis",
|
|
5855
5969
|
"alpha-homora",
|
|
@@ -5924,6 +6038,7 @@ var ProductTypes = /* @__PURE__ */ ((ProductTypes2) => {
|
|
|
5924
6038
|
ProductTypes2[ProductTypes2["deFiPass"] = 16] = "deFiPass";
|
|
5925
6039
|
ProductTypes2[ProductTypes2["followOn"] = 17] = "followOn";
|
|
5926
6040
|
ProductTypes2[ProductTypes2["immunefiBugBounty"] = 18] = "immunefiBugBounty";
|
|
6041
|
+
ProductTypes2[ProductTypes2["nexusMutual"] = 19] = "nexusMutual";
|
|
5927
6042
|
return ProductTypes2;
|
|
5928
6043
|
})(ProductTypes || {});
|
|
5929
6044
|
|