Direct use of the 'transfer()' and 'transferFrom()' functions in ERC20 contracts may introduce vulnerabilities, especially in tokens that are not fully compliant with ERC20 standards. This can cause transaction failure and damage the reliability of the contract.
In the contract 'FjordAuctionFactory.sol', a direct use of the 'transfer()' function was found to transfer ERC20 tokens. This function does not always return a boolean value, which can cause failure when a token not compliant with the ERC20 standard is called.
loss of tokens
transaction failure
can damage the integrity and reliability of the contract
Manual Analysis
Use the SafeERC20 library from OpenZeppelin which provides the 'safeTransfer()' and 'safeTransferFrom()' functions. These functions check the results of the transfer operation and ensure that the transaction is successful or return appropriate errors if it fails.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.