diff --git a/uniswap/types.py b/uniswap/types.py index beb65b75..a0a2a38c 100644 --- a/uniswap/types.py +++ b/uniswap/types.py @@ -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) \ No newline at end of file diff --git a/uniswap/uniswap4.py b/uniswap/uniswap4.py index 24a6831d..873b00e2 100644 --- a/uniswap/uniswap4.py +++ b/uniswap/uniswap4.py @@ -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 @@ -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