Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: morpho hyeth #94

Merged
merged 5 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading