From d74569f96d67c2c2c4a56f0da8a326ae0a271202 Mon Sep 17 00:00:00 2001 From: defi-moses Date: Fri, 6 Dec 2024 16:48:37 +0000 Subject: [PATCH 1/7] adding syn token to docs --- docs/bridge/docs/01-About/04-$SYN.md | 22 +++++++++++++++++ docs/bridge/docs/05-Contracts/09-SYN.md | 32 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 docs/bridge/docs/01-About/04-$SYN.md create mode 100644 docs/bridge/docs/05-Contracts/09-SYN.md diff --git a/docs/bridge/docs/01-About/04-$SYN.md b/docs/bridge/docs/01-About/04-$SYN.md new file mode 100644 index 0000000000..50d011cf2e --- /dev/null +++ b/docs/bridge/docs/01-About/04-$SYN.md @@ -0,0 +1,22 @@ +--- +title: $SYN Token +--- + +# $SYN Token + +$SYN is the governance token for the Synapse Protocol. + + +Liquidity for the $SYN token can be found here: + +| Venue | Link | +|-----------|----------------------------------------------| +| Coinbase | `https://www.coinbase.com/price/synapse` [↗](https://www.coinbase.com/price/synapse) | +| Sushi | `https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31` [↗](https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31) | +| Revolut | `https://www.revolut.com/crypto/price/syn` [↗](https://www.revolut.com/crypto/price/syn) | +| Binance | `https://www.binance.com/en/price/synapse-2` [↗](https://www.binance.com/en/price/synapse-2) | +| Bybit | `https://www.bybit.com/en/coin-price/synapse-2/` [↗](https://www.bybit.com/en/coin-price/synapse-2/) | + +
+ +All $SYN token addresses can be found [here](/docs/bridge/docs/05-Contracts/09-SYN). diff --git a/docs/bridge/docs/05-Contracts/09-SYN.md b/docs/bridge/docs/05-Contracts/09-SYN.md new file mode 100644 index 0000000000..565213b5e4 --- /dev/null +++ b/docs/bridge/docs/05-Contracts/09-SYN.md @@ -0,0 +1,32 @@ +--- +title: $SYN Token +--- + +:::note This list may be incomplete + +The canonical list is hosted within the SynapseCNS on [Github](https://github.com/synapsecns/synapse-contracts). + +::: + +# $SYN + +| Chain | Address | +|-----------|----------------------------------------------| +| Arbitrum | `0x080f6aed32fc474dd5717105dba5ea57268f46eb` [↗](https://arbiscan.io/address/0x080f6aed32fc474dd5717105dba5ea57268f46eb) | +| Aurora | `0xd80d8688b02B3FD3afb81cDb124F188BB5aD0445` [↗](https://explorer.mainnet.aurora.dev/address/0xd80d8688b02B3FD3afb81cDb124F188BB5aD0445) | +| Avalanche | `0x1f1E7c893855525b303f99bDF5c3c05Be09ca251` [↗](https://snowscan.xyz/address/0x1f1E7c893855525b303f99bDF5c3c05Be09ca251) | +| Base | `0x432036208d2717394d2614d6697c46DF3Ed69540` [↗](https://basescan.org/address/0x432036208d2717394d2614d6697c46DF3Ed69540) | +| Blast | `0x9592f08387134e218327E6E8423400eb845EdE0E` [↗](https://blastscan.io/address/0x9592f08387134e218327E6E8423400eb845EdE0E) | +| Boba | `0xb554A55358fF0382Fb21F0a478C3546d1106Be8c` [↗](https://blockexplorer.boba.network/address/0xb554A55358fF0382Fb21F0a478C3546d1106Be8c) | +| BSC | `0xa4080f1778e69467e905b8d6f72f6e441f9e9484` [↗](https://bscscan.com/address/0xa4080f1778e69467e905b8d6f72f6e441f9e9484) | +| Canto | `0x555982d2E211745b96736665e19D9308B615F78e` [↗](https://canto.dex.guru/address/0x555982d2E211745b96736665e19D9308B615F78e) | +| Cronos | `0xFD0F80899983b8D46152aa1717D76cba71a31616` [↗](https://cronos.org/explorer/address/0xFD0F80899983b8D46152aa1717D76cba71a31616) | +| DFK Chain | `0xB6b5C854a8f71939556d4f3a2e5829F7FcC1bf2A` [↗](https://dfkchain.com/address/0xB6b5C854a8f71939556d4f3a2e5829F7FcC1bf2A) | +| Ethereum | `0x0f2D719407FdBeFF09D87557AbB7232601FD9F29` [↗](https://etherscan.io/address/0x0f2D719407FdBeFF09D87557AbB7232601FD9F29) | +| Fantom | `0xE55e19Fb4F2D85af758950957714292DAC1e25B2` [↗](https://ftmscan.com/address/0xE55e19Fb4F2D85af758950957714292DAC1e25B2) | +| Harmony | `0xE55e19Fb4F2D85af758950957714292DAC1e25B2` [↗](https://explorer.harmony.one/address/0xE55e19Fb4F2D85af758950957714292DAC1e25B2) | +| Metis | `0x67c10c397dd0ba417329543c1a40eb48aaa7cd00` [↗](https://andromeda-explorer.metis.io/address/0x67c10c397dd0ba417329543c1a40eb48aaa7cd00) | +| Moonbeam | `0xF44938b0125A6662f9536281aD2CD6c499F22004` [↗](https://moonbeam.moonscan.io/address/0xF44938b0125A6662f9536281aD2CD6c499F22004) | +| Moonriver | `0xd80d8688b02B3FD3afb81cDb124F188BB5aD0445` [↗](https://moonriver.moonscan.io/address/0xd80d8688b02B3FD3afb81cDb124F188BB5aD0445) | +| Optimism | `0x5A5fFf6F753d7C11A56A52FE47a177a87e431655` [↗](https://optimistic.etherscan.io/address/0x5A5fFf6F753d7C11A56A52FE47a177a87e431655) | +| Polygon | `0xf8f9efc0db77d8881500bb06ff5d6abc3070e695` [↗](https://polygonscan.com/address/0xf8f9efc0db77d8881500bb06ff5d6abc3070e695) | From 1419addb4ea7488a8566b61a9ae64b407bbd1532 Mon Sep 17 00:00:00 2001 From: defi-moses Date: Fri, 6 Dec 2024 17:15:19 +0000 Subject: [PATCH 2/7] fe changes as well --- docs/bridge/docs/01-About/04-$SYN.md | 22 ------------------ docs/bridge/docs/01-About/04-SYN.md | 23 +++++++++++++++++++ .../layouts/LandingPageWrapper/index.tsx | 6 ++--- .../synapse-interface/constants/routes.ts | 8 +++---- .../constants/urls/index.tsx | 1 + packages/synapse-interface/messages/ar.json | 1 + .../synapse-interface/messages/en-US.json | 3 ++- packages/synapse-interface/messages/es.json | 3 ++- packages/synapse-interface/messages/fr.json | 3 ++- packages/synapse-interface/messages/jp.json | 3 ++- packages/synapse-interface/messages/tr.json | 3 ++- .../synapse-interface/messages/zh-CN.json | 3 ++- 12 files changed, 44 insertions(+), 35 deletions(-) delete mode 100644 docs/bridge/docs/01-About/04-$SYN.md create mode 100644 docs/bridge/docs/01-About/04-SYN.md diff --git a/docs/bridge/docs/01-About/04-$SYN.md b/docs/bridge/docs/01-About/04-$SYN.md deleted file mode 100644 index 50d011cf2e..0000000000 --- a/docs/bridge/docs/01-About/04-$SYN.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: $SYN Token ---- - -# $SYN Token - -$SYN is the governance token for the Synapse Protocol. - - -Liquidity for the $SYN token can be found here: - -| Venue | Link | -|-----------|----------------------------------------------| -| Coinbase | `https://www.coinbase.com/price/synapse` [↗](https://www.coinbase.com/price/synapse) | -| Sushi | `https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31` [↗](https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31) | -| Revolut | `https://www.revolut.com/crypto/price/syn` [↗](https://www.revolut.com/crypto/price/syn) | -| Binance | `https://www.binance.com/en/price/synapse-2` [↗](https://www.binance.com/en/price/synapse-2) | -| Bybit | `https://www.bybit.com/en/coin-price/synapse-2/` [↗](https://www.bybit.com/en/coin-price/synapse-2/) | - -
- -All $SYN token addresses can be found [here](/docs/bridge/docs/05-Contracts/09-SYN). diff --git a/docs/bridge/docs/01-About/04-SYN.md b/docs/bridge/docs/01-About/04-SYN.md new file mode 100644 index 0000000000..1d3cca5b0b --- /dev/null +++ b/docs/bridge/docs/01-About/04-SYN.md @@ -0,0 +1,23 @@ +--- +title: $SYN Token +--- + +# $SYN Token + +$SYN is the governance token for the Synapse Protocol. There are no unlocks, all future $SYN emissions are goverened by the [DAO](/docs/bridge/docs/01-About/01-DAO). + + +Liquidity for the [$SYN](https://coinmarketcap.com/currencies/synapse-2/) token can be found here: + +| Venue | Link | +|-----------------------|----------------------------------------------| +| Coinbase | `https://www.coinbase.com/price/synapse` [↗](https://www.coinbase.com/price/synapse) | +| Sushi | `https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31` [↗](https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31) | +| Revolut | `https://www.revolut.com/crypto/price/syn` [↗](https://www.revolut.com/crypto/price/syn) | +| Binance (Spot) | `https://www.binance.com/en/trade/SYN_USDT?type=spot` [↗](https://www.binance.com/en/trade/SYN_USDT?type=spot) | +| Binance (Perpetuals) | `https://www.binance.com/en/futures/SYNUSDT` [↗](https://www.binance.com/en/futures/SYNUSDT) | +| Bybit (SYN/USDT) | `https://www.bybit.com/trade/usdt/SYNUSDT` [↗](https://www.bybit.com/trade/usdt/SYNUSDT) | + +
+ +All $SYN token addresses can be found [here](/docs/bridge/docs/05-Contracts/09-SYN). diff --git a/packages/synapse-interface/components/layouts/LandingPageWrapper/index.tsx b/packages/synapse-interface/components/layouts/LandingPageWrapper/index.tsx index b8b2ec294c..aef82543a5 100644 --- a/packages/synapse-interface/components/layouts/LandingPageWrapper/index.tsx +++ b/packages/synapse-interface/components/layouts/LandingPageWrapper/index.tsx @@ -211,9 +211,9 @@ function MoreInfoButtons() { description="See preliminary analytics of the bridge" /> ) diff --git a/packages/synapse-interface/constants/routes.ts b/packages/synapse-interface/constants/routes.ts index b33db9f19e..c9819ba518 100644 --- a/packages/synapse-interface/constants/routes.ts +++ b/packages/synapse-interface/constants/routes.ts @@ -6,7 +6,7 @@ import { POOL_PATH, LANDING_PATH, BRIDGE_PATH, - INTERCHAIN_LINK, + SYN_TOKEN_LINK, SOLANA_BRIDGE_LINK, } from './urls' @@ -53,9 +53,9 @@ export const NAVIGATION: RouteObject = { text: 'Explorer', match: null, }, - Contracts: { - path: INTERCHAIN_LINK, - text: 'Interchain Network', + SYN: { + path: SYN_TOKEN_LINK, + text: '$SYN', match: null, }, Solana: { diff --git a/packages/synapse-interface/constants/urls/index.tsx b/packages/synapse-interface/constants/urls/index.tsx index a3cac309ad..5c1c5df241 100644 --- a/packages/synapse-interface/constants/urls/index.tsx +++ b/packages/synapse-interface/constants/urls/index.tsx @@ -25,6 +25,7 @@ export const LANDING_PATH = '/landing' export const EXPLORER_KAPPA = 'https://explorer.synapseprotocol.com/tx/' export const EXPLORER_PATH = 'https://explorer.synapseprotocol.com/' export const INTERCHAIN_LINK = 'https://interchain.synapseprotocol.com/' +export const SYN_TOKEN_LINK = 'https://docs.synapseprotocol.com/docs/About/SYN' export const SOLANA_BRIDGE_LINK = 'https://solana.synapseprotocol.com/' export const TERMS_OF_SERVICE_PATH = 'https://explorer.synapseprotocol.com/terms' diff --git a/packages/synapse-interface/messages/ar.json b/packages/synapse-interface/messages/ar.json index 33849d6878..09f07631d4 100644 --- a/packages/synapse-interface/messages/ar.json +++ b/packages/synapse-interface/messages/ar.json @@ -344,6 +344,7 @@ "Telegram": "تليجرام", "Functions": "الوظائف", "Developers": "المطورون", + "$SYN": "$SYN", "Support": "الدعم" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/en-US.json b/packages/synapse-interface/messages/en-US.json index ce150f5e79..503022fa83 100644 --- a/packages/synapse-interface/messages/en-US.json +++ b/packages/synapse-interface/messages/en-US.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "Functions", "Developers": "Developers", - "Support": "Support" + "Support": "Support", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "Choose Synapse", diff --git a/packages/synapse-interface/messages/es.json b/packages/synapse-interface/messages/es.json index d35b19a8e8..8f2b009ea2 100644 --- a/packages/synapse-interface/messages/es.json +++ b/packages/synapse-interface/messages/es.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "Funciones", "Developers": "Desarrolladores", - "Support": "Soporte" + "Support": "Soporte", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "Elige Synapse", diff --git a/packages/synapse-interface/messages/fr.json b/packages/synapse-interface/messages/fr.json index 3298973c04..dd99a9c1a2 100644 --- a/packages/synapse-interface/messages/fr.json +++ b/packages/synapse-interface/messages/fr.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "Fonctions", "Developers": "Développeurs", - "Support": "Support" + "Support": "Support", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "Choisir Synapse", diff --git a/packages/synapse-interface/messages/jp.json b/packages/synapse-interface/messages/jp.json index 8dff093e1d..a7ead23cd6 100644 --- a/packages/synapse-interface/messages/jp.json +++ b/packages/synapse-interface/messages/jp.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "機能", "Developers": "開発者", - "Support": "サポート" + "Support": "サポート", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "Synapseを選択", diff --git a/packages/synapse-interface/messages/tr.json b/packages/synapse-interface/messages/tr.json index a6ac858168..f6cc54c786 100644 --- a/packages/synapse-interface/messages/tr.json +++ b/packages/synapse-interface/messages/tr.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "Fonksiyonlar", "Developers": "Geliştiriciler", - "Support": "Destek" + "Support": "Destek", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "Synapse'i Seç", diff --git a/packages/synapse-interface/messages/zh-CN.json b/packages/synapse-interface/messages/zh-CN.json index fc4d1e5d93..63412c77b2 100644 --- a/packages/synapse-interface/messages/zh-CN.json +++ b/packages/synapse-interface/messages/zh-CN.json @@ -344,7 +344,8 @@ "Telegram": "Telegram", "Functions": "功能", "Developers": "开发者", - "Support": "支持" + "Support": "支持", + "$SYN": "$SYN" }, "ReturnToMonke": { "Choose Synapse": "选择Synapse", From 314a44776fed4f09fd094a7b4c396108cabf517a Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 12:33:54 -0500 Subject: [PATCH 3/7] fix relative links --- docs/bridge/docs/01-About/04-SYN.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/bridge/docs/01-About/04-SYN.md b/docs/bridge/docs/01-About/04-SYN.md index 1d3cca5b0b..33114ce99d 100644 --- a/docs/bridge/docs/01-About/04-SYN.md +++ b/docs/bridge/docs/01-About/04-SYN.md @@ -4,20 +4,19 @@ title: $SYN Token # $SYN Token -$SYN is the governance token for the Synapse Protocol. There are no unlocks, all future $SYN emissions are goverened by the [DAO](/docs/bridge/docs/01-About/01-DAO). - +$SYN is the governance token for the Synapse Protocol. There are no unlocks, all future $SYN emissions are goverened by the [DAO](/docs/About/DAO). Liquidity for the [$SYN](https://coinmarketcap.com/currencies/synapse-2/) token can be found here: -| Venue | Link | -|-----------------------|----------------------------------------------| -| Coinbase | `https://www.coinbase.com/price/synapse` [↗](https://www.coinbase.com/price/synapse) | -| Sushi | `https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31` [↗](https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31) | -| Revolut | `https://www.revolut.com/crypto/price/syn` [↗](https://www.revolut.com/crypto/price/syn) | -| Binance (Spot) | `https://www.binance.com/en/trade/SYN_USDT?type=spot` [↗](https://www.binance.com/en/trade/SYN_USDT?type=spot) | -| Binance (Perpetuals) | `https://www.binance.com/en/futures/SYNUSDT` [↗](https://www.binance.com/en/futures/SYNUSDT) | -| Bybit (SYN/USDT) | `https://www.bybit.com/trade/usdt/SYNUSDT` [↗](https://www.bybit.com/trade/usdt/SYNUSDT) | +| Venue | Link | +| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Coinbase | `https://www.coinbase.com/price/synapse` [↗](https://www.coinbase.com/price/synapse) | +| Sushi | `https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31` [↗](https://www.sushi.com/ethereum/pool/v2/0x4a86c01d67965f8cb3d0aaa2c655705e64097c31) | +| Revolut | `https://www.revolut.com/crypto/price/syn` [↗](https://www.revolut.com/crypto/price/syn) | +| Binance (Spot) | `https://www.binance.com/en/trade/SYN_USDT?type=spot` [↗](https://www.binance.com/en/trade/SYN_USDT?type=spot) | +| Binance (Perpetuals) | `https://www.binance.com/en/futures/SYNUSDT` [↗](https://www.binance.com/en/futures/SYNUSDT) | +| Bybit (SYN/USDT) | `https://www.bybit.com/trade/usdt/SYNUSDT` [↗](https://www.bybit.com/trade/usdt/SYNUSDT) |
-All $SYN token addresses can be found [here](/docs/bridge/docs/05-Contracts/09-SYN). +All $SYN token addresses can be found [here](/docs/Contracts/SYN). From 3da6285073ac71428aeb981c79f30bd12dd4d146 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 12:46:51 -0500 Subject: [PATCH 4/7] Type assert CustomToaster --- packages/synapse-interface/components/toast/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 0ef7675d2c..45a177b37d 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -26,5 +26,5 @@ export default function CustomToaster() { )} - ) + ) as React.ReactElement } From 1daf91cf5fda0c57002d6d6a411bff49d673e21f Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 12:55:59 -0500 Subject: [PATCH 5/7] new assertion --- .../synapse-interface/components/toast/index.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 45a177b37d..25bca66b5f 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -1,13 +1,15 @@ -import toast, { Toaster, ToastBar } from 'react-hot-toast' +import React from 'react' +import { Toaster as HotToaster, ToastBar } from 'react-hot-toast' import ToastContent from './ToastContent' -export default function CustomToaster() { +const Toaster = HotToaster as React.FC + +export default function CustomToaster(): React.ReactElement { return ( )} - ) as React.ReactElement + ) } From 24a253069ac48789072a3daf928a9012f0aa444b Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 13:05:20 -0500 Subject: [PATCH 6/7] Assert ToastBar --- packages/synapse-interface/components/toast/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 25bca66b5f..a78700e3bf 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -1,8 +1,9 @@ import React from 'react' -import { Toaster as HotToaster, ToastBar } from 'react-hot-toast' +import { Toaster as HotToaster, ToastBar as HotToastBar } from 'react-hot-toast' import ToastContent from './ToastContent' const Toaster = HotToaster as React.FC +const ToastBar = HotToastBar as React.FC export default function CustomToaster(): React.ReactElement { return ( From f03ce4f7a2fdc7bf7d111a4d45261125bff5271d Mon Sep 17 00:00:00 2001 From: defi-moses Date: Sun, 8 Dec 2024 02:19:19 +0000 Subject: [PATCH 7/7] adding other venues --- docs/bridge/docs/01-About/04-SYN.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/bridge/docs/01-About/04-SYN.md b/docs/bridge/docs/01-About/04-SYN.md index 33114ce99d..afe1ac7200 100644 --- a/docs/bridge/docs/01-About/04-SYN.md +++ b/docs/bridge/docs/01-About/04-SYN.md @@ -16,6 +16,10 @@ Liquidity for the [$SYN](https://coinmarketcap.com/currencies/synapse-2/) token | Binance (Spot) | `https://www.binance.com/en/trade/SYN_USDT?type=spot` [↗](https://www.binance.com/en/trade/SYN_USDT?type=spot) | | Binance (Perpetuals) | `https://www.binance.com/en/futures/SYNUSDT` [↗](https://www.binance.com/en/futures/SYNUSDT) | | Bybit (SYN/USDT) | `https://www.bybit.com/trade/usdt/SYNUSDT` [↗](https://www.bybit.com/trade/usdt/SYNUSDT) | +| HTX | `https://www.htx.com/price/syn/` [↗](https://www.htx.com/price/syn/) | +| Kraken | `https://www.kraken.com/prices/synapse` [↗](https://www.kraken.com/prices/synapse) | +| KuCoin | `https://www.kucoin.com/price/SYN` [↗](https://www.kucoin.com/price/SYN) | +