diff --git a/uniswap/uniswap4.py b/uniswap/uniswap4.py index 46e2e60..2357982 100644 --- a/uniswap/uniswap4.py +++ b/uniswap/uniswap4.py @@ -156,7 +156,7 @@ def get_price( try: price = int(self.w3.eth.call(signed_txn)) except ContractLogicError as revert: - price = int(self.w3.codec.decode(["int128[]","uint160","uint32"], bytes(revert.data))[1]) + price = int(self.w3.codec.decode(["int128[]","uint160","uint32"], bytes(revert.data))[1]) # type: ignore return price def get_slot0( pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy