The Lender
contract has two functions, setLenderFee
and setBorrowerFee
, that do not emit events when critical parameters are changed. This makes it difficult to track changes in the values of these parameters off-chain.
The setLenderFee
and setBorrowerFee
functions in the Lender
contract allow the owner to set the fees for lenders and borrowers, respectively. However, these functions do not emit events when the fees are changed, making it difficult to track changes in the values of these fees off-chain.
The lack of events for critical parameter changes can make it difficult for off-chain systems to track changes in the values of these parameters. This can lead to a lack of transparency and make it more difficult to monitor the contract's behavior.
Manual code review.
One way to mitigate this issue is by adding events to the setLenderFee
and setBorrowerFee
functions that are emitted when the fees are changed. This would allow off-chain systems to easily track changes in the values of these fees and improve transparency. Here is an example of how this could be implemented:
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.