The loans data structure can be cached in memory in the for loops to save gas.
In many functions where there is a for loop the loans array can be stored in memory to save some gas. I am talking only about the lines where we only read from the storage.
We save gas as reading from storage is an expensive operation.
Store the loans array in memory in the functions that read from it multiple times (is used inside a for loop).
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.