From a126a7b0715192c9551248afa9918bbc0a30869e Mon Sep 17 00:00:00 2001 From: nmlinaric Date: Thu, 8 Aug 2024 21:12:31 +0200 Subject: [PATCH] add usage warning message to adapter contract --- contracts/adapters/GmpTransferAdapter.sol | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/contracts/adapters/GmpTransferAdapter.sol b/contracts/adapters/GmpTransferAdapter.sol index 07625ecb..bbad0a33 100644 --- a/contracts/adapters/GmpTransferAdapter.sol +++ b/contracts/adapters/GmpTransferAdapter.sol @@ -9,6 +9,21 @@ import "../../contracts/interfaces/IFeeHandler.sol"; import "../XERC20/interfaces/IXERC20.sol"; import "./interfaces/IGmpTransferAdapter.sol"; +/** + .__ __. ______ .___________. __ ______ _______ + | \ | | / __ \ | || | / || ____| + | \| | | | | | `---| |----`| | | ,----'| |__ + | . ` | | | | | | | | | | | | __| + | |\ | | `--' | | | | | | `----.| |____ + |__| \__| \______/ |__| |__| \______||_______| + + @user be careful when interacting with this contact as it enables + permissionless token addition and transfers via Sygma brige. + Always double check contract addresses and code you are interacting with + since a malicious actor could deploy a fake contract on a route + that is isn't set up by the Sygma team or a trusted 3rd party. + This can result in loss of all your funds. +*/ contract GmpTransferAdapter is IGmpTransferAdapter, AccessControl { using ERC165Checker for address;