No check on active arbitrum sequencer could result in unfair liquidations
Observe the following code
The function liquidate allows the vault manager to liquidate the vault It calls the function undercollaterailised here
the function undercollaterised determines whether a vault is under collaterized by checking the amount minted and the max mintable which then calls the function eurocollateral
The tokenToEurAvg is calculated using chainlink data feeds. However there is no check for an active L2 sequencer. Without it, the data feed can be inaccurate and stale. This can result in situations where a user is unfairly liquidated to due a sudden decrease in the price of eurocollateral with no opportunity for a user to shore up their positions.
Users can be unfairly liquidated when the arbitrum sequencer is offline
manual review
Add a check whether the sequencer is active and add a grace period to give vault users time to shore up their position
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.