DeFiLayer 1Layer 2
14,723 OP
Submission Details
Severity: medium
Invalid

Inaccurate Price Calculation Due to Unupdated Parameters After Deployment

Author Revealed upon completion
Updates

Lead Judging Commences

0xnevi Lead Judge 11 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
Assigned finding tags:

[invalid] finding-hardcoded-initial-price

Invalid, the initial price is represented by the `_initial_price` inputed by the deployed recorded in the `last_prices`, which represents the starting price. `raw_price` of 1 is simply the placeholder for price replication from the scrvUSD vault, which will subsequently be updated via the verifier contracts. The raw price and last price will than be compared and smoothed within `_smoothed_price` to limit suddent price growth as noted [here](https://github.com/CodeHawks-Contests/2025-03-curve?tab=readme-ov-file#parameters)

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources