@nexusmutual/sdk 0.0.6 → 0.0.8
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 +1 -1
- package/dist/products.json +14 -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
package/dist/products.json
CHANGED
|
@@ -1437,5 +1437,19 @@
|
|
|
1437
1437
|
"coverAssets": [
|
|
1438
1438
|
"DAI"
|
|
1439
1439
|
]
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"id": 103,
|
|
1443
|
+
"name": "Figment",
|
|
1444
|
+
"productType": 6,
|
|
1445
|
+
"isDeprecated": false,
|
|
1446
|
+
"useFixedPrice": true,
|
|
1447
|
+
"logo": "figment.svg",
|
|
1448
|
+
"metadata": {
|
|
1449
|
+
"schedule": "QmaXutduGRq4gpZ7xKUHQeAHd67X8zMXuzXVTncxx2kJqk"
|
|
1450
|
+
},
|
|
1451
|
+
"coverAssets": [
|
|
1452
|
+
"ETH"
|
|
1453
|
+
]
|
|
1440
1454
|
}
|
|
1441
1455
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexusmutual/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
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.17",
|
|
26
26
|
"ethers": "^5.7.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|