[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "dodoSellHelper",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "_DODO_SELL_HELPER_",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function",
    "constant": true
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "fromTokenAmount",
        "type": "uint256"
      },
      {
        "internalType": "address[]",
        "name": "dodoPairs",
        "type": "address[]"
      },
      {
        "internalType": "uint8[]",
        "name": "directions",
        "type": "uint8[]"
      }
    ],
    "name": "calcReturnAmountV1",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      },
      {
        "internalType": "uint256[]",
        "name": "midPrices",
        "type": "uint256[]"
      },
      {
        "internalType": "uint256[]",
        "name": "feeRates",
        "type": "uint256[]"
      }
    ],
    "stateMutability": "view",
    "type": "function",
    "constant": true
  }
]