maxMintable() is supposed to be a rate percentage of the total collateral deposited(which should be totalCollateral * rate / 10000), However it was implemented with
This vulnerabiltiy is due to the calculation of the maxMintable() which is a crucial function for the protocol and represents a precentage rate of the totalColleteral deposited, However, was done in the reverse as shown above.
This affect the overall accounting of the vault contract for every user.
Visual Studio Code
Modify to this:
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.