{ "contractName": "IUniswapExchange", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "MintTokens", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ethToTokenSwapInput", "outputs": [ { "internalType": "uint256", "name": "tokensBought", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokens_bought", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ethToTokenSwapOutput", "outputs": [ { "internalType": "uint256", "name": "tokensSold", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "MintTokens", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "address", "name": "recipient", "type": "address" } ], "name": "ethToTokenTransferInput", "outputs": [ { "internalType": "uint256", "name": "tokensBought", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ethSold", "type": "uint256" } ], "name": "getEthToTokenInputPrice", "outputs": [ { "internalType": "uint256", "name": "tokensBought", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokensSold", "type": "uint256" } ], "name": "getTokenToEthInputPrice", "outputs": [ { "internalType": "uint256", "name": "ethBought", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ethbought", "type": "uint256" } ], "name": "getTokenToEthOutputPrice", "outputs": [ { "internalType": "uint256", "name": "tokensToBeSold", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokens_sold", "type": "uint256" }, { "internalType": "uint256", "name": "min_eth", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "tokenToEthSwapInput", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "eth_bought", "type": "uint256" }, { "internalType": "uint256", "name": "max_colTokens", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "tokenToEthSwapOutput", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokens_sold", "type": "uint256" }, { "internalType": "uint256", "name": "min_eth", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "address", "name": "recipient", "type": "address" } ], "name": "tokenToEthTransferInput", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokensSold", "type": "uint256" }, { "internalType": "uint256", "name": "MintTokensBought", "type": "uint256" }, { "internalType": "uint256", "name": "minEthBought", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "address", "name": "tokenAddr", "type": "address" } ], "name": "tokenToTokenSwapInput", "outputs": [ { "internalType": "uint256", "name": "tokensBought", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokens_sold", "type": "uint256" }, { "internalType": "uint256", "name": "min_colTokens_bought", "type": "uint256" }, { "internalType": "uint256", "name": "min_eth_bought", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "address", "name": "token_addr", "type": "address" } ], "name": "tokenToTokenTransferInput", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }