feat: remove exact_out from USV2

This commit is contained in:
royvardhan
2025-01-30 20:48:35 +05:30
parent 95d45975ad
commit 8cb95f0950
4 changed files with 7 additions and 9 deletions

View File

@@ -46,7 +46,6 @@ impl SwapEncoder for UniswapV2SwapEncoder {
component_id,
bytes_to_address(&encoding_context.receiver)?,
zero_to_one,
encoding_context.exact_out,
);
Ok(args.abi_encode_packed())
@@ -211,8 +210,6 @@ mod tests {
"0000000000000000000000000000000000000001",
// zero for one
"00",
// exact out
"00",
))
);
}