From 42112df7c1d81e5ffd394b843da7ab1ef70f952f Mon Sep 17 00:00:00 2001 From: Alberto Gualis Date: Tue, 12 Dec 2023 07:08:28 +0100 Subject: [PATCH] Master into develop (#4902) * chore: Add STARV3-RETRO/67-33/StarSeeds_Protocol pool to polygon allowlist (#4755) Co-authored-by: balopco * 1.134.30 * add back pools * chore: Add STARV2-st/WMATIC(C)/60-40/StarSeeds_Protocol pool to polygon allowlist (#4757) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.134.31 * chore: Add STARV2-DAO/60-40/StarSeeds_Protocol pool to polygon allowlist (#4756) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.134.32 * 1.134.33 * chore: Add SWEEP-USDC-BPT pool to avalanche allowlist * chore: Add STARV3-M-st/MATIC(C)-WBTC-wstETH-ETH(C)/40-20x3/StarSeeds_Protocol pool to polygon allowlist (#4763) Co-authored-by: balopco * 1.134.34 * 1.135.0 * chore: Add 50DFX-50WETH pool to arbitrum allowlist * 1.135.1 * 1.135.2 * chore: Add STARV3-WBTC-WMATIC-miMATIC-WETH-oRetro/StarSeeds-Protocol pool to polygon allowlist * chore: Add STARV3-WMATIC-stMATIC-miMATIC-MaticX-csMATIC pool to polygon allowlist * chore: Add STARV3-WETH-wstETH-frxETH-xtetuBAL/StarSeeds_Protocol pool to polygon allowlist * chore: Add STARV3-oRETRO/Volume&Growth-V4/StarSeeds_Protocol pool to polygon allowlist * chore: Add STARV3-/M-tetuQi-DAO-stMATIC-wstETH-xtetuBAL/StarSeeds_Protocol pool to polygon allowlist * 1.135.3 * 1.135.4 * 1.135.5 * 1.135.6 * 1.135.7 * Add 0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d to staking pools * Update pools.ts * 1.135.8 * chore: Add STARV3-oRETRO-RETRO-liveRETRO/Exotic-V4.1/StarSeeds_Protocol pool to polygon allowlist * chore: Add 40WMATIC-40QI-20STARV2 pool to polygon allowlist * chore: Add 25WMATIC-10DAO-6WBTC-3oRETRO-8ICHI_Vault_LP-15STARV3-4xtetuBAL-BALWETH-30STARV3-M/StarSeeds_Protocol pool to polygon allowlist * 1.135.9 * 1.135.10 * 1.135.11 * chore: Add 10WMATIC-30DAO-30STEERQV297-15STARV3-15STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4788) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.12 * chore: Add 5WMATIC-4DAO-36tetuQi-18QI-5miMATIC-18vQi-4xtetuBAL-BALWETH-10STARV3-M pool to polygon allowlist (#4787) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.13 * chore: Add 3wstETH-3WMATIC-20STEER_UNIV3_VAULT_272-3WETH-50ICHI_Vault_LP-3miMATIC-12STARV3-6STARV3-M pool to polygon allowlist (#4785) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.14 * chore: Add 40WMATIC-40STEER_UNIV3_VAULT_272-20STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4783) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.15 * chore: Add 40WMATIC-40STEER_UNIV3_VAULT_272-20STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4782) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.16 * chore: Add 40WMATIC-40ICHI_Vault_LP-20STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4781) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.17 * chore: Add 50wstETH-50FOREX pool to arbitrum allowlist (#4795) Co-authored-by: balopco * 1.135.18 * chore: Add 50oRETRO-50STARV3/StarSeeds_Protocol pool to polygon allowlist (#4798) Co-authored-by: balopco * 1.135.19 * chore: Add 20WETH-80DPI pool to polygon allowlist (#4804) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.20 * chore: Add 38wstETH-3DAO-6oRETRO-44STARV3-3xtetuBAL-BALWETH-6STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4803) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.21 * chore: Add 3DAO-38WBTC-6oRETRO-44STARV3-3xtetuBAL-BALWETH-6STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4802) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.22 * chore: Add 80WMATIC-20WETH pool to polygon allowlist (#4801) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.23 * Allowlist 50wstETH-50ARB pool (#4799) * chore: Add 50wstETH-50ARB pool to arbitrum allowlist * Update pools.ts Revert arbitrum 50DFX-50WETH allowlisting --------- Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.24 * chore: Add 10wstETH-90STARV3/StarSeeds_Protocol pool to polygon allowlist (#4807) Co-authored-by: balopco * 1.135.25 * chore: Add 20ICHI_Vault_LP-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4809) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.26 * chore: Add 10WMATIC-90STARV3/StarSeeds_Protocol pool to polygon allowlist (#4805) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.27 * chore: Add 20WBTC-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4810) Co-authored-by: balopco * 1.135.28 * chore: Add 10oRETRO-90STARV3/StarSeeds_Protocol pool to polygon allowlist (#4806) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.29 * chore: Add 10WBTC-90STARV3/StarSeeds_Protocol pool to polygon allowlist (#4808) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.135.30 * chore: Add 20oRETRO-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4811) Co-authored-by: balopco * 1.135.31 * chore: Add 20tetuQi-80STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4812) Co-authored-by: balopco * 1.135.32 * chore: Add 20QI-80STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4813) Co-authored-by: balopco Co-authored-by: Gareth Fuller * 1.135.33 * chore: Add 20TETU-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4814) Co-authored-by: balopco Co-authored-by: Gareth Fuller * 1.135.34 * chore: Add 80STARV3-20FBX/StarSeeds_Protocol pool to polygon allowlist (#4815) Co-authored-by: balopco Co-authored-by: Gareth Fuller * 1.135.35 * 1.136.0 (#4816) * chore: Add 20vQi-80STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4820) Co-authored-by: balopco * 1.136.1 * chore: Add 20WETH-80MIMO pool to polygon allowlist (#4821) Co-authored-by: balopco * 1.136.2 * chore: Add 80STARV3-20liveRetro/StarSeeds_Protocol pool to polygon allowlist (#4822) Co-authored-by: balopco * 1.136.3 * chore: Add 20JRT-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4823) Co-authored-by: balopco * 1.136.4 * chore: Add 35WMATIC-35oRETRO-30STARV/StarSeeds_Protocol3 pool to polygon allowlist (#4824) Co-authored-by: balopco * 1.136.5 * chore: Add 33COIN-33GOLD-33WETH pool to base allowlist (#4827) Co-authored-by: balopco * 1.136.6 * chore: Add 80STARV3-20RETRO/StarSeeds_Protocol pool to polygon allowlist (#4828) Co-authored-by: balopco * 1.136.7 * chore: Add 12WMATIC-8WBTC-16oRETRO-8WETH-5miMATIC-30STARV3-5liveRetro-16STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4826) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.8 * chore: Add 20DYST-80STARV3/StarSeeds_Protocol pool to polygon allowlist (#4818) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.9 * chore: Add 50OCEAN-50WETH pool to ethereum allowlist (#4829) Co-authored-by: balopco * 1.136.10 * chore: Bump SDK (#4830) * 1.136.11 * chore: Add 50RSR-50WETH pool to ethereum allowlist (#4840) Co-authored-by: balopco * 1.136.12 * chore: Add 50VEUR-50WAVAX pool to avalanche allowlist (#4839) Co-authored-by: balopco * 1.136.13 * chore: Add 8AURA-8BAL-33GOLD-50COIN pool to base allowlist (#4833) Co-authored-by: balopco * 1.136.14 * chore: Add 8WMATIC-92STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4834) Co-authored-by: balopco * 1.136.15 * chore: Add 40DFX-20USDC-40TEL pool to polygon allowlist (#4841) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.16 * chore: Add 12DAO-44STARV3-44STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4838) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.17 * chore: Add 12WETH-88STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4837) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.18 * chore: Add 50BAL/50WAVAX pool to avalanche allowlist (#4842) Co-authored-by: balopco * 1.136.19 * chore: Add 90STARV3-10csMATIC/StarSeeds_Protocol pool to polygon allowlist (#4844) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.20 * chore: Add 90STARV3-10MaticX/StarSeeds_Protocol pool to polygon allowlist (#4843) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.21 * chore: Add 30stMATIC-10SP-60STARV2/StarSeeds_Protocol pool to polygon allowlist (#4865) Co-authored-by: balopco * 1.136.22 * chore: Add 50mkUSD-50PRISMA pool to ethereum allowlist (#4864) Co-authored-by: balopco * 1.136.23 * chore: Add 80WBTC-20ICHI_Vault_LP pool to polygon allowlist (#4863) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.24 * chore: Add 90SP-10STARV3/StarSeeds_Protocol pool to polygon allowlist (#4860) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.25 * chore: Add 80mooCompoundPolygonUSDC-20ICHI_Vault_LP pool to polygon allowlist (#4862) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.26 * chore: Add 50DAO-50SP/StarSeeds_Protocol pool to polygon allowlist (#4856) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.27 * chore: Add 80SP-20miMATIC/StarSeeds_Protocol pool to polygon allowlist (#4854) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.28 * chore: Add 6.84oRETRO-93.16STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4835) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.29 * chore: Add 16oRETRO-84STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4836) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.30 * chore: Add 10WMATIC-90SP/StarSeeds_Protocol pool to polygon allowlist (#4845) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.31 * chore: Add 10oRETRO-90SP/StarSeeds_Protocol pool to polygon allowlist (#4846) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.32 * chore: Add 50SP-50STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4847) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.33 * chore: Add 90SP-10ICHI_Vault_LP/StarSeeds_Protocol pool to polygon allowlist (#4848) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.34 * chore: Add 80SP-20STARV3/StarSeeds_Protocol pool to polygon allowlist (#4849) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.35 * chore: Add 67SP-33iBSTARV3/StarSeeds_Protocol pool to polygon allowlist (#4852) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.36 * chore: Add 50iBSTARV3-50STARV3/StarSeeds_Protocol pool to polygon allowlist (#4850) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.37 * chore: Add 90iBSTARV3-10MaticX/StarSeeds_Protocol pool to polygon allowlist (#4851) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.38 * chore: Add 50SP-50STARV2/StarSeeds_Protocol pool to polygon allowlist (#4853) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.39 * chore: Add 90SP-10MaticX/StarSeeds_Protocol pool to polygon allowlist (#4855) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.40 * chore: Add 80MIMO-20WETH pool to ethereum allowlist (#4859) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.41 * Hotfix: add addresses to blocklist (#4874) * 1.136.42 * chore: Add WMATIC-WBTC-USDC-oRETRO-SP-WETH-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4867) Co-authored-by: balopco * 1.136.43 * chore: Add 50GNO-50WXDAI pool to gnosis-chain allowlist (#4869) Co-authored-by: balopco * 1.136.44 * chore: Add 30USDbC-70WELL pool to base allowlist (#4893) Co-authored-by: balopco * 1.136.45 * chore: Add 50QI-50WETH pool to polygon allowlist (#4894) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.46 * chore: Add 16WBTC-84STARV3-M/StarSeeds_Protocol pool to polygon allowlist (#4870) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.47 * chore: Add wstETH-DAO-oRETRO-stMATIC-SP-STARV3(-M)-xtetuBAL/StarSeeds_Protocol pool to polygon allowlist (#4872) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.48 * chore: Add SP-wstETH-FBX-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4878) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.49 * chore: Add WCASH-USDC-oRETRO-SP-mooCompoundPolygonUSDC-miMATIC-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4875) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.50 * chore: Add oRETRO-SP-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4873) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.51 * chore: Add WMATIC-SP-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4876) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.52 * chore: Add stMATIC-SP-STARV3(-M)/StarSeeds_Protocol pool to polygon allowlist (#4877) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.53 * chore: Add 16oRETRO-84STARV3/StarSeeds_Protocol pool to polygon allowlist (#4880) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.54 * chore: Add WBTC-STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4882) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.55 * chore: Add 16GHST-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4892) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.56 * chore: Add 16BAL-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4887) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.57 * chore: Add 16miMATIC-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4886) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.58 * chore: Add 16LINK-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4888) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.59 * chore: Add 16WETH-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4883) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.60 * chore: Add 16tetuBAL-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4889) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.61 * chore: Add 84STARV3-16TEL/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4891) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.62 * chore: Add 16mooCompoundPolygonUSDC-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4885) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.63 * chore: Add 16WMATIC-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4884) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.64 * chore: Add 16RBW-84STARV3/Volume-V5/StarSeeds_Protocol pool to polygon allowlist (#4890) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.65 * chore: Add 50WCASH-50stMATIC/StarSeeds_Protocol pool to polygon allowlist (#4879) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.136.66 * 1.137.0 * Add catch to avoid flaky tests * chore: Add 80mooBalancer jEUR-PAR-20ICHI_Vault_LP pool to polygon allowlist * 1.137.1 * chore: Add 16WMATIC-8oRETRO-52SP-16WETH-8miMATIC/V.G3/StarSeeds_Protocol pool to polygon allowlist (#4901) Co-authored-by: balopco * 1.137.2 * chore: Add 50BAL-50ARB pool to arbitrum allowlist (#4898) Co-authored-by: balopco * 1.137.3 * chore: Add 1BAL-99USDT pool to polygon allowlist (#4899) Co-authored-by: balopco Co-authored-by: Alberto Gualis * 1.137.4 * Reverts allowlisting of 50WETH-50USDbC in base (#4866) * 1.137.5 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: balopco Co-authored-by: Automated Version Bump Co-authored-by: BIP Bot Co-authored-by: Zen-Maxi <85650601+Zen-Maxi@users.noreply.github.com> Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com> Co-authored-by: Gareth Fuller --- package-lock.json | 4 +- package.json | 2 +- src/constants/blocked.ts | 16 +++++- src/lib/config/arbitrum/pools.ts | 1 + src/lib/config/avalanche/pools.ts | 2 + src/lib/config/base/pools.ts | 3 +- src/lib/config/gnosis-chain/pools.ts | 1 + src/lib/config/mainnet/pools.ts | 3 ++ src/lib/config/polygon/pools.ts | 49 +++++++++++++++++++ .../subgraph/entities/poolShares/index.ts | 11 +++-- 10 files changed, 84 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f32b890cf..e3442323be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@balancer/frontend-v2", - "version": "1.136.10", + "version": "1.137.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@balancer/frontend-v2", - "version": "1.136.10", + "version": "1.137.5", "license": "MIT", "devDependencies": { "@aave/protocol-js": "^4.3.0", diff --git a/package.json b/package.json index ced3afda3b..32f3b3ef7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@balancer/frontend-v2", - "version": "1.136.10", + "version": "1.137.5", "engines": { "node": "=16", "npm": ">=8" diff --git a/src/constants/blocked.ts b/src/constants/blocked.ts index 8830be58f9..5dfa3a844a 100644 --- a/src/constants/blocked.ts +++ b/src/constants/blocked.ts @@ -1,5 +1,5 @@ -// SDN OFAC addresses export const BLOCKED_ADDRESSES: string[] = [ + // SDN OFAC addresses '0x7Db418b5D567A4e0E8c59Ad71BE1FcE48f3E6107', '0x72a5843cc08275C8171E582972Aa4fDa8C397B2A', '0x7F19720A857F834887FC9A7bC0a0fBe7Fc7f8102', @@ -15,4 +15,18 @@ export const BLOCKED_ADDRESSES: string[] = [ '0x8576aCC5C05D6Ce88f4e49bf65BdF0C62F91353C', '0xC8a65Fadf0e0dDAf421F28FEAb69Bf6E2E589963', '0x308eD4B7b49797e1A98D3818bFF6fe5385410370', + // END SDN OFAC addresses + // kyberswap exploit + '0xa423C7Be031E988B25fb7Ec39b7906582f6858c6', + '0xc0f9c4B3d29a522140F3002972a7D07d7566E296', + '0x50275E0B7261559cE1644014d4b78D4AA63BE836', + '0xC9B826BAD20872EB29f9b1D8af4BefE8460b50c6', + '0x4Ea83653eceA38B51730c14776698E19f5ca6e65', + '0xa423C7Be031E988B25fb7Ec39b7906582f6858c6', + '0xc0f9c4B3d29a522140F3002972a7D07d7566E296', + '0xd3a7e3c5602f8a66b58dc17ce33f739efac33da2', + '0x98d69d3eA5F7E03098400A5BEdFBE49F2B0B88D3', + '0x5E42DD64266C3852cad3d294f71b171459Cf0a48', + '0x84E66f86C28502C0fC8613e1D9CbBEd806F7Adb4', + // END kyberswap exploit ]; diff --git a/src/lib/config/arbitrum/pools.ts b/src/lib/config/arbitrum/pools.ts index 8545219c3c..8ab6376d0d 100644 --- a/src/lib/config/arbitrum/pools.ts +++ b/src/lib/config/arbitrum/pools.ts @@ -143,6 +143,7 @@ const pools: Pools = { '0x9f8ed1acfe0c863381b9081aff2144fc867aa7730002000000000000000004d4', // 50ANKR/50ankrETH '0x04d701603388b280e7761b766c9494b6907a5e400002000000000000000004d8', // 50wstETH-50ARB '0x2f113ec227fb9c46594a62c755c6dfa6b111e3e70002000000000000000004d7', // 50wstETH-50FOREX + '0xb01df7b9337c9264b2e60afc08946975b8fd010f0002000000000000000004db', // 50BAL-50ARB ], }, Factories: { diff --git a/src/lib/config/avalanche/pools.ts b/src/lib/config/avalanche/pools.ts index 086ddfa8ea..1bca0a6ef4 100644 --- a/src/lib/config/avalanche/pools.ts +++ b/src/lib/config/avalanche/pools.ts @@ -59,6 +59,8 @@ const pools: Pools = { '0xb10968b6ca2ea1c25d392a9a990559ed3f686861000200000000000000000028', // 80WAVAX-20USDC '0xab567c27450e3fa1b4ee4e67ca7d1003c49e7ea800020000000000000000002b', // 93BTC.b-7USDC '0x28f3a9e42667519c83cb090b5c4f6bd34e9f5569000200000000000000000031', // LP-VEUR-USDC + '0x111440768a7e23b94f3771d1deaa33b10e05d3fd000200000000000000000036', // 50VEUR-50WAVAX + '0x516db57bac67fcb68f26c885eacc4e842bd4cf5b000200000000000000000037', // 50BAL/50WAVAX ], }, Factories: { diff --git a/src/lib/config/base/pools.ts b/src/lib/config/base/pools.ts index e47c7a0def..128458d659 100644 --- a/src/lib/config/base/pools.ts +++ b/src/lib/config/base/pools.ts @@ -141,9 +141,10 @@ const pools: Pools = { '0xfb7c21f274139011dab38898ba66401d111144350002000000000000000000c3', // 50DAI-50USDC '0xc876db69ab7e24a3364017f0b67152c85003a6240002000000000000000000c4', // 50cbETH-50WETH '0x6aefce8ff88dcc04e201964e9312cdbe446578710002000000000000000000c5', // 50USDC-50USDbC - '0x8838ae3f3c0f21afb765c88934330d39067aa1bb0002000000000000000000c7', // 50WETH-50USDbC '0x9bf1597a7308cb6f15b9379b7273f19ec88eec0d0002000000000000000000c6', // 50USDbC-50STG '0x317ab8cae8bbdae8df2a5f325a3ed80aa0da49880001000000000000000000cd', // 33COIN-33GOLD-33WETH + '0x2650d8d8167faa125a9156d533703a2af5d9f4e10001000000000000000000ce', // 8AURA-8BAL-33GOLD-50COIN + '0x43037cb21cf259efa87febb844cc1179c13f8efc0002000000000000000000d1', // 30USDbC-70WELL ], }, Factories: { diff --git a/src/lib/config/gnosis-chain/pools.ts b/src/lib/config/gnosis-chain/pools.ts index 7f50e9a815..e708fc1416 100644 --- a/src/lib/config/gnosis-chain/pools.ts +++ b/src/lib/config/gnosis-chain/pools.ts @@ -74,6 +74,7 @@ const pools: Pools = { '0x69e1cf7c9da9ab008920ece7a31aa9d83f5ff7ad000200000000000000000069', // 50crvUSD-50EURe '0xe6098b5511b36134717e678658a658104a7f70f000020000000000000000006b', // EURe/crvUSD '0x81a22596001f64d4ecdd0f6cd2793d1dacf7dfb300020000000000000000006f', // 50AGVE-50sDAI + '0x92a3be6ce4cd693af08756fd71ee23bb60a97c61000200000000000000000074', // 50GNO-50WXDAI ], }, Factories: { diff --git a/src/lib/config/mainnet/pools.ts b/src/lib/config/mainnet/pools.ts index eb294b66e0..c6f26df842 100644 --- a/src/lib/config/mainnet/pools.ts +++ b/src/lib/config/mainnet/pools.ts @@ -244,6 +244,9 @@ const pools: Pools = { '0xb986fd52697f16be888bfad2c5bf12cd67ce834b000200000000000000000634', // stADS '0x82e80ce9d4890baf288b70ac548aa256599bf044000200000000000000000619', // 80MEVETH/20FOLD '0x470581ca95c071728e85a6e28a5b1754cd489be200020000000000000000063c', // 50OCEAN-50WETH + '0x771fbbfcbd8ba252f7f1ee47c1a486bdb0b5bc6200020000000000000000063d', // 50RSR-50WETH + '0xee3959fd00a0b996d801fc34b7ce566bd037f5f500020000000000000000063e', // 80MIMO-20WETH + '0x6055689f452d2f9d86945f3597e1d47ee819254d000200000000000000000640', // 50mkUSD-50PRISMA ], }, Factories: { diff --git a/src/lib/config/polygon/pools.ts b/src/lib/config/polygon/pools.ts index 4707386620..5c5e3e7e90 100644 --- a/src/lib/config/polygon/pools.ts +++ b/src/lib/config/polygon/pools.ts @@ -325,6 +325,55 @@ const pools: Pools = { '0xb1cdf7dfe2076ffc722568e94aba7cf486928d9e000100000000000000000cfe', // 35WMATIC-35oRETRO-30STARV/StarSeeds_Protocol3 '0x749bc036967cfd017e5475da2eb4c8b2188ad951000100000000000000000cff', // 12WMATIC-8WBTC-16oRETRO-8WETH-5miMATIC-30STARV3-5liveRetro-16STARV3-M/StarSeeds_Protocol '0x1fe67acef14b51a70b54d4eacc950b6c143c4527000200000000000000000d00', // 80STARV3-20RETRO/StarSeeds_Protocol + '0xee6b0935fdf581e591a93d5d2e2448b518e631d0000200000000000000000d14', // 90SP-10MaticX/StarSeeds_Protocol + '0x3557eb12eb5936172b098d20f7a14c472e7d0bdf000200000000000000000d12', // 50SP-50STARV2/StarSeeds_Protocol + '0x58fc10a903ab6780598378d280b3c778ec171cb9000200000000000000000d10', // 90iBSTARV3-10MaticX/StarSeeds_Protocol + '0x2e1924000f3821e29430c2d73591ef3a75af7970000200000000000000000d0f', // 50iBSTARV3-50STARV3/StarSeeds_Protocol + '0xecc529860084aad5976568e3a571eaf093e875d7000200000000000000000d11', // 67SP-33iBSTARV3/StarSeeds_Protocol + '0x17fe4b9395e1171e12a8e1204f333a57caca01c1000200000000000000000d0e', // 80SP-20STARV3/StarSeeds_Protocol + '0xd56ddd6c3597e2954cee8aa7d0a2999ea54fff1e000200000000000000000d0d', // 90SP-10ICHI_Vault_LP/StarSeeds_Protocol + '0x4938d6a9bf4800c0d2406c9e3af019c824f1e99c000200000000000000000d0c', // 50SP-50STARV3-M/StarSeeds_Protocol + '0xf7379614925685c5d5c4710f918b8473cadeae14000200000000000000000d0b', // 10oRETRO-90SP/StarSeeds_Protocol + '0x5f215d9034c38a01fbade4c1b864c4a3d9e0f48e000200000000000000000d0a', // 10WMATIC-90SP/StarSeeds_Protocol + '0x0c6bad275868f65a8bb2dd6bef292a5c32b74667000200000000000000000d04', // 16oRETRO-84STARV3-M/StarSeeds_Protocol + '0x128e46e6a6aa282a3ef995317403a211ac02bbd3000200000000000000000d03', // 6.84oRETRO-93.16STARV3-M/StarSeeds_Protocol + '0xbc01f6f0df116c8e624935dc318ae9655c6f3dc0000200000000000000000d13', // 80SP-20miMATIC/StarSeeds_Protocol + '0x763f96e09e77518b82108ba9d8cd014467813157000200000000000000000d15', // 50DAO-50SP/StarSeeds_Protocol + '0x1fed618d1d7fa27970d927cc93f3d21e60f34b88000200000000000000000d16', // 90SP-10STARV3/StarSeeds_Protocol + '0xbbaaa66e8df3a6427f68145f3e0713ed61b52a41000200000000000000000d08', // 90STARV3-10MaticX/StarSeeds_Protocol + '0x35b75c5a12420ed11487a7fd6e21a545650068f2000200000000000000000d09', // 90STARV3-10csMATIC/StarSeeds_Protocol + '0x4766d4e0099adce50d2754d38b03514d45facce0000200000000000000000d05', // 12WETH-88STARV3-M/StarSeeds_Protocol + '0xcb9f21caca820dfc342a114b46d3dc18253c0532000100000000000000000d06', // 12DAO-44STARV3-44STARV3-M/StarSeeds_Protocol + '0xc260f3c5a57caf193d1813d8fd0a02442073d6fa000100000000000000000d07', // 40DFX-20USDC-40TEL + '0xedf5dabf96a06f5828263cf7e27915a58e3a9d7f000200000000000000000d02', // 8WMATIC-92STARV3-M/StarSeeds_Protocol + '0x30aeac2ed5dcb59ed02c1218f88924ef1309d754000200000000000000000d17', // 80mooCompoundPolygonUSDC-20ICHI_Vault_LP + '0x4e8c97baa6777ae00ed3fe1acb4dd54fb8fe19c5000200000000000000000d18', // 80WBTC-20ICHI_Vault_LP + '0xda1503426f6cd9ebbab2964106f42b35c745d453000100000000000000000d19', // 30stMATIC-10SP-60STARV2/StarSeeds_Protocol + '0x2493eedcc5a531480f94b9a8956e4d674f1b23b9000200000000000000000d27', // 50WCASH-50stMATIC/StarSeeds_Protocol + '0x89c0e0991c2b0dd35dbb91ee972ddda7d225015b000200000000000000000d32', // 16RBW-84STARV3/Volume-V5/StarSeeds_Protocol + '0x6ef8d440bb825f64b85cd4feb0b70636a29ef6b3000200000000000000000d2c', // 16WMATIC-84STARV3/Volume-V5/StarSeeds_Protocol + '0xe605370fb09d841e114367f21381e5b8cfd2a28b000200000000000000000d2d', // 16mooCompoundPolygonUSDC-84STARV3/Volume-V5/StarSeeds_Protocol + '0x117d4934272eb3e28b80a7d8b4227b32cabdcb1a000200000000000000000d33', // 84STARV3-16TEL/Volume-V5/StarSeeds_Protocol + '0xf91c7dcba22757ba10ebd1245a837700d66641cc000200000000000000000d31', // 16tetuBAL-84STARV3/Volume-V5/StarSeeds_Protocol + '0x51b52d8a6fa6f761fdb115b1b7dd78fac2b0cc5f000200000000000000000d2b', // 16WETH-84STARV3/Volume-V5/StarSeeds_Protocol + '0xa9d2bdb4307b1a65854b22ed51d46c202308e43e000200000000000000000d30', // 16LINK-84STARV3/Volume-V5/StarSeeds_Protocol + '0xa81864a7a20c813a9ca4bcf828745682c596a7aa000200000000000000000d2e', // 16miMATIC-84STARV3/Volume-V5/StarSeeds_Protocol + '0x016f6004f6081e935a330832dfd05514c43b8534000200000000000000000d2f', // 16BAL-84STARV3/Volume-V5/StarSeeds_Protocol + '0xf9d52b458ad70e8c61ac96915cffa51d62549bfb000200000000000000000d34', // 16GHST-84STARV3/Volume-V5/StarSeeds_Protocol + '0x450a401a2c1b174775b6848acfe1faa45a44518e000200000000000000000d2a', // WBTC-STARV3/Volume-V5/StarSeeds_Protocol + '0x3c4c55db89b1411d978a4dfb0fe563aaa91e9cac000200000000000000000d28', // 16oRETRO-84STARV3/StarSeeds_Protocol + '0x63376dd1ace0b06117acff556a2ab515636568a0000100000000000000000d25', // stMATIC-SP-STARV3(-M)/StarSeeds_Protocol + '0xf9cc17cb43c9e29916a12c986fda58a45c911abd000100000000000000000d24', // WMATIC-SP-STARV3(-M)/StarSeeds_Protocol + '0x012b18da3f53aca8d36f7c2212445b29614ff1b5000100000000000000000d22', // oRETRO-SP-STARV3(-M)/StarSeeds_Protocol + '0xcb78065d1593dde50a347d23b75595b5c26d34bc000100000000000000000d23', // WCASH-USDC-oRETRO-SP-mooCompoundPolygonUSDC-miMATIC-STARV3(-M)/StarSeeds_Protocol + '0x1e087a0fcfbeb9dd3487728d3fefafb22a65b660000100000000000000000d26', // SP-wstETH-FBX-STARV3(-M)/StarSeeds_Protocol + '0xa4da55ea14652a7db35c6584cd392e31aeb09141000100000000000000000d21', // wstETH-DAO-oRETRO-stMATIC-SP-STARV3(-M)-xtetuBAL/StarSeeds_Protocol + '0x6312884d02cee5b797bef80389472413354518bb000200000000000000000d20', // 16WBTC-84STARV3-M/StarSeeds_Protocol + '0xc76df676b10beabe8d730be74c950b030969cd82000200000000000000000d35', // 50QI-50WETH + '0xe2eeb77b6f149fabcf8d64485ec14ad302d7e709000100000000000000000d1b', // WMATIC-WBTC-USDC-oRETRO-SP-WETH-STARV3(-M)/StarSeeds_Protocol + '0xf655d9280ad6f3d564675e10cc3aee33e6bb898b000200000000000000000d36', // 80mooBalancer jEUR-PAR-20ICHI_Vault_LP + '0xc38718d8ab36d6afb908cc99b67f728dfef18c1b000200000000000000000d37', // 1BAL-99USDT + '0x29eaf134a98442044e3765fef60ca67552099ead000100000000000000000d39', // 16WMATIC-8oRETRO-52SP-16WETH-8miMATIC/V.G3/StarSeeds_Protocol ], }, Factories: { diff --git a/src/services/balancer/subgraph/entities/poolShares/index.ts b/src/services/balancer/subgraph/entities/poolShares/index.ts index a67d03aeb9..fc2893b4ca 100644 --- a/src/services/balancer/subgraph/entities/poolShares/index.ts +++ b/src/services/balancer/subgraph/entities/poolShares/index.ts @@ -15,8 +15,13 @@ export default class PoolShares { public async get(args = {}, attrs = {}): Promise { const queryName = 'PoolShares'; - const query = this.query(args, attrs, queryName); - const data = await this.service.client.get(query); - return data.poolShares; + try { + const query = this.query(args, attrs, queryName); + const data = await this.service.client.get(query); + return data.poolShares; + } catch (error: unknown) { + console.error('Unexpected error in PoolShares query: ', error); + return []; + } } }