When a partially filled short order gets filled again, the updatedAt
timestamp of the associated short record is updated which resets the time required for primary liquidation even if the collateral ratio is below the liquidation threshold.
Although ordinary short records have one-to-one mapping with short orders, the short record at id == 254, can have multiple short orders associated with it. This can make it possible for some type of user's to keep a calculated low collateral ratio and offset the primary liquidation through the creation of short orders.
If the account is an entity that manages shorting/funds of several people, it can park the first 253 slots and make its regular short openings via id == 254 hence resetting the updatedAt
frequently making primary liquidations not possible.
Some users may be able to sustain a collateral ratio < primary liquidation threshold for a long time.
If deciding to mitigate this issue, a separate mapping could be created containing the flag times for each shortRecord.
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.