@nexusmutual/sdk 0.0.5 → 0.0.7
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/addresses.json +2 -2
- package/dist/index.html +4 -4
- package/dist/product-types.json +14 -0
- package/dist/products.json +27 -0
- package/package.json +2 -2
package/dist/addresses.json
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"StakingNFT": "0xcafea508a477D94c502c253A58239fb8F948e97f",
|
|
29
29
|
"StakingPoolFactory": "0xcafeafb97BF8831D95C0FC659b8eB3946B101CB3",
|
|
30
30
|
"StakingProducts": "0xcafea573fBd815B5f59e8049E71E554bde3477E4",
|
|
31
|
-
"StakingViewer": "
|
|
32
|
-
"SwapOperator": "
|
|
31
|
+
"StakingViewer": "0xcafea970135C07B07a3eCA76C6c00AAC849767b3",
|
|
32
|
+
"SwapOperator": "0xcafea5C050E74a21C11Af78C927e17853153097D",
|
|
33
33
|
"TokenController": "0x5407381b6c251cFd498ccD4A1d877739CB7960B8",
|
|
34
34
|
"YieldTokenIncidents": "0xcafeac831dC5ca0D7ef467953b7822D2f44C8f83"
|
|
35
35
|
}
|
package/dist/index.html
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
<div class='row'>
|
|
26
26
|
<div class='col text-right'>
|
|
27
|
-
<a target="_blank" href="
|
|
28
|
-
<a target="_blank" href="products
|
|
27
|
+
<a target="_blank" href="product-types.json">Product types 🡭</a><br>
|
|
28
|
+
<a target="_blank" href="products.json">Products 🡭</a>
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
async function load () {
|
|
41
41
|
|
|
42
42
|
const table = document.getElementById('data');
|
|
43
|
-
const addresses = await fetch('
|
|
43
|
+
const addresses = await fetch('addresses.json').then(r => r.json());
|
|
44
44
|
const proxies = [
|
|
45
45
|
'Assessment',
|
|
46
46
|
'Cover',
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
const isProxy = proxies.includes(name) ? 'Proxy' : '';
|
|
64
64
|
return row([
|
|
65
65
|
linkCell(`${ETHERSCAN}/${address}`, `<strong>${name}</strong>`),
|
|
66
|
-
linkCell(`
|
|
66
|
+
linkCell(`abis/${name}.json`, 'ABI'),
|
|
67
67
|
textCell(`${address}`),
|
|
68
68
|
linkCell(`${ETHERSCAN}/${address}/advanced#tokentxns`, 'ERC20 transfers'),
|
|
69
69
|
linkCell(`${ETHERSCAN}/${address}/advanced#read${isProxy}Contract`, `Read ${isProxy}`),
|
package/dist/product-types.json
CHANGED
|
@@ -54,5 +54,19 @@
|
|
|
54
54
|
"name": "Sherlock Quota Share",
|
|
55
55
|
"gracePeriod": 3024000,
|
|
56
56
|
"claimMethod": 0
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": 8,
|
|
60
|
+
"coverWordingURL": "https://api.nexusmutual.io/ipfs/QmRrKXV9RBNAB5E1ZEigWmvvT24FgrWNSZ8Yw1VNXR8E6Q",
|
|
61
|
+
"name": "Native Protocol",
|
|
62
|
+
"gracePeriod": 3024000,
|
|
63
|
+
"claimMethod": 0
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": 9,
|
|
67
|
+
"coverWordingURL": "https://api.nexusmutual.io/ipfs/QmQATA2m9L3Jv6D7LfsBAxpm9vUMank5jLJVB3sfXjs6km",
|
|
68
|
+
"name": "The Retail Mutual",
|
|
69
|
+
"gracePeriod": 36720000,
|
|
70
|
+
"claimMethod": 0
|
|
57
71
|
}
|
|
58
72
|
]
|
package/dist/products.json
CHANGED
|
@@ -1410,5 +1410,32 @@
|
|
|
1410
1410
|
"coverAssets": [
|
|
1411
1411
|
"ETH"
|
|
1412
1412
|
]
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"id": 101,
|
|
1416
|
+
"name": "Vertex (Native Protocol)",
|
|
1417
|
+
"productType": 8,
|
|
1418
|
+
"isDeprecated": false,
|
|
1419
|
+
"useFixedPrice": true,
|
|
1420
|
+
"logo": "vertex.svg",
|
|
1421
|
+
"metadata": {
|
|
1422
|
+
"schedule": "QmX4HnfD4RToyBNSLocCqSxHcSzWBUDHDGxAtTvR2gsBmy"
|
|
1423
|
+
},
|
|
1424
|
+
"coverAssets": [
|
|
1425
|
+
"ETH",
|
|
1426
|
+
"DAI"
|
|
1427
|
+
]
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"id": 102,
|
|
1431
|
+
"name": "The Retail Mutual",
|
|
1432
|
+
"productType": 9,
|
|
1433
|
+
"isDeprecated": false,
|
|
1434
|
+
"useFixedPrice": true,
|
|
1435
|
+
"logo": "the-retail-mutual.png",
|
|
1436
|
+
"metadata": {},
|
|
1437
|
+
"coverAssets": [
|
|
1438
|
+
"DAI"
|
|
1439
|
+
]
|
|
1413
1440
|
}
|
|
1414
1441
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexusmutual/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Nexus Mutual SDK",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/NexusMutual/static-data#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@nexusmutual/logos": "^0.0.
|
|
25
|
+
"@nexusmutual/logos": "^0.0.16",
|
|
26
26
|
"ethers": "^5.7.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|