Files
tycho-execution/examples/uniswapx-encoding-example
Diana Carvalho 5eb9973dbd feat: Add estimated_amount_in to Swap. Add SwapBuilder
Use SwapBuilder everywhere inside crate
Integration tests will be done later

--- don't change below this line ---
ENG-4696 Took 1 hour 56 minutes

Took 4 minutes
2025-08-13 18:05:17 +01:00
..
2025-07-14 11:24:05 -04:00

UniswapX Encoding Example

This guide enables you to:

  1. Create a Solution object
  2. Create callback data for executing a UniswapX Order

Note: This guide only encodes the callback data for you. You will still have to encode the call to the execute method of the filler, which also includes the encoded UniswapX order.

How to run

cargo run --release --example uniswapx-encoding-example