[
    {
        "inputs": [
            {
                "components": [
                    {
                        "internalType": "address[]",
                        "name": "path",
                        "type": "address[]"
                    },
                    {
                        "internalType": "address[]",
                        "name": "pairs",
                        "type": "address[]"
                    },
                    {
                        "internalType": "bytes[]",
                        "name": "extras",
                        "type": "bytes[]"
                    },
                    {
                        "internalType": "uint256",
                        "name": "inputAmount",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "minOutputAmount",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "expectedOutputAmount",
                        "type": "uint256"
                    },
                    {
                        "internalType": "address",
                        "name": "to",
                        "type": "address"
                    },
                    {
                        "internalType": "uint256",
                        "name": "deadline",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "partner",
                        "type": "uint256"
                    },
                    {
                        "internalType": "bytes",
                        "name": "sig",
                        "type": "bytes"
                    }
                ],
                "internalType": "struct ISwappaRouterV1.SwapPayload[]",
                "name": "details",
                "type": "tuple[]"
            },
            {
                "internalType": "address",
                "name": "router",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "depositPairAddr",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "minExpected",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "internalType": "bytes",
                "name": "data",
                "type": "bytes"
            }
        ],
        "name": "oneClickDeposit",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]
