From f34653d21ca22963d22c660af398d80a62577bbc Mon Sep 17 00:00:00 2001 From: Nenad Vracar <34926005+nenadV91@users.noreply.github.com> Date: Thu, 31 Mar 2022 17:14:18 +0200 Subject: [PATCH] [Hotfix :fire: ] - 1.12.8 (#2628) * 1.12.4 * Fix FAQ pages (#2621) * Fix FAQ pages * Fix content and const links Co-authored-by: fairlight <31534717+fairlighteth@users.noreply.github.com> --- src/custom/constants/index.ts | 8 ++ src/custom/pages/About/index.tsx | 11 +- src/custom/pages/Faq/GeneralFaq.tsx | 162 ---------------------------- src/custom/pages/Faq/index.tsx | 50 +++++---- 4 files changed, 38 insertions(+), 193 deletions(-) delete mode 100644 src/custom/pages/Faq/GeneralFaq.tsx diff --git a/src/custom/constants/index.ts b/src/custom/constants/index.ts index a33776146..63264bca6 100644 --- a/src/custom/constants/index.ts +++ b/src/custom/constants/index.ts @@ -100,6 +100,14 @@ export const CODE_LINK = 'https://github.com/gnosis/gp-swap-ui' export const DISCORD_LINK = 'https://chat.cowswap.exchange' export const DUNE_DASHBOARD_LINK = 'https://duneanalytics.com/gnosis.protocol/Gnosis-Protocol-V2' export const TWITTER_LINK = 'https://twitter.com/mevprotection' +export const GPAUDIT_LINK = 'https://github.com/gnosis/gp-v2-contracts/blob/main/audits/GnosisProtocolV2May2021.pdf' +export const FLASHBOYS_LINK = 'https://arxiv.org/abs/1904.05234' +export const COWWIKI_LINK = 'https://en.wikipedia.org/wiki/Coincidence_of_wants' +export const GNOSIS_FORUM_ROADTODECENT_LINK = 'https://forum.gnosis.io/t/gpv2-road-to-decentralization/1245' + +// MEV Metrics from https://explore.flashbots.net/ +export const MEV_TOTAL = '606 Million' +export const FLASHBOTS_LINK = 'https://explore.flashbots.net/' // 30 minutes export const GAS_PRICE_UPDATE_THRESHOLD = 30 * 60 * 1000 diff --git a/src/custom/pages/About/index.tsx b/src/custom/pages/About/index.tsx index 55a73a9e8..ceacdd92a 100644 --- a/src/custom/pages/About/index.tsx +++ b/src/custom/pages/About/index.tsx @@ -2,6 +2,7 @@ import Page, { Title, Content, GdocsListStyle } from 'components/Page' import styled from 'styled-components/macro' import { Link } from 'react-router-dom' import { ExternalLink as ExternalLinkTheme } from 'theme' +import { MEV_TOTAL, FLASHBOTS_LINK } from 'constants/index' // Assets import diagramIMG from 'assets/cow-swap/cowswap-diagram.png' @@ -44,7 +45,7 @@ export default function About() {

Every time you and another trader each hold an asset the other wants, your trade is settled directly without using an AMM (Automated Market Maker) and therefore without incurring any slippage + fees. Only amounts that - can’t be settled with other CowSwap traders are sent to the underlying AMMs. + can't be settled with other CowSwap traders are sent to the underlying AMMs.

This economic phenomenon is known as Coincidence Of Wants (CoW). @@ -63,7 +64,7 @@ export default function About() {

You sign a trade message which is submitted to CowSwap’s off-chain service

  • -

    CowSwap’s off-chain service optimizes your trade’s execution by considering:

    +

    CowSwap's off-chain service optimizes your trade's execution by considering: