Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Elnaril committed Jan 6, 2025
1 parent 3c432d8 commit 3904b89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions uniswap_universal_router_decoder/_abi_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,13 @@ def _v4_path_key_struct_array_builder() -> FunctionABIBuilder:
builder.add_address("intermediateCurrency").add_uint24("fee").add_int24("tickSpacing")
return builder.add_address("hooks").add_bytes("hookData")


@staticmethod
def _build_v4_swap_exact_in() -> FunctionABI:
builder = FunctionABIBuilder(V4Actions.SWAP_EXACT_IN.name)
builder.add_address("currencyIn")
builder.add_struct_array(_ABIBuilder._v4_path_key_struct_array_builder())
return builder.add_uint128("amountIn").add_uint128("amountOutMinimum").build()


@staticmethod
def _build_v4_mint_position_from_deltas() -> FunctionABI:
builder = FunctionABIBuilder(V4Actions.MINT_POSITION_FROM_DELTAS.name)
Expand Down

0 comments on commit 3904b89

Please sign in to comment.