Skip to content

Commit

Permalink
Merge pull request #94 from IndexCoop/feat/morpho-hyeth
Browse files Browse the repository at this point in the history
feat: morpho hyeth
  • Loading branch information
0xonramp authored Jan 2, 2025
2 parents 9d8edd5 + c9bed8c commit b4d7d8b
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.defaultFormatter": "biomejs.biome",
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/validation-exceptions.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['TOKEN_SYMBOL', 'MKR']; // This is case sensitive
export default ['TOKEN_SYMBOL', 'MKR', 'mhyETH']; // This is case sensitive
21 changes: 19 additions & 2 deletions indexcoop.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md"
],
"files": ["dist", "README.md"],
"type": "module",
"scripts": {
"lint": "bunx @biomejs/biome lint",
Expand All @@ -26,9 +23,7 @@
"coverage": "jest --coverage"
},
"release": {
"branches": [
"main"
],
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
Expand Down
15 changes: 15 additions & 0 deletions src/tokenlist.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b4d7d8b

Please sign in to comment.