The depositRAACFromPool function in the StabilityPool contract is designed to allow the LiquidityPool to deposit RAAC tokens into the StabilityPool. However, the function contains a TODO comment indicating that the logic for distributing these tokens to managers based on their allocations is incomplete, leading to potential loss of assets and inefficiency in the system.
The depositRAACFromPool function only transfers RAAC tokens from the LiquidityPool to the StabilityPool but does not implement the logic to distribute these tokens to managers based on their allocations:
The intended functionality of distributing tokens to managers based on their allocations is not implemented, leading to inefficiency in the system.
The impact is Low, the likelihood is High, so the severity is Low.
Manual Review
To address this issue, the depositRAACFromPool function should be updated to include the logic for distributing RAAC tokens to managers based on their allocations.
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.