calculateRcrvUSDAmount returns incorrect value due to incorrect decimal conversion.
Following is calculateRcrvUSDAmount function
So instead of multiplying the scaling factor and dividing the exchange rate the above function does the opposite due to which wrong conversion is done.
Wrong decimal conversion
Multiply the scaling factor and divide the getexchangerate
Both tokens have 18 decimals. Info
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.