You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FLO-25: Dex Price Susceptible to Sandwich Attacks in Liquidation #234
The oracle we are adding ensures the spread between sources (including the DEX) isn't too high; otherwise, it won't return a price. It also ensures short-term volatility isn't too high.
Additionally, there is another assert in the function:
Activity
holyfuchs commentedon Mar 13, 2026
The oracle we are adding ensures the spread between sources (including the DEX) isn't too high; otherwise, it won't return a price. It also ensures short-term volatility isn't too high.
Additionally, there is another assert in the function:
FlowALP/cadence/contracts/FlowALPv0.cdc
Lines 597 to 599 in 802c194
A small sandwich attack is always possible. I don't think we should make any changes.