Created
January 27, 2019 17:16
-
-
Save hav-noms/4da6852c9656e10217cfda83f998bdd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_paused", | |
"type": "bool" | |
} | |
], | |
"name": "setPaused", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "initiationTime", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "externalState", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_beneficiary", | |
"type": "address" | |
} | |
], | |
"name": "setSelfDestructBeneficiary", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_myid", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_result", | |
"type": "string" | |
} | |
], | |
"name": "__callback", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "id", | |
"type": "uint256" | |
} | |
], | |
"name": "getTrade", | |
"outputs": [ | |
{ | |
"name": "symbol", | |
"type": "string" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "ethRate", | |
"type": "uint256" | |
}, | |
{ | |
"name": "totalPrice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tokenContractAddress", | |
"type": "address" | |
}, | |
{ | |
"name": "seller", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "terminateSelfDestruct", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "myid", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "result", | |
"type": "string" | |
}, | |
{ | |
"name": "proof", | |
"type": "bytes" | |
} | |
], | |
"name": "__callback", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "priceETHUSD", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "paused", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "callOracle", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getTradeListingCount", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "tradeListings", | |
"outputs": [ | |
{ | |
"name": "seller", | |
"type": "address" | |
}, | |
{ | |
"name": "symbol", | |
"type": "string" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "ethRate", | |
"type": "uint256" | |
}, | |
{ | |
"name": "totalPrice", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tokenContractAddress", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "isOwner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "lastPauseTime", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_proxy", | |
"type": "address" | |
} | |
], | |
"name": "setProxy", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "selfDestruct", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getTradeList", | |
"outputs": [ | |
{ | |
"name": "ids", | |
"type": "uint256[]" | |
}, | |
{ | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"name": "ethRates", | |
"type": "uint256[]" | |
}, | |
{ | |
"name": "totalPrices", | |
"type": "uint256[]" | |
}, | |
{ | |
"name": "tokenContractAddresss", | |
"type": "address[]" | |
}, | |
{ | |
"name": "sellers", | |
"type": "address[]" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "update", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "SELFDESTRUCT_DELAY", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "tradeID", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "selfDestructInitiated", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "setMessageSender", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "initiateSelfDestruct", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "selfDestructBeneficiary", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "listingID", | |
"type": "uint256" | |
} | |
], | |
"name": "withdrawMyDepositedTokens", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "listingID", | |
"type": "uint256" | |
} | |
], | |
"name": "getTradeCostPriceInUSD", | |
"outputs": [ | |
{ | |
"name": "costUSD", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "listingID", | |
"type": "uint256" | |
} | |
], | |
"name": "exchangeEtherForTokens", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "proxy", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "ethRate", | |
"type": "uint256" | |
}, | |
{ | |
"name": "tokenContract", | |
"type": "address" | |
} | |
], | |
"name": "createTradeListing", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_selfDestructBeneficiary", | |
"type": "address" | |
}, | |
{ | |
"name": "_proxy", | |
"type": "address" | |
}, | |
{ | |
"name": "_externalState", | |
"type": "address" | |
}, | |
{ | |
"name": "_priceETHUSD", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "fallback" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "seller", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "tradeID", | |
"type": "uint256" | |
} | |
], | |
"name": "TradeListingDeposit", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "fromSymbol", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"name": "fromAmount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "toSymbol", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"name": "toAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "Exchange", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "seller", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "tradeID", | |
"type": "uint256" | |
} | |
], | |
"name": "TradeListingWithdrawal", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "description", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "string" | |
} | |
], | |
"name": "LogString", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "description", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Loguint", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "description", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"name": "value", | |
"type": "address" | |
} | |
], | |
"name": "LogAddress", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "description", | |
"type": "string" | |
} | |
], | |
"name": "LogNewOraclizeQuery", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "price", | |
"type": "string" | |
} | |
], | |
"name": "LogNewPriceUpdate", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "SelfDestructTerminated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "beneficiary", | |
"type": "address" | |
} | |
], | |
"name": "SelfDestructed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "selfDestructDelay", | |
"type": "uint256" | |
} | |
], | |
"name": "SelfDestructInitiated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "newBeneficiary", | |
"type": "address" | |
} | |
], | |
"name": "SelfDestructBeneficiaryUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "proxyAddress", | |
"type": "address" | |
} | |
], | |
"name": "ProxyUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "isPaused", | |
"type": "bool" | |
} | |
], | |
"name": "PauseChanged", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment