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

chore: Remove metadata gen #5918

Merged
merged 3 commits into from
Nov 4, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Increase memory to avoid heap error
# https://github.com/vitejs/vite/issues/2433
NODE_OPTIONS: '--max-old-space-size=8192'
run: npm run build:witChunkSizeCheck
run: npm run build

Lint:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ pnpm-debug.log*
# tokenlists
/src/assets/data/tokenlists.json
/src/assets/data/tokenlists/*.json
/src/assets/data/pools/**/*.json

#test coverage
/coverage
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
},
"scripts": {
"vite": "vite",
"dev": "npm run generate:tokenlists && npm run generate:metadata && vite",
"dev": "npm run generate:tokenlists && vite",
"serve": "npm run dev",
"build": "npm run generate:tokenlists && npm run generate:metadata && vite build",
"build": "npm run generate:tokenlists && vite build",
"build:witChunkSizeCheck": "node ./scripts/buildWithChunkSizeCheck.mjs",
"build:analyze": "BUILD_ANALIZE=true npm run build",
"build:docker": "export NODE_OPTIONS=--max-old-space-size=8192 && npm run build",
Expand All @@ -35,7 +35,6 @@
"tailwind:view": "tailwind-config-viewer -o",
"generate:contract-addresses": "NODE_ENV=development npx vite-node ./src/lib/scripts/contract-addresses.generator.ts",
"generate:tokenlists": "NODE_ENV=development npx vite-node --options.deps.inline=@ethersproject/basex --options.deps.inline=@ethersproject/signing-key --options.deps.inline=@balancer-labs/sdk ./src/lib/scripts/tokenlists.generator.ts",
"generate:metadata": "NODE_ENV=development npx vite-node ./src/lib/scripts/metadata.generator.ts",
"generate:api": "graphql-codegen --config codegen.yml -r dotenv/config",
"typecheck": "vue-tsc --noEmit"
},
Expand Down
8 changes: 8 additions & 0 deletions src/assets/data/pools/arbitrum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"name": "ezETH/wstETH",
"vaultVersion": "2",
"id": "0xb61371ab661b1acec81c699854d2f911070c059e000000000000000000000516",
"categories": ["lrt", "points"]
}
]
128 changes: 128 additions & 0 deletions src/assets/data/pools/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
[
{
"name": "weETH/rETH",
"vaultVersion": "2",
"id": "0x05ff47afada98a98982113758878f9a8b9fdda0a000000000000000000000645",
"categories": ["lrt"]
},
{
"name": "ezETH/ETH",
"vaultVersion": "2",
"id": "0x596192bb6e41802428ac943d2f1476c1af25cc0e000000000000000000000659",
"categories": ["lrt", "points"]
},
{
"name": "weETH/ezETH/rswETH",
"vaultVersion": "2",
"id": "0x848a5564158d84b8a8fb68ab5d004fae11619a5400000000000000000000066a",
"categories": ["lrt", "points"]
},
{
"name": "rsETH/ETHx",
"vaultVersion": "2",
"id": "0x7761b6e0daa04e70637d81f1da7d186c205c2ade00000000000000000000065d",
"categories": ["lrt", "points"]
},
{
"name": "rsETH/WETH",
"vaultVersion": "2",
"id": "0x58aadfb1afac0ad7fca1148f3cde6aedf5236b6d00000000000000000000067f",
"categories": ["points"]
},
{
"name": "USDC/GYD",
"vaultVersion": "2",
"id": "0xc2aa60465bffa1a88f5ba471a59ca0435c3ec5c100020000000000000000062c",
"categories": ["points"]
},
{
"name": "USDT/GYD",
"vaultVersion": "2",
"id": "0xfbfad5fa9e99081da6461f36f229b5cc88a64c6300020000000000000000062d",
"categories": ["points"]
},
{
"name": "sDAI/GYD",
"vaultVersion": "2",
"id": "0x1cce5169bde03f3d5ad0206f6bd057953539dae600020000000000000000062b",
"categories": ["points"]
},
{
"name": "GHO/GYD",
"vaultVersion": "2",
"id": "0xaa7a70070e7495fe86c67225329dbd39baa2f63b000200000000000000000663",
"categories": ["points"]
},
{
"name": "stataEthUSDT/GYD",
"vaultVersion": "2",
"id": "0x7f2b3b7fbd3226c5be438cde49a519f442ca2eda00020000000000000000067d",
"categories": ["points"]
},
{
"name": "wstETH/WETH",
"vaultVersion": "2",
"id": "0xf01b0684c98cd7ada480bfdf6e43876422fa1fc10002000000000000000005de",
"categories": ["points"]
},
{
"name": "wstETH/swETH",
"vaultVersion": "2",
"id": "0x127ecc2318d002664cc4515c9f2b22b09b6aea85000200000000000000000602",
"categories": ["points"]
},
{
"name": "wstETH/swETH",
"vaultVersion": "2",
"id": "0x127ecc2318d002664cc4515c9f2b22b09b6aea85000200000000000000000602",
"categories": ["points"]
},
{
"name": "stataOptUSDT/stataOptUSDCn",
"vaultVersion": "2",
"id": "0x8bb826afc0ff7d2c034a2883f4c461ffd238e1c300020000000000000000012b",
"categories": ["points"]
},
{
"name": "stataPolUSDCn/stataPolUSDT",
"vaultVersion": "2",
"id": "0xf6394a1ebabf706eb471ff09cef357cd2ff6bd61000200000000000000000e3f",
"categories": ["points"]
},
{
"name": "wstETH/WETH",
"vaultVersion": "2",
"id": "0xd25c02e5704e87fa7ca2727730e7ca6cc733339e000200000000000000000519",
"categories": ["points"]
},
{
"name": "stataArbUSDCn/stataArbUSDT",
"vaultVersion": "2",
"id": "0x125bc5a031b2db6733bfa35d914ffa428095978b000200000000000000000514",
"categories": ["points"]
},
{
"name": "vETH/wstETH",
"vaultVersion": "2",
"id": "0xd3f8ab9c5928fdf53153e7757131ad7815fe3146000000000000000000000661",
"categories": ["lrt"]
},
{
"name": "svETH/wstETH",
"vaultVersion": "2",
"id": "0xdedb11a6a23263469567c2881a9b9f8629ee0041000000000000000000000669",
"categories": ["lrt"]
},
{
"name": "WETH/uniETH",
"vaultVersion": "2",
"id": "0xdd59f89b5b07b7844d72996fc9d83d81acc8219600000000000000000000059e",
"categories": ["lrt"]
},
{
"name": "WETH/weETH",
"vaultVersion": "2",
"id": "0xb9debddf1d894c79d2b2d09f819ff9b856fca55200000000000000000000062a",
"categories": ["lrt"]
}
]
8 changes: 8 additions & 0 deletions src/assets/data/pools/zkevm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"name": "weETH/rETH",
"vaultVersion": "2",
"id": "0xffc865fcb34e754fad4b0144139b9c28c81c3eff00000000000000000000005f",
"categories": ["lrt"]
}
]
4 changes: 1 addition & 3 deletions src/lib/config/gnosis-chain/tokenlists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const tokenlists: TokenListURLMap = {
Allowlisted:
'https://raw.githubusercontent.com/balancer/tokenlists/main/generated/balancer.tokenlist.json',
},
External: [
'https://unpkg.com/@1hive/default-token-list@latest/build/honeyswap-default.tokenlist.json',
],
External: [],
};

export default tokenlists;
Loading