The isAllowedToken modifier is only used once by the depositCollateral function (Line 152). Therefore, the logic of the modifier should be put inside the depositCollateral function to save gas.
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.