Skip to content
Request an audit

Exhausting a flow before moving on, and who profits when the median moves

We continued the Mento V3 contest on Cantina.

Lesson Summary:

  • Finding one lead in a flow does not mean it is the only one. Don't lose focus: exhaust every scenario you can think of before moving on;
    Front-running trusted entity fns mentioned again;
  • If the price rises because the median moved, can an attacker profit from it, through liquidations or otherwise?
  • Think through scenarios with only one oracle;
  • In the new function, check if something must be called before calling _updateTrackingVariables, basically check what they do before calling `offset` in the trove manager.
Watch the session on YouTube ↗
Message on Telegram All 62 posts