get_input_args

Documentation for eth_defi.uniswap_v3.analysis.get_input_args function.

get_input_args(params)

Names and decodes input arguments from router.decode_function_input()

Note there is no support yet for SwapRouter02, it does not accept a deadline parameter. See: https://docs.uniswap.org/contracts/v3/reference/periphery/interfaces/ISwapRouter#exactinputparams

Example struct:

struct ExactInputParams {
    bytes path;
    address recipient;
    uint256 amountIn;
    uint256 amountOutMinimum;
}
Parameters

params (tuple | dict) – params from router.decode_function_input

Returns

Dict of exactInputParams as specified in the link above

Return type

dict