You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have having an issue with my Uniswap ABIFunction, the function is defined on the Uniswap V3 Router 0x1F98431c8aD98523631AE4a59f267346ea31F984 getPool(address,address,uint24)
fails with executionError(Code: -32000 Message: execution reverted)
I assume passing BigUInt is sufficient for the uint24 getPool requires
it seems there is a typo in your query, the uint24 input should be 3000 not 300, it is the percent fee of a Uniswap pool, if there is no pool at the given percent it returns empty address
either way shouldn't the function still return an empty EthereumAddress instead of failing?
If the call returns executionError(Code: -32000 Message: execution reverted) the result is correct. It fails executing so defaulting to a specific value is not a good behaviour.
I have having an issue with my Uniswap ABIFunction, the function is defined on the Uniswap V3 Router
0x1F98431c8aD98523631AE4a59f267346ea31F984
getPool(address,address,uint24)
fails with
executionError(Code: -32000 Message: execution reverted)
I assume passing BigUInt is sufficient for the uint24
getPool
requiresThe text was updated successfully, but these errors were encountered: