There is possibility of loss of fund in line 305 of the url provided above.
If the contract holds funds in the addresses specified by _tokenFrom and _tokenTo, there is a possibility of losing access to the funds if the addresses are not ERC-20 contracts. This can make the contract to not be able to interact with the address properly
This can cause loss of funds
VS Code
It shoul be ensured that _tokenFrom and _tokenTo are valid ERC-20 token addresses before interacting with them as ERC-20 tokens.This can be done by verifying the token contracts' addresses against the ERC-20 standard, error handling can also be initiated to handle situations where the addresses are not valid ERC20s
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.