Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhailgme/bbf5da6474c26c1d3f43838b2a835f56 to your computer and use it in GitHub Desktop.
Save suhailgme/bbf5da6474c26c1d3f43838b2a835f56 to your computer and use it in GitHub Desktop.
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IuniswapExchange_UniSwapRemoveLiquityGeneral_v1",
"name": "ExchangeAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IERC20",
"name": "TokenAdddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_user",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "LiqRed",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "ethRec",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenRec",
"type": "uint256"
},
{
"indexed": true,
"internalType": "string",
"name": "func",
"type": "string"
}
],
"name": "details",
"type": "event"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"constant": true,
"inputs": [],
"name": "DaiTokenAddress",
"outputs": [
{
"internalType": "contract IERC20",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_TokenContractAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "LiquidityTokenSold",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_returnInDai",
"type": "bool"
}
],
"name": "LetsWithdraw_onlyERC",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_TokenContractAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "LiquidityTokenSold",
"type": "uint256"
}
],
"name": "LetsWithdraw_onlyETH",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UniSwapFactoryAddress",
"outputs": [
{
"internalType": "contract IuniswapFactory_UniSwapRemoveLiquityGeneral_v1",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "destruct",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "dzgoodwillAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "goodwill",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_UniSwapFactoryAddress",
"type": "address"
},
{
"internalType": "uint16",
"name": "_goodwill",
"type": "uint16"
},
{
"internalType": "address",
"name": "_dzgoodwillAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_DaiTokenAddress",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "initialize",
"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": [
{
"internalType": "address",
"name": "_new_UniSwapFactoryAddress",
"type": "address"
}
],
"name": "set_new_UniSwapFactoryAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_new_dzgoodwillAddress",
"type": "address"
}
],
"name": "set_new_dzgoodwillAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint16",
"name": "_new_goodwill",
"type": "uint16"
}
],
"name": "set_new_goodwill",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"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"
},
{
"constant": false,
"inputs": [
{
"internalType": "contract IERC20",
"name": "_targetContractAddress",
"type": "address"
}
],
"name": "withdrawERC20Token",
"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