pragma solidity 0.5.0;
interface EthMinter {
function getVersion() public pure returns(string memory);
function getTokenAddress(bytes memory token) public view returns(address);
function getChainId(string memory _chain) public view returns(bytes32);
function swap(address hubContract, string memory fromChain, bytes memory fromAddr, bytes memory toAddr, bytes memory token, bytes32[] memory bytes32s, uint[] memory uints, uint8[] memory v, bytes32[] memory r, bytes32[] memory s) public;
function requestSwap(address tokenAddress, string memory toChain, bytes memory toAddr, uint amount) payable public;
}