From 2235e998ce4106bfd9066b7a42fd2157845598c8 Mon Sep 17 00:00:00 2001 From: stas-fi Date: Thu, 9 Jan 2025 17:39:22 +0200 Subject: [PATCH 1/2] Add links for CrossCurve xStable3 pool --- apps/main/src/hooks/usePoolAlert.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/main/src/hooks/usePoolAlert.tsx b/apps/main/src/hooks/usePoolAlert.tsx index cdea83cfe..295fa6264 100644 --- a/apps/main/src/hooks/usePoolAlert.tsx +++ b/apps/main/src/hooks/usePoolAlert.tsx @@ -184,6 +184,7 @@ const usePoolAlert = (poolAddress: string | undefined, hasVyperVulnerability: bo '0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=13&inputToken=0x0000000000000000000000000000000000000000&outputChainId=21&outputToken=0x4200000000000000000000000000000000000006' }]), // CrossCurve xWETH '0x37f5dae6039c8ec4c32ad7d3e2a07acaa55c08f9': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x37F5dae6039C8eC4c32ad7D3e2a07aCaa55C08f9&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x37F5dae6039C8eC4c32ad7D3e2a07aCaa55C08f9&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=13&inputToken=0xb7ecb2aa52aa64a717180e030241bc75cd946726&outputChainId=21&outputToken=0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf' }]), // CrossCurve xBTC '0xa3a63276b8668583e1b47b979d1093d9aaf431ee': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xa3a63276b8668583e1b47b979d1093d9aaf431ee&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xa3a63276b8668583e1b47b979d1093d9aaf431ee&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=37&inputToken=0x48065fbbe25f71c9282ddf5e1cd6d6a887483d5e&outputChainId=3&outputToken=0xc2132d05d31c914a87c6611c10748aeb04b58e8f' }]), // CrossCurve xStable2 + '0x9a5f6843c672e96c9b3c3e190b060f0809745402': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x9a5f6843c672e96c9b3c3e190b060f0809745402&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x9a5f6843c672e96c9b3c3e190b060f0809745402&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=53&inputToken=0x29219dd400f2bf60e5a23d13be72b486d4038894&outputChainId=51&outputToken=0xd988097fb8612cc24eec14542bc03424c656005f' }]), // CrossCurve xStable3 '0xabba40f628f055149f1c7415c4388363392279c3': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xabba40f628f055149f1c7415c4388363392279c3&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xabba40f628f055149f1c7415c4388363392279c3&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=51&inputToken=0x4200000000000000000000000000000000000006&outputChainId=49&outputToken=0x420000000000000000000000000000000000000a' }]), // CrossCurve xWETH2 // ethereum '0xfc89b519658967fcbe1f525f1b8f4bf62d9b9018': zunamiAlert(), From 7fcf528a797f75887ea72cf3a06b792935c4ce2e Mon Sep 17 00:00:00 2001 From: stas-fi Date: Fri, 10 Jan 2025 09:18:42 +0200 Subject: [PATCH 2/2] correct xStable3 pool address --- apps/main/src/hooks/usePoolAlert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/main/src/hooks/usePoolAlert.tsx b/apps/main/src/hooks/usePoolAlert.tsx index 295fa6264..3b5387e1b 100644 --- a/apps/main/src/hooks/usePoolAlert.tsx +++ b/apps/main/src/hooks/usePoolAlert.tsx @@ -184,7 +184,7 @@ const usePoolAlert = (poolAddress: string | undefined, hasVyperVulnerability: bo '0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x3c2fcf53f742345c5c1b3dcb2612a1949bc1f18d&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=13&inputToken=0x0000000000000000000000000000000000000000&outputChainId=21&outputToken=0x4200000000000000000000000000000000000006' }]), // CrossCurve xWETH '0x37f5dae6039c8ec4c32ad7d3e2a07acaa55c08f9': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x37F5dae6039C8eC4c32ad7D3e2a07aCaa55C08f9&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x37F5dae6039C8eC4c32ad7D3e2a07aCaa55C08f9&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=13&inputToken=0xb7ecb2aa52aa64a717180e030241bc75cd946726&outputChainId=21&outputToken=0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf' }]), // CrossCurve xBTC '0xa3a63276b8668583e1b47b979d1093d9aaf431ee': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xa3a63276b8668583e1b47b979d1093d9aaf431ee&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xa3a63276b8668583e1b47b979d1093d9aaf431ee&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=37&inputToken=0x48065fbbe25f71c9282ddf5e1cd6d6a887483d5e&outputChainId=3&outputToken=0xc2132d05d31c914a87c6611c10748aeb04b58e8f' }]), // CrossCurve xStable2 - '0x9a5f6843c672e96c9b3c3e190b060f0809745402': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x9a5f6843c672e96c9b3c3e190b060f0809745402&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x9a5f6843c672e96c9b3c3e190b060f0809745402&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=53&inputToken=0x29219dd400f2bf60e5a23d13be72b486d4038894&outputChainId=51&outputToken=0xd988097fb8612cc24eec14542bc03424c656005f' }]), // CrossCurve xStable3 + '0x15ee0d5f92fd869c2fbf26ea785e9d150353568d': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x15ee0d5f92fd869c2fbf26ea785e9d150353568d&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0x15ee0d5f92fd869c2fbf26ea785e9d150353568d&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=53&inputToken=0x29219dd400f2bf60e5a23d13be72b486d4038894&outputChainId=51&outputToken=0xd988097fb8612cc24eec14542bc03424c656005f' }]), // CrossCurve xStable3 '0xabba40f628f055149f1c7415c4388363392279c3': crossCurveAlert([{label: 'Mint s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xabba40f628f055149f1c7415c4388363392279c3&action=deposit&type=curve'}, {label: 'Redeem s-tokens', url: 'https://app.crosscurve.fi/liquidity?pool=0xabba40f628f055149f1c7415c4388363392279c3&action=withdraw&type=curve'}, {label: 'Cross-chain swap', url: 'https://app.crosscurve.fi/swap?inputChainId=51&inputToken=0x4200000000000000000000000000000000000006&outputChainId=49&outputToken=0x420000000000000000000000000000000000000a' }]), // CrossCurve xWETH2 // ethereum '0xfc89b519658967fcbe1f525f1b8f4bf62d9b9018': zunamiAlert(),