From 4328ff75f4a2bd5804f30645b4fece8757307cf4 Mon Sep 17 00:00:00 2001 From: han Date: Mon, 20 Jan 2025 23:53:47 +0700 Subject: [PATCH] add audit note --- src/TokenDivider.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TokenDivider.sol b/src/TokenDivider.sol index 05d705c..18653e6 100644 --- a/src/TokenDivider.sol +++ b/src/TokenDivider.sol @@ -161,6 +161,7 @@ contract TokenDivider is IERC721Receiver, Ownable { revert TokenDivider__NotEnoughErc20Balance(); } + // @audit: what if token already sent to other address through ERC20 send function ERC20ToGenerateNftFraccion(tokenInfo.erc20Address).burnFrom( msg.sender, erc20ToMintedAmount[tokenInfo.erc20Address] );