Skip to content

Instantly share code, notes, and snippets.

@suhailgme
Created March 2, 2020 01:25
Show Gist options
  • Save suhailgme/ecd2e71d4adc0a36f114c28e52bba3e0 to your computer and use it in GitHub Desktop.
Save suhailgme/ecd2e71d4adc0a36f114c28e52bba3e0 to your computer and use it in GitHub Desktop.
[
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "toWhomIssued",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "IncomingTokenAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "UniPoolUnderlyingTokenAddressTokenAddress",
"type": "address"
}
],
"name": "details",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "residualETHtransferred",
"type": "uint256"
}
],
"name": "residualETH",
"type": "event"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_toWhomToIssue",
"type": "address"
},
{
"internalType": "address",
"name": "_IncomingTokenContractAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "_IncomingTokenQty",
"type": "uint256"
},
{
"internalType": "address",
"name": "_UniPoolsUnderlyingTokenAddress",
"type": "address"
}
],
"name": "LetsInvest",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UniSwapFactoryAddress",
"outputs": [
{
"internalType": "contract IuniswapFactory_ERC20toUniPoolZapV1",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "contract IERC20",
"name": "_TokenAddress",
"type": "address"
}
],
"name": "inCaseTokengetsStuck",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address payable",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "toggleContractActive",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address payable",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "withdraw",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment