Skip to content

In-depth lesson · Rounding and precision errors

Reports behind this point

Examine oracle and tick handling. Prices and ticks rounded in the wrong direction can let a swapper trade below the signed value or overpay. Check spot price deviation checks for precision too low to catch a manipulated price.