The constructor
code can be optimized further, to reduce deployment cost.
The constructor
can be marked as payable
to save some gas.
Also, for better gas usage, a collateralTokens
array can be created in memory, then addresses are pushed there and then made equal to the one in storage.
The gas saving would be significant, especially for a larger array of collateral tokens.
Manual review
The constructor can be optimized and then rewritten as:
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.