Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uniswap/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ class UniswapV4_PathKey:
# The hooks of the pool
hooks : List[Address]

def __repr__(self) -> Tuple(Address, Address, int, int, List[Address]):
def __repr__(self) -> Tuple[Address, Address, int, int, List[Address]]:
return (self.currency0, self.currency1, self.fee, self.tickSpacing, self.hooks)
4 changes: 2 additions & 2 deletions uniswap/uniswap4.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def get_quote_exact_input(
self,
currency: AddressLike, # input token
qty: int,
path : list[UniswapV4_PathKey],
path : List[UniswapV4_PathKey],
) -> Any:
"""
:path is a swap route
Expand All @@ -232,7 +232,7 @@ def get_quote_exact_output(
self,
currency: AddressLike, # input token
qty: int,
path : list[UniswapV4_PathKey],
path : List[UniswapV4_PathKey],
) -> Any:
"""
:path is a swap route
Expand Down