The return value of the approve() method in the constructor isn't handled.
As defined in the ERC20 Specification (ref. https://eips.ethereum.org/EIPS/eip-20), the approve function returns a bool that signals the success of the call. However, in the constructor the value returned from calls to approve is ignored.
Line 26 -29
The function signature has a boolean return value and it indicates the errors that way instead. By not checking the return value, operations that should have marked as failed, may potentially go through without actually approving anything.
Slither
Add return value check to avoid unexpected behaviour/crash of the contract. Return value check will help in handling the exceptions in better way.
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.