code-423n4 / 2023-05-caviar-mitigation-contest-findings

0 stars 0 forks source link

Mitigation Confirmed for M-06 #41

Open code423n4 opened 1 year ago

code423n4 commented 1 year ago

In my opinion, the proposed fix is exactly what is needed for addressing the issue at hand. The new function, flashFeeAndProtocolFee, has been designed to calculate the fee that should be paid to the factory per flash loan operation, as well as the flash loan fee. It is implemented using the same methodology as the other fee-calculating functions, ensuring that it is safe and effective. Overall, I believe that this solution is entirely appropriate and should provide a resolution to the problem.

c4-judge commented 1 year ago

GalloDaSballo marked the issue as satisfactory