Skip to content

Instantly share code, notes, and snippets.

@amitkot
Created December 18, 2018 07:15
Show Gist options
  • Save amitkot/22f4066e68443c23e28f5e7634ef8fa3 to your computer and use it in GitHub Desktop.
Save amitkot/22f4066e68443c23e28f5e7634ef8fa3 to your computer and use it in GitHub Desktop.
DutchExchange PriceOracleInterface ABI with modified getUSDETHPrice() function that has stateMutability "view"
[
{
"constant": true,
"inputs": [],
"name": "emergencyMode",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "updateCurator",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_emergencyMode",
"type": "bool"
}
],
"name": "raiseEmergency",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getUSDETHPrice",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "priceFeedSource",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_priceFeedSource",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "priceFeedSource",
"type": "address"
}
],
"name": "NonValidPriceFeed",
"type": "event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment