Whale user influence the asset distribution.
when liquidation happens, the assets are distributed based on the amount of is staked. This is done by calling the function distributeAssets.
This function traverse all the all the holder's position and compute the amount of shared based on each holder's staked amount.
https://github.com/Cyfrin/2023-12-the-standard/blob/91132936cb09ef9bf82f38ab1106346e2ad60f91/contracts/LiquidationPool.sol#L211-L234
The shares is awarded in the forms of reward. this can be claimed later,
Large amount of rewards can be taken out by the whale user. They will deposit huge sum an withdraw shortly. The delay period is one day.
An user who has staked from beginning will gets impacted.
Manual review.
The fix would need major changes in the staking process.
one possible solution is to use time weighted average of staked portion when calculating the rewards.
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.