In the updateOpenInterest
function, there is no check to ensure that the newOpenInterest
does not exceed the maxOpenInterest
. This omission could lead to the market's open interest surpassing the intended limit, potentially increasing risk and instability.
Exceeding the maximum open interest can lead to excessive risk exposure and market instability, impacting the overall integrity of the trading platform.
Manual review
Implement the check within the updateOpenInterest
function:
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.