diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b048cd8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.defaultFormatter": "biomejs.biome", + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome" + } +} diff --git a/README.md b/README.md index 8d6710b..a6e4b31 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ try yourself by visiting this [StackBlitz url](https://stackblitz.com/edit/vitej ## Build -#### Running the script `(npm|pnpm|bun) run build` will do the following things: +#### Running the script `(npm|pnpm|bun) run list:build` will do the following things: - Take the `tokenlist.json.ts` file's current state - Validate it against Uniswap's tokenlist json schema - Validate if the contracts for all the tokens exist diff --git a/config/validation-exceptions.ts b/config/validation-exceptions.ts index 99b44ef..b6ebe69 100644 --- a/config/validation-exceptions.ts +++ b/config/validation-exceptions.ts @@ -1 +1 @@ -export default ['TOKEN_SYMBOL', 'MKR']; // This is case sensitive +export default ['TOKEN_SYMBOL', 'MKR', 'mhyETH']; // This is case sensitive diff --git a/indexcoop.tokenlist.json b/indexcoop.tokenlist.json index 0c56f80..6a0d404 100644 --- a/indexcoop.tokenlist.json +++ b/indexcoop.tokenlist.json @@ -2,10 +2,10 @@ "name": "IndexCoop Token List", "version": { "major": 4, - "minor": 4, + "minor": 5, "patch": 0 }, - "timestamp": "2024-12-11T20:20:34.556Z", + "timestamp": "2025-01-02T20:48:44.879Z", "tags": { "component": { "name": "Component Token", @@ -895,6 +895,23 @@ "dangerous" ] }, + { + "address": "0xc554929a61d862F2741077F8aafa147479c0b308", + "name": "Morpho IndexCoop hyETH", + "symbol": "mhyETH", + "decimals": 18, + "chainId": 1, + "extensions": { + "status": "Active", + "yield": { + "theme": "ETH" + } + }, + "logoURI": "https://cdn.indexcoop.com/hyeth.svg", + "tags": [ + "component" + ] + }, { "address": "0x55b2CFcfe99110C773f00b023560DD9ef6C8A13B", "name": "CoinDesk ETH Trend Index", diff --git a/package.json b/package.json index 5b80d04..f7977d5 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,7 @@ "require": "./dist/index.cjs" } }, - "files": [ - "dist", - "README.md" - ], + "files": ["dist", "README.md"], "type": "module", "scripts": { "lint": "bunx @biomejs/biome lint", @@ -26,9 +23,7 @@ "coverage": "jest --coverage" }, "release": { - "branches": [ - "main" - ], + "branches": ["main"], "plugins": [ [ "@semantic-release/commit-analyzer", diff --git a/src/tokenlist.json.ts b/src/tokenlist.json.ts index 8cc79d7..27df3e7 100644 --- a/src/tokenlist.json.ts +++ b/src/tokenlist.json.ts @@ -705,6 +705,21 @@ export default { logoURI: 'https://cdn.indexcoop.com/hyeth.svg', tags: ['index', 'product', 'yield', 'dangerous'], }, + { + address: '0xc554929a61d862F2741077F8aafa147479c0b308', + name: 'Morpho IndexCoop hyETH', + symbol: 'mhyETH', + decimals: 18, + chainId: 1, + extensions: { + status: 'Active', + yield: { + theme: 'ETH', + }, + }, + logoURI: 'https://cdn.indexcoop.com/hyeth.svg', + tags: ['component'], + }, { address: '0x55b2CFcfe99110C773f00b023560DD9ef6C8A13B', name: 'CoinDesk ETH Trend Index',