According to the createPerpMarket
, IMR and MMR can be equal:
Deploying market with such configuration will lead to almost instant position liquidation and will harm the users who will be good with being allowed to open positions with lower margin.
When both IMR and MMR are equal or similar to each other, high percent of the positions will be instantly liquidated, when their order is being executed. This will happen because market pair is volatile and in short amount of time can fall below the IMR = MMR and keeper to identify and liquidate it.
Instant position liquidation since the configuration allows passing similar numbers as margin requirements.
Manual Review
Add some buffer to prevent passing similar numbers.
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.