From f2d9028afad572d99724386bf1d25f581414b3b4 Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Tue, 6 Apr 2021 18:03:32 +0300 Subject: [PATCH] Comment about TUSD in fixMediatorBalance (#39) --- contracts/upgradeable_contracts/BasicOmnibridge.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/upgradeable_contracts/BasicOmnibridge.sol b/contracts/upgradeable_contracts/BasicOmnibridge.sol index 0ab2a31..5830540 100644 --- a/contracts/upgradeable_contracts/BasicOmnibridge.sol +++ b/contracts/upgradeable_contracts/BasicOmnibridge.sol @@ -236,6 +236,9 @@ abstract contract BasicOmnibridge is * @dev Allows to send to the other network the amount of locked tokens that can be forced into the contract * without the invocation of the required methods. (e. g. regular transfer without a call to onTokenTransfer) * @param _token address of the token contract. + * Before calling this method, it must be carefully investigated how imbalance happened + * in order to avoid an attempt to steal the funds from a token with double addresses + * (e.g. TUSD is accessible at both 0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E and 0x0000000000085d4780B73119b644AE5ecd22b376) * @param _receiver the address that will receive the tokens on the other network. */ function fixMediatorBalance(address _token, address _receiver)