Use increaseAllowance()
/decreaseAllowance()
instead of approve()
/safeApprove()
Changing an allowance with approve() brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. Refer to ERC20 API: An Attack Vector on the Approve/TransferFrom Methods. It is recommended to use the increaseAllowance()
/decreaseAllowance()
to avoid this problem.
Github: [198]
See #Vulnerability Details
Manual Review
Use increaseAllowance()
/decreaseAllowance()
instead of approve()
/safeApprove()
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.