The purrgeBadPawsition
function involves calculations for collateral distribution and rewards that may not handle precision correctly. This can lead to inaccuracies in the calculation of redemption percentages and reward amounts due to improper precision handling.
The function calculates redeemPercent
, toDistribute
, and extraReward
using potentially misaligned precision handling. Incorrect precision or rounding errors may affect the distribution of collateral and rewards.
Calculation Errors: Users may receive incorrect amounts of collateral or rewards due to improper precision handling.
Financial Discrepancies: Inaccurate calculations affect user rewards and collateral distributions, potentially leading to financial inconsistencies.
Manual Review
Review and adjust precision handling and arithmetic operations used in the calculations. Ensure that scaling factors and precision align with expected values to ensure accurate collateral distribution and reward calculations.
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.