{
  "_format": "hh-sol-artifact-1",
  "contractName": "IAugustusV6",
  "sourceName": "contracts/router/swap-aggregator/ParaswapScaleHelper.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "executor",
          "type": "address"
        },
        {
          "components": [
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct IAugustusV6.GenericData",
          "name": "swapData",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "executorData",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountIn",
      "outputs": [],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "uint256",
              "name": "beneficiaryAndApproveFlag",
              "type": "uint256"
            }
          ],
          "internalType": "struct IAugustusV6.BalancerV2Data",
          "name": "balancerData",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOnBalancerV2",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "paraswapShare",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "partnerShare",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "curveData",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "curveAssets",
              "type": "uint256"
            },
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct IAugustusV6.CurveV1Data",
          "name": "curveV1Data",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOnCurveV1",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "paraswapShare",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "partnerShare",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "curveData",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "i",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "j",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "poolAddress",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct IAugustusV6.CurveV2Data",
          "name": "curveV2Data",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOnCurveV2",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "paraswapShare",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "partnerShare",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "bytes",
              "name": "pools",
              "type": "bytes"
            }
          ],
          "internalType": "struct IAugustusV6.UniswapV2Data",
          "name": "uniData",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOnUniswapV2",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "paraswapShare",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "partnerShare",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "quotedAmount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "bytes",
              "name": "pools",
              "type": "bytes"
            }
          ],
          "internalType": "struct IAugustusV6.UniswapV3Data",
          "name": "uniData",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "partnerAndFee",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOnUniswapV3",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "paraswapShare",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "partnerShare",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "contract IERC20",
              "name": "srcToken",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "destToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "fromAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toAmount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "toll",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "to18ConversionFactor",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "exchange",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "gemJoinAddress",
              "type": "address"
            },
            {
              "internalType": "bytes32",
              "name": "metadata",
              "type": "bytes32"
            },
            {
              "internalType": "uint256",
              "name": "beneficiaryDirectionApproveFlag",
              "type": "uint256"
            }
          ],
          "internalType": "struct IAugustusV6.MakerPSMData",
          "name": "makerPSMData",
          "type": "tuple"
        },
        {
          "internalType": "bytes",
          "name": "permit",
          "type": "bytes"
        }
      ],
      "name": "swapExactAmountInOutOnMakerPSM",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "spentAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "receivedAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
