add audit note

This commit is contained in:
han 2025-01-20 23:53:47 +07:00
parent 964e75dfd6
commit 4328ff75f4

View File

@ -161,6 +161,7 @@ contract TokenDivider is IERC721Receiver, Ownable {
revert TokenDivider__NotEnoughErc20Balance(); revert TokenDivider__NotEnoughErc20Balance();
} }
// @audit: what if token already sent to other address through ERC20 send function
ERC20ToGenerateNftFraccion(tokenInfo.erc20Address).burnFrom( ERC20ToGenerateNftFraccion(tokenInfo.erc20Address).burnFrom(
msg.sender, erc20ToMintedAmount[tokenInfo.erc20Address] msg.sender, erc20ToMintedAmount[tokenInfo.erc20Address]
); );