web3
Could not identify the intended function with name exactInputSingle
, positional arguments with type(s) (dict)
and keyword arguments with type(s) {}
.
Found 1 function(s) with the name exactInputSingle
: ['exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))']
Function invocation failed due to no matching argument types.
うまくキャストできない場合は空になるっぽい
quote_params: {'tokenIn': '0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14', 'tokenOut': '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', 'amountIn': 2000000000000000, 'fee': 3000, 'sqrtPriceLimitX96': 0}
quote_params: {'tokenIn': '0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14', 'tokenOut': '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', 'amountIn': -382615384615384640, 'fee': 3000, 'sqrtPriceLimitX96': 0}
2024-10-29 18:49:07.590 | ERROR | dex.core.swap_detector:detect_swap:54 - error(<class 'web3.exceptions.MismatchedABI'>): 0xcf416091829a1931d8bd93d5a59c631c9a5b67e298bfc26ef44b35eaa6fdf9af,
Could not identify the intended function with name quoteExactInputSingle
, positional arguments with type(s) (dict)
and keyword arguments with type(s) {}
.
Found 1 function(s) with the name quoteExactInputSingle
: ['quoteExactInputSingle((address,address,uint256,uint24,uint160))']
Function invocation failed due to no matching argument types.
Traceback (most recent call last):