diff --git a/examples/uniswapx-encoding-example/README.md b/examples/uniswapx-encoding-example/README.md index d139426..807e685 100644 --- a/examples/uniswapx-encoding-example/README.md +++ b/examples/uniswapx-encoding-example/README.md @@ -5,6 +5,9 @@ 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 ```bash diff --git a/examples/uniswapx-encoding-example/main.rs b/examples/uniswapx-encoding-example/main.rs index d60d126..b2e2f5e 100644 --- a/examples/uniswapx-encoding-example/main.rs +++ b/examples/uniswapx-encoding-example/main.rs @@ -46,7 +46,6 @@ fn main() { let encoder = TychoRouterEncoderBuilder::new() .chain(tycho_common::models::Chain::Ethereum) .user_transfer_type(UserTransferType::TransferFrom) - .executors_file_path("config/test_executor_addresses.json".to_string()) .router_address(router_address.clone()) .build() .expect("Failed to build encoder"); @@ -163,7 +162,7 @@ fn main() { let hex_calldata = encode(&full_calldata); - println!(" ====== Simple swap WETH -> USDC ======"); + println!(" ====== Simple swap DAI -> USDT ======"); println!( "The following callback data should be sent to the filler contract, along with the \ encoded order and signature: {:?}",