interface IBancorNetwork {
  function etherTokens(address _token) external view returns(bool);       // list of all supported ether tokens

  function convert2(
    address[] calldata _path,
    uint256 _amount,
    uint256 _minReturn,
    address _affiliateAccount,
    uint256 _affiliateFee
  ) external payable returns(uint256);

  function claimAndConvert2(
    address[] calldata _path,
    uint256 _amount,
    uint256 _minReturn,
    address _affiliateAccount,
    uint256 _affiliateFee
  ) external returns(uint256);

  function getReturnByPath(address[] calldata _path, uint256 _amount)
    external view returns(uint256 toUserAmount, uint256 feeAmount);
}
function convert2(
  address[] calldata _path,
  uint256 _amount,
  uint256 _minReturn,
  address _affiliateAccount,
  uint256 _affiliateFee
) external payable returns(uint256);

// list of all supported ether tokens