From 7f62b7a5d5a85f0c1c052bd0a0eb305cc94221fe Mon Sep 17 00:00:00 2001 From: parodime Date: Mon, 2 Dec 2024 12:21:07 -0500 Subject: [PATCH 01/15] doc tweaks (#3430) --- docs/bridge/docs/03-RFQ/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bridge/docs/03-RFQ/index.md b/docs/bridge/docs/03-RFQ/index.md index 03dd6fa786..cef0db07a9 100644 --- a/docs/bridge/docs/03-RFQ/index.md +++ b/docs/bridge/docs/03-RFQ/index.md @@ -206,5 +206,5 @@ If any discrepancies are found, the guards will [dispute] the proof
Once the [Dispute Period] has passed without incident, a [claim] transaction can be executed by the [Relayer] on the origin chain. -This willrelease the deposit funds from escrow and deliver them to the rightful [Relayer] as a reimbursement for the liquidity they provided on the [relay]. +This will release the deposit funds from escrow and deliver them to the rightful [Relayer] as a reimbursement for the liquidity they provided on the [relay].
From 9fe5765f03a94fd797e75837cad6b6bdfe4e6437 Mon Sep 17 00:00:00 2001 From: parodime Date: Mon, 2 Dec 2024 17:25:26 +0000 Subject: [PATCH 02/15] Publish - @synapsecns/bridge-docs@0.5.11 --- docs/bridge/CHANGELOG.md | 8 ++++++++ docs/bridge/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/bridge/CHANGELOG.md b/docs/bridge/CHANGELOG.md index e68b482812..b99c54635a 100644 --- a/docs/bridge/CHANGELOG.md +++ b/docs/bridge/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.11](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.10...@synapsecns/bridge-docs@0.5.11) (2024-12-02) + +**Note:** Version bump only for package @synapsecns/bridge-docs + + + + + ## [0.5.10](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.9...@synapsecns/bridge-docs@0.5.10) (2024-12-02) **Note:** Version bump only for package @synapsecns/bridge-docs diff --git a/docs/bridge/package.json b/docs/bridge/package.json index 5f009530f1..e908b9b17a 100644 --- a/docs/bridge/package.json +++ b/docs/bridge/package.json @@ -1,6 +1,6 @@ { "name": "@synapsecns/bridge-docs", - "version": "0.5.10", + "version": "0.5.11", "private": true, "scripts": { "docusaurus": "docusaurus", From 16a4da979528219c2287b58d89f1fd04be994d22 Mon Sep 17 00:00:00 2001 From: trajan0x <83933037+trajan0x@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:25:38 -0400 Subject: [PATCH 03/15] gitattributes foundry deployments (#3439) * gitattribute foundry * vendored->generated --------- Co-authored-by: Trajan0x --- .gitattributes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 19f0650d7e..c17ad86ad0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,7 +16,7 @@ # ignore ifacemaker files *_generated.go linguist-generated contrib/opbot/generated/* linguist-generated -*.contractinfo.json linguist-generated=true +*.contractinfo.json linguist-generated # svg should be treated as a binary https://git.io/JE2VK @@ -24,3 +24,6 @@ contrib/opbot/generated/* linguist-generated *.sol linguist-language=Solidity .vscode/*.json linguist-language=jsonc + +# foundry deploy data +packages/**/deployments/*.json linguist-generated From a9463760a1a0a098548b115e29acda416c5f9ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CF=87=C2=B2?= <88190723+ChiTimesChi@users.noreply.github.com> Date: Thu, 5 Dec 2024 19:30:54 +0000 Subject: [PATCH 04/15] chore(contracts-rfq): reorganise mocks, fix build script (#3434) * chore: move mocks to their respecitve directory * chore: update imports * chore: also move UniversalToken tests * build: include harnesses and mocks in the flatten command --- packages/contracts-rfq/.solhintignore | 2 +- packages/contracts-rfq/package.json | 2 +- packages/contracts-rfq/test/FastBridge.t.sol | 2 +- packages/contracts-rfq/test/FastBridgeV2.t.sol | 2 +- .../test/{ => harnesses}/UniversalTokenLibHarness.sol | 2 +- .../contracts-rfq/test/integration/MulticallTarget.t.sol | 2 +- packages/contracts-rfq/test/integration/TokenZapV1.t.sol | 2 +- .../contracts-rfq/test/{ => libs}/UniversalTokenLib.t.sol | 8 ++++---- .../contracts-rfq/test/{ => mocks}/FastBridgeMock.sol | 6 +++--- packages/contracts-rfq/test/{ => mocks}/MockERC20.sol | 0 .../test/{ => mocks}/MockRevertingRecipient.sol | 0 .../contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol | 2 +- packages/contracts-rfq/test/zaps/TokenZapV1.t.sol | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) rename packages/contracts-rfq/test/{ => harnesses}/UniversalTokenLibHarness.sol (93%) rename packages/contracts-rfq/test/{ => libs}/UniversalTokenLib.t.sol (96%) rename packages/contracts-rfq/test/{ => mocks}/FastBridgeMock.sol (96%) rename packages/contracts-rfq/test/{ => mocks}/MockERC20.sol (100%) rename packages/contracts-rfq/test/{ => mocks}/MockRevertingRecipient.sol (100%) diff --git a/packages/contracts-rfq/.solhintignore b/packages/contracts-rfq/.solhintignore index f2e4fd2a54..30d665167e 100644 --- a/packages/contracts-rfq/.solhintignore +++ b/packages/contracts-rfq/.solhintignore @@ -3,4 +3,4 @@ contracts/interfaces/IFastBridge.sol contracts/legacy/**/*.sol script/FastBridge.s.sol test/FastBridge.t.sol -test/FastBridgeMock.sol +test/mocks/FastBridgeMock.sol diff --git a/packages/contracts-rfq/package.json b/packages/contracts-rfq/package.json index 29c224390d..93c1d15d69 100644 --- a/packages/contracts-rfq/package.json +++ b/packages/contracts-rfq/package.json @@ -26,7 +26,7 @@ "lint": "forge fmt && npm run solhint", "lint:check": "forge fmt --check && npm run solhint:check", "ci:lint": "npm run lint:check", - "build:go": "./flatten.sh contracts/*.sol test/*.sol", + "build:go": "./flatten.sh contracts/*.sol test/harnesses/*.sol test/mocks/*.sol", "solhint": "solhint '{contracts,script,test}/**/*.sol' --fix --noPrompt --max-warnings 3", "solhint:check": "solhint '{contracts,script,test}/**/*.sol' --max-warnings 3" } diff --git a/packages/contracts-rfq/test/FastBridge.t.sol b/packages/contracts-rfq/test/FastBridge.t.sol index 0e7804e49a..7fad47dc27 100644 --- a/packages/contracts-rfq/test/FastBridge.t.sol +++ b/packages/contracts-rfq/test/FastBridge.t.sol @@ -10,7 +10,7 @@ import "../contracts/interfaces/IFastBridge.sol"; import "../contracts/libs/Errors.sol"; import "../contracts/libs/UniversalToken.sol"; -import "./MockERC20.sol"; +import "./mocks/MockERC20.sol"; import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol"; diff --git a/packages/contracts-rfq/test/FastBridgeV2.t.sol b/packages/contracts-rfq/test/FastBridgeV2.t.sol index 5a99259ad2..04bfeb7a36 100644 --- a/packages/contracts-rfq/test/FastBridgeV2.t.sol +++ b/packages/contracts-rfq/test/FastBridgeV2.t.sol @@ -11,7 +11,7 @@ import {IFastBridgeV2} from "../contracts/interfaces/IFastBridgeV2.sol"; import {FastBridgeV2} from "../contracts/FastBridgeV2.sol"; import {IFastBridgeV2Errors} from "../contracts/interfaces/IFastBridgeV2Errors.sol"; -import {MockERC20} from "./MockERC20.sol"; +import {MockERC20} from "./mocks/MockERC20.sol"; import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/packages/contracts-rfq/test/UniversalTokenLibHarness.sol b/packages/contracts-rfq/test/harnesses/UniversalTokenLibHarness.sol similarity index 93% rename from packages/contracts-rfq/test/UniversalTokenLibHarness.sol rename to packages/contracts-rfq/test/harnesses/UniversalTokenLibHarness.sol index 5e628b5fa2..0b2d2bc234 100644 --- a/packages/contracts-rfq/test/UniversalTokenLibHarness.sol +++ b/packages/contracts-rfq/test/harnesses/UniversalTokenLibHarness.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; -import {UniversalTokenLib} from "../contracts/libs/UniversalToken.sol"; +import {UniversalTokenLib} from "../../contracts/libs/UniversalToken.sol"; // solhint-disable no-empty-blocks, ordering contract UniversalTokenLibHarness { diff --git a/packages/contracts-rfq/test/integration/MulticallTarget.t.sol b/packages/contracts-rfq/test/integration/MulticallTarget.t.sol index c844086c46..0e43522346 100644 --- a/packages/contracts-rfq/test/integration/MulticallTarget.t.sol +++ b/packages/contracts-rfq/test/integration/MulticallTarget.t.sol @@ -6,7 +6,7 @@ import {IFastBridgeV2} from "../../contracts/interfaces/IFastBridgeV2.sol"; import {IMulticallTarget} from "../../contracts/interfaces/IMulticallTarget.sol"; import {DisputePeriodNotPassed} from "../../contracts/libs/Errors.sol"; -import {MockERC20} from "../MockERC20.sol"; +import {MockERC20} from "../mocks/MockERC20.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/packages/contracts-rfq/test/integration/TokenZapV1.t.sol b/packages/contracts-rfq/test/integration/TokenZapV1.t.sol index fec2ee9042..92d3874970 100644 --- a/packages/contracts-rfq/test/integration/TokenZapV1.t.sol +++ b/packages/contracts-rfq/test/integration/TokenZapV1.t.sol @@ -6,7 +6,7 @@ import {BridgeTransactionV2Lib} from "../../contracts/libs/BridgeTransactionV2.s import {ZapDataV1} from "../../contracts/libs/ZapDataV1.sol"; import {TokenZapV1} from "../../contracts/zaps/TokenZapV1.sol"; -import {MockERC20} from "../MockERC20.sol"; +import {MockERC20} from "../mocks/MockERC20.sol"; import {VaultManyArguments} from "../mocks/VaultManyArguments.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/packages/contracts-rfq/test/UniversalTokenLib.t.sol b/packages/contracts-rfq/test/libs/UniversalTokenLib.t.sol similarity index 96% rename from packages/contracts-rfq/test/UniversalTokenLib.t.sol rename to packages/contracts-rfq/test/libs/UniversalTokenLib.t.sol index ce46c08b19..8e900e9918 100644 --- a/packages/contracts-rfq/test/UniversalTokenLib.t.sol +++ b/packages/contracts-rfq/test/libs/UniversalTokenLib.t.sol @@ -1,11 +1,11 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; -import {TokenNotContract} from "../contracts/libs/Errors.sol"; +import {TokenNotContract} from "../../contracts/libs/Errors.sol"; -import {MockERC20} from "./MockERC20.sol"; -import {MockRevertingRecipient} from "./MockRevertingRecipient.sol"; -import {UniversalTokenLibHarness} from "./UniversalTokenLibHarness.sol"; +import {UniversalTokenLibHarness} from "../harnesses/UniversalTokenLibHarness.sol"; +import {MockERC20} from "../mocks/MockERC20.sol"; +import {MockRevertingRecipient} from "../mocks/MockRevertingRecipient.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/packages/contracts-rfq/test/FastBridgeMock.sol b/packages/contracts-rfq/test/mocks/FastBridgeMock.sol similarity index 96% rename from packages/contracts-rfq/test/FastBridgeMock.sol rename to packages/contracts-rfq/test/mocks/FastBridgeMock.sol index 68026550f5..d2f7bcb3c1 100644 --- a/packages/contracts-rfq/test/FastBridgeMock.sol +++ b/packages/contracts-rfq/test/mocks/FastBridgeMock.sol @@ -1,10 +1,10 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; -import {Admin} from "../contracts/Admin.sol"; +import {Admin} from "../../contracts/Admin.sol"; -import {FastBridge} from "../contracts/FastBridge.sol"; -import {IFastBridge} from "../contracts/interfaces/IFastBridge.sol"; +import {FastBridge} from "../../contracts/FastBridge.sol"; +import {IFastBridge} from "../../contracts/interfaces/IFastBridge.sol"; contract FastBridgeMock is IFastBridge, Admin { // @dev the block the contract was deployed at diff --git a/packages/contracts-rfq/test/MockERC20.sol b/packages/contracts-rfq/test/mocks/MockERC20.sol similarity index 100% rename from packages/contracts-rfq/test/MockERC20.sol rename to packages/contracts-rfq/test/mocks/MockERC20.sol diff --git a/packages/contracts-rfq/test/MockRevertingRecipient.sol b/packages/contracts-rfq/test/mocks/MockRevertingRecipient.sol similarity index 100% rename from packages/contracts-rfq/test/MockRevertingRecipient.sol rename to packages/contracts-rfq/test/mocks/MockRevertingRecipient.sol diff --git a/packages/contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol b/packages/contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol index 3726b7d7b0..5352a5e4fb 100644 --- a/packages/contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol +++ b/packages/contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol @@ -3,7 +3,7 @@ pragma solidity 0.8.24; import {TokenZapV1} from "../../contracts/zaps/TokenZapV1.sol"; -import {MockERC20} from "../MockERC20.sol"; +import {MockERC20} from "../mocks/MockERC20.sol"; import {SimpleVaultMock} from "../mocks/SimpleVaultMock.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/packages/contracts-rfq/test/zaps/TokenZapV1.t.sol b/packages/contracts-rfq/test/zaps/TokenZapV1.t.sol index 68afd42331..e081831372 100644 --- a/packages/contracts-rfq/test/zaps/TokenZapV1.t.sol +++ b/packages/contracts-rfq/test/zaps/TokenZapV1.t.sol @@ -4,7 +4,7 @@ pragma solidity 0.8.24; import {ZapDataV1} from "../../contracts/libs/ZapDataV1.sol"; import {TokenZapV1} from "../../contracts/zaps/TokenZapV1.sol"; -import {MockERC20} from "../MockERC20.sol"; +import {MockERC20} from "../mocks/MockERC20.sol"; import {NonPayableRecipient} from "../mocks/NonPayableRecipient.sol"; import {RecipientMock} from "../mocks/RecipientMock.sol"; import {VaultManyArguments} from "../mocks/VaultManyArguments.sol"; From 288dc7e0c143327234845122564ff6790386cb13 Mon Sep 17 00:00:00 2001 From: ChiTimesChi Date: Thu, 5 Dec 2024 19:35:10 +0000 Subject: [PATCH 05/15] Publish - @synapsecns/contracts-rfq@0.14.7 --- packages/contracts-rfq/CHANGELOG.md | 8 ++++++++ packages/contracts-rfq/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/contracts-rfq/CHANGELOG.md b/packages/contracts-rfq/CHANGELOG.md index 1f89070995..3c258f337c 100644 --- a/packages/contracts-rfq/CHANGELOG.md +++ b/packages/contracts-rfq/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.14.7](https://github.com/synapsecns/sanguine/compare/@synapsecns/contracts-rfq@0.14.6...@synapsecns/contracts-rfq@0.14.7) (2024-12-05) + +**Note:** Version bump only for package @synapsecns/contracts-rfq + + + + + ## [0.14.6](https://github.com/synapsecns/sanguine/compare/@synapsecns/contracts-rfq@0.14.5...@synapsecns/contracts-rfq@0.14.6) (2024-11-28) diff --git a/packages/contracts-rfq/package.json b/packages/contracts-rfq/package.json index 93c1d15d69..17fe284464 100644 --- a/packages/contracts-rfq/package.json +++ b/packages/contracts-rfq/package.json @@ -1,7 +1,7 @@ { "name": "@synapsecns/contracts-rfq", "license": "MIT", - "version": "0.14.6", + "version": "0.14.7", "description": "FastBridge contracts.", "private": true, "files": [ From 55b1d081f6a17d6146f42769c56179e579d807f8 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 13:18:22 -0500 Subject: [PATCH 06/15] Add SYN 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..33114ce99d --- /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. 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) | + +
+ +All $SYN token addresses can be found [here](/docs/Contracts/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..e5a8d3e78c --- /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 1131845460f90c037d8982b660d2b79d5bdfd12a Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 18:29:59 +0000 Subject: [PATCH 07/15] Publish - @synapsecns/bridge-docs@0.5.12 --- docs/bridge/CHANGELOG.md | 8 ++++++++ docs/bridge/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/bridge/CHANGELOG.md b/docs/bridge/CHANGELOG.md index b99c54635a..9242eb3ab2 100644 --- a/docs/bridge/CHANGELOG.md +++ b/docs/bridge/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.12](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.11...@synapsecns/bridge-docs@0.5.12) (2024-12-06) + +**Note:** Version bump only for package @synapsecns/bridge-docs + + + + + ## [0.5.11](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.10...@synapsecns/bridge-docs@0.5.11) (2024-12-02) **Note:** Version bump only for package @synapsecns/bridge-docs diff --git a/docs/bridge/package.json b/docs/bridge/package.json index e908b9b17a..f84b4caa24 100644 --- a/docs/bridge/package.json +++ b/docs/bridge/package.json @@ -1,6 +1,6 @@ { "name": "@synapsecns/bridge-docs", - "version": "0.5.11", + "version": "0.5.12", "private": true, "scripts": { "docusaurus": "docusaurus", From 49cc5efc5996bc999c61932b159b4da5a53c2b66 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 13:44:57 -0500 Subject: [PATCH 08/15] Adds link to docs --- .../components/layouts/LandingPageWrapper/index.tsx | 6 +++--- packages/synapse-interface/constants/routes.ts | 8 ++++---- packages/synapse-interface/constants/urls/index.tsx | 1 + packages/synapse-interface/messages/ar.json | 1 + packages/synapse-interface/messages/en-US.json | 1 + packages/synapse-interface/messages/es.json | 1 + packages/synapse-interface/messages/fr.json | 1 + packages/synapse-interface/messages/jp.json | 1 + packages/synapse-interface/messages/tr.json | 1 + packages/synapse-interface/messages/zh-CN.json | 1 + 10 files changed, 15 insertions(+), 7 deletions(-) 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..1381e2a87c 100644 --- a/packages/synapse-interface/constants/routes.ts +++ b/packages/synapse-interface/constants/routes.ts @@ -6,8 +6,8 @@ import { POOL_PATH, LANDING_PATH, BRIDGE_PATH, - INTERCHAIN_LINK, SOLANA_BRIDGE_LINK, + SYN_TOKEN_LINK, } from './urls' export interface RouteObject { @@ -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..8452406b49 100644 --- a/packages/synapse-interface/messages/en-US.json +++ b/packages/synapse-interface/messages/en-US.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "Functions", "Developers": "Developers", + "$SYN": "$SYN", "Support": "Support" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/es.json b/packages/synapse-interface/messages/es.json index d35b19a8e8..5c121dfbe6 100644 --- a/packages/synapse-interface/messages/es.json +++ b/packages/synapse-interface/messages/es.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "Funciones", "Developers": "Desarrolladores", + "$SYN": "$SYN", "Support": "Soporte" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/fr.json b/packages/synapse-interface/messages/fr.json index 3298973c04..5f4608d38e 100644 --- a/packages/synapse-interface/messages/fr.json +++ b/packages/synapse-interface/messages/fr.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "Fonctions", "Developers": "Développeurs", + "$SYN": "$SYN", "Support": "Support" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/jp.json b/packages/synapse-interface/messages/jp.json index 8dff093e1d..ee05d2a385 100644 --- a/packages/synapse-interface/messages/jp.json +++ b/packages/synapse-interface/messages/jp.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "機能", "Developers": "開発者", + "$SYN": "$SYN", "Support": "サポート" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/tr.json b/packages/synapse-interface/messages/tr.json index a6ac858168..d51a91667a 100644 --- a/packages/synapse-interface/messages/tr.json +++ b/packages/synapse-interface/messages/tr.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "Fonksiyonlar", "Developers": "Geliştiriciler", + "$SYN": "$SYN", "Support": "Destek" }, "ReturnToMonke": { diff --git a/packages/synapse-interface/messages/zh-CN.json b/packages/synapse-interface/messages/zh-CN.json index fc4d1e5d93..d6a864354b 100644 --- a/packages/synapse-interface/messages/zh-CN.json +++ b/packages/synapse-interface/messages/zh-CN.json @@ -344,6 +344,7 @@ "Telegram": "Telegram", "Functions": "功能", "Developers": "开发者", + "$SYN": "$SYN", "Support": "支持" }, "ReturnToMonke": { From 4d14f543cecb73e97bce53134df190201173d0b3 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 14:02:47 -0500 Subject: [PATCH 09/15] React imports --- packages/synapse-interface/components/toast/ToastContent.tsx | 1 + packages/synapse-interface/components/toast/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/synapse-interface/components/toast/ToastContent.tsx b/packages/synapse-interface/components/toast/ToastContent.tsx index 361cfee462..3d138fddd1 100644 --- a/packages/synapse-interface/components/toast/ToastContent.tsx +++ b/packages/synapse-interface/components/toast/ToastContent.tsx @@ -1,3 +1,4 @@ +import React from 'react' import toast from 'react-hot-toast' import { XIcon, diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 0ef7675d2c..1b6112ad9b 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -1,3 +1,4 @@ +import React from 'react' import toast, { Toaster, ToastBar } from 'react-hot-toast' import ToastContent from './ToastContent' From fab9226bc7eeb71948b82f590d8bb349f6fb7996 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 14:12:59 -0500 Subject: [PATCH 10/15] Type custom toaster --- packages/synapse-interface/components/toast/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 1b6112ad9b..4659dc802b 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -2,7 +2,7 @@ import React from 'react' import toast, { Toaster, ToastBar } from 'react-hot-toast' import ToastContent from './ToastContent' -export default function CustomToaster() { +const CustomToaster: React.FC = () => { return ( ) } + +export default CustomToaster From 2067b1d1e60d30967faa7128156b221998e016ed Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 14:30:59 -0500 Subject: [PATCH 11/15] Nocheck --- packages/synapse-interface/components/toast/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/synapse-interface/components/toast/index.tsx b/packages/synapse-interface/components/toast/index.tsx index 4659dc802b..83d4bde824 100644 --- a/packages/synapse-interface/components/toast/index.tsx +++ b/packages/synapse-interface/components/toast/index.tsx @@ -1,3 +1,4 @@ +// @ts-nocheck import React from 'react' import toast, { Toaster, ToastBar } from 'react-hot-toast' import ToastContent from './ToastContent' From 9a375d065ff1eab4aa396911ec988e7cf2c6c756 Mon Sep 17 00:00:00 2001 From: abtestingalpha Date: Fri, 6 Dec 2024 14:38:50 -0500 Subject: [PATCH 12/15] ignore --- packages/synapse-interface/pages/_app.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/synapse-interface/pages/_app.tsx b/packages/synapse-interface/pages/_app.tsx index 74e50e8d27..83acb1d8e5 100644 --- a/packages/synapse-interface/pages/_app.tsx +++ b/packages/synapse-interface/pages/_app.tsx @@ -52,6 +52,7 @@ function App({ Component, pageProps }: AppProps) { timeZone="UTC" messages={pageProps.messages} > + {/* @ts-ignore */} Date: Fri, 6 Dec 2024 19:55:57 +0000 Subject: [PATCH 13/15] Publish - @synapsecns/synapse-interface@0.40.23 --- packages/synapse-interface/CHANGELOG.md | 8 ++++++++ packages/synapse-interface/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/synapse-interface/CHANGELOG.md b/packages/synapse-interface/CHANGELOG.md index 12d15839cd..d68d4a38b3 100644 --- a/packages/synapse-interface/CHANGELOG.md +++ b/packages/synapse-interface/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.40.23](https://github.com/synapsecns/sanguine/compare/@synapsecns/synapse-interface@0.40.22...@synapsecns/synapse-interface@0.40.23) (2024-12-06) + +**Note:** Version bump only for package @synapsecns/synapse-interface + + + + + ## [0.40.22](https://github.com/synapsecns/sanguine/compare/@synapsecns/synapse-interface@0.40.21...@synapsecns/synapse-interface@0.40.22) (2024-12-02) diff --git a/packages/synapse-interface/package.json b/packages/synapse-interface/package.json index 27a5660b73..d2e2ddb88e 100644 --- a/packages/synapse-interface/package.json +++ b/packages/synapse-interface/package.json @@ -1,6 +1,6 @@ { "name": "@synapsecns/synapse-interface", - "version": "0.40.22", + "version": "0.40.23", "private": true, "engines": { "node": ">=18.18.0" From c3d8cfb692722c47009e9dd6e5b6724be88a78e3 Mon Sep 17 00:00:00 2001 From: Moses <103143573+Defi-Moses@users.noreply.github.com> Date: Sun, 8 Dec 2024 02:32:27 +0000 Subject: [PATCH 14/15] new venues (#3444) --- docs/bridge/docs/01-About/04-SYN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/bridge/docs/01-About/04-SYN.md b/docs/bridge/docs/01-About/04-SYN.md index 33114ce99d..09bbd9239c 100644 --- a/docs/bridge/docs/01-About/04-SYN.md +++ b/docs/bridge/docs/01-About/04-SYN.md @@ -16,7 +16,9 @@ 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) |
All $SYN token addresses can be found [here](/docs/Contracts/SYN). From bf6b5bfc5360aa3b435151fd679a5c512a315245 Mon Sep 17 00:00:00 2001 From: Defi-Moses Date: Sun, 8 Dec 2024 02:36:44 +0000 Subject: [PATCH 15/15] Publish - @synapsecns/bridge-docs@0.5.13 --- docs/bridge/CHANGELOG.md | 8 ++++++++ docs/bridge/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/bridge/CHANGELOG.md b/docs/bridge/CHANGELOG.md index 9242eb3ab2..ccf73ae349 100644 --- a/docs/bridge/CHANGELOG.md +++ b/docs/bridge/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.13](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.12...@synapsecns/bridge-docs@0.5.13) (2024-12-08) + +**Note:** Version bump only for package @synapsecns/bridge-docs + + + + + ## [0.5.12](https://github.com/synapsecns/sanguine/compare/@synapsecns/bridge-docs@0.5.11...@synapsecns/bridge-docs@0.5.12) (2024-12-06) **Note:** Version bump only for package @synapsecns/bridge-docs diff --git a/docs/bridge/package.json b/docs/bridge/package.json index f84b4caa24..de0c5ebf15 100644 --- a/docs/bridge/package.json +++ b/docs/bridge/package.json @@ -1,6 +1,6 @@ { "name": "@synapsecns/bridge-docs", - "version": "0.5.12", + "version": "0.5.13", "private": true, "scripts": { "docusaurus": "docusaurus",