abi.encodePacked should not be used with dynamic types when passing the result to a hash function such as keccak256. Use abi.encode instead, which will pad items to 32 bytes, to prevent any hash collisions.
195 keccak256(
abi.encodePacked(
keccak256(_bytecode),
address(this),
_erc20,
_salt
)
),
213 keccak256(
abi.encodePacked(
keccak256(_bytecode),
address(this),
_erc20,
_salt
)
),
https://github.com/Tapioca-DAO/tapiocaz-audit/tree/master/contracts/TapiocaWrapper.sol
In the Vesting.claim function the Claimed is emitted (Link). It is defined as: Link
event Claimed(address indexed user, uint256 amount);
135 emit Burn(msg.sender, _tokenId, options[_tokenId]);
122 emit Burn(msg.sender, _tokenId, options[_tokenId]);
https://github.com/Tapioca-DAO/tap-token-audit/tree/master/contracts/options/oTAP.sol
101 emit HarvestFees(msg.sender);
https://github.com/Tapioca-DAO/tapiocaz-audit/tree/master/contracts/TapiocaWrapper.sol
151 emit Rebalancing(msg.sender, _amount, _isNative);
https://github.com/Tapioca-DAO/tapiocaz-audit/tree/master/contracts/tOFT/TapiocaOFT.sol
99 emit TokenCreated(msg.sender, name, symbol, decimals, tokenId);
100 emit TransferSingle(msg.sender, address(0), address(0), tokenId, 0);
https://github.com/Tapioca-DAO/Yieldbox/tree/master/contracts/NativeTokenFactory.sol
[L-03] Consider using OpenZeppelin's SafeCast library to prevent unexpected overflows when casting from various type int/uint values
176 votes = uint256(position.tapAmount) * uint256(position.multiplier);
https://github.com/Tapioca-DAO/tap-token-audit/tree/master/contracts/governance/twTAP.sol
79 (result.success, result.returnData) = calli.target.call{value: val}(
380 (bool sent, ) = to.call{value: amount}("");
https://github.com/Tapioca-DAO/tapiocaz-audit/tree/master/contracts/tOFT/BaseTOFT.sol
return data (bool success,) has to be stored due to EVM architecture, if in a usage like below, 'out' and 'outsize' values are given (0,0) . Thus, this storage disappears and may come from external contracts a possible Gas griefing/theft problem is avoided
380 (bool sent, ) = to.call{value: amount}("");
https://github.com/Tapioca-DAO/tapiocaz-audit/tree/master/contracts/tOFT/BaseTOFT.sol
280 (bool sent, ) = to.call{value: amount}("");