From aea708258fdf6be37a4c0dbaa61261e3a83fc467 Mon Sep 17 00:00:00 2001 From: boyuanx Date: Wed, 14 Feb 2024 10:31:44 -0800 Subject: [PATCH] Silence false slither warnings --- contracts/core/extensions/native-token/TTUV2Native.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/core/extensions/native-token/TTUV2Native.sol b/contracts/core/extensions/native-token/TTUV2Native.sol index 75262ea..88f23d7 100644 --- a/contracts/core/extensions/native-token/TTUV2Native.sol +++ b/contracts/core/extensions/native-token/TTUV2Native.sol @@ -19,7 +19,7 @@ contract TTUV2Native is TokenTableUnlockerV2 { TokenTableUnlockerV2Storage storage $ = _getTokenTableUnlockerV2Storage(); if (!$.isWithdrawable) revert NotPermissioned(); - // slither-disable-next-line + // slither-disable-next-line arbitrary-send-eth (bool sent, bytes memory data) = payable(_msgSender()).call{ value: amount }(""); @@ -47,7 +47,7 @@ contract TTUV2Native is TokenTableUnlockerV2 { ]; if (deltaAmountClaimable != 0) { $.pendingAmountClaimableForCancelledActuals[actualId] = 0; - // slither-disable-next-line + // slither-disable-next-line arbitrary-send-eth (bool sent, bytes memory data) = payable(recipient).call{ value: deltaAmountClaimable }(""); @@ -78,7 +78,7 @@ contract TTUV2Native is TokenTableUnlockerV2 { ) = calculateAmountClaimable(actualId); Actual storage actual = $.actuals[actualId]; actual.amountClaimed = updatedAmountClaimed; - // slither-disable-next-line + // slither-disable-next-line arbitrary-send-eth (bool sent, bytes memory data) = payable(recipient).call{ value: deltaAmountClaimable }("");