see deatails.
vaults()
is a view
function which fetches all smartVaults Data for a coresponding caller,
But problem here is that it assumes collateralRate
, mintFeeRate
& burnFeeRate
for vaults is same as current collateralRate
, mintFeeRate
& burnFeeRate
contratct state.
while there are setter functions like setMintFeeRate()
setBurnFeeRate()
which will changes value of state any time via Owner of contract.
So its possible that during smartVault creation those parameter mintFeeRate
& burnFeeRate
is different from current value. So this will provide wrong info.
User will get wrong info about smartVault
Manual Review
There should individual stoage which store coressponding mintFeeRate
and burnFeeRate
for smartVaults.
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.