diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a86499c1e0..9d1662b420 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 diff --git a/.gitignore b/.gitignore index 4242966f71..7994124d26 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/package.json b/package.json index 5b7be8c57d..fa35c563e7 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" }, diff --git a/src/assets/data/pools/arbitrum.json b/src/assets/data/pools/arbitrum.json new file mode 100644 index 0000000000..8480600e28 --- /dev/null +++ b/src/assets/data/pools/arbitrum.json @@ -0,0 +1,8 @@ +[ + { + "name": "ezETH/wstETH", + "vaultVersion": "2", + "id": "0xb61371ab661b1acec81c699854d2f911070c059e000000000000000000000516", + "categories": ["lrt", "points"] + } +] diff --git a/src/assets/data/pools/mainnet.json b/src/assets/data/pools/mainnet.json new file mode 100644 index 0000000000..5f27ce069d --- /dev/null +++ b/src/assets/data/pools/mainnet.json @@ -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"] + } +] diff --git a/src/assets/data/pools/zkevm.json b/src/assets/data/pools/zkevm.json new file mode 100644 index 0000000000..912dbc768a --- /dev/null +++ b/src/assets/data/pools/zkevm.json @@ -0,0 +1,8 @@ +[ + { + "name": "weETH/rETH", + "vaultVersion": "2", + "id": "0xffc865fcb34e754fad4b0144139b9c28c81c3eff00000000000000000000005f", + "categories": ["lrt"] + } +] diff --git a/src/lib/config/gnosis-chain/tokenlists.ts b/src/lib/config/gnosis-chain/tokenlists.ts index bab8a53dcd..ec6d5a4d29 100644 --- a/src/lib/config/gnosis-chain/tokenlists.ts +++ b/src/lib/config/gnosis-chain/tokenlists.ts @@ -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;