fix: Add empty dicts for unichain and base in config
Also fix example: we need a checked amount or slippage set now --- don't change below this line --- ENG-4332 Took 6 minutes
This commit is contained in:
@@ -7,5 +7,7 @@
|
|||||||
"native_token_address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
|
"native_token_address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
|
||||||
"meta_registry_address": "0xF98B45FA17DE75FB1aD0e7aFD971b0ca00e379fC"
|
"meta_registry_address": "0xF98B45FA17DE75FB1aD0e7aFD971b0ca00e379fC"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"base": {},
|
||||||
|
"unichain": {}
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,7 @@ fn main() {
|
|||||||
given_amount: BigUint::from_str("1_000000000000000000").expect("Failed to create amount"),
|
given_amount: BigUint::from_str("1_000000000000000000").expect("Failed to create amount"),
|
||||||
checked_token: usdc.clone(),
|
checked_token: usdc.clone(),
|
||||||
exact_out: false, // it's an exact in solution
|
exact_out: false, // it's an exact in solution
|
||||||
checked_amount: None, // the amount out will not be checked in execution
|
checked_amount: Some(BigUint::from(1u64)),
|
||||||
swaps: vec![simple_swap],
|
swaps: vec![simple_swap],
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user