Contract 0x1c68f4f35ac5...e7f841149937
UnknownThis contract is not yet documented
Know something about this contract? Switch to the History tab and suggest an edit to help preserve Ethereum history.
Key Facts
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
This contract has verified source code on Etherscan.
Show source code (Solidity)
{
"language": "Solidity",
"sources": {
"USDOracle.sol": {
"content": "contract OraclizeI {\r\n function getPrice(string _datasource, uint _gas_limit) returns (uint _dsprice);\r\n function query(uint _timestamp, string _datasource, string _arg) returns (bytes32 _id);\r\n}\r\ncontract OraclizeAddrResolverI {\r\n function getAddress() returns (address _addr);\r\n}\r\n\r\n\r\ncontract USDOracle {\r\n OraclizeAddrResolverI OAR = OraclizeAddrResolverI(0x1d11e5eae3112dbd44f99266872ff1d07c77dce8);\r\n\r\n function USDOracle() {\r\n }\r\n\r\n function initialize() public {\r\n var oraclize = OraclizeI(OAR.getAddress());\r\n oraclize.query.value(msg.value)(0, \"URL\", \"http://example.com\");\r\n }\r\n\r\n function getPriceProxy() constant returns (uint) {\r\n var oraclize = OraclizeI(OAR.getAddress());\r\n return oraclize.getPrice(\"URL\", 200000);\r\n }\r\n\r\n function oneCentOfWei() constant returns (uint) {\r\n var oraclize = OraclizeI(OAR.getAddress());\r\n var price = oraclize.getPrice(\"URL\", 200000);\r\n var one_cent_of_wei = price - tx.gasprice * 200000;\r\n return one_cent_of_wei;\r\n }\r\n\r\n function WEI() constant returns (uint) {\r\n // 1 USD in WEI\r\n return oneCentOfWei() * 100;\r\n }\r\n\r\n function USD() constant returns (uint) {\r\n // 1 ETH in USD\r\n return 1 ether / oneCentOfWei();\r\n }\r\n}"
}
},
"settings": {
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"compilationTarget": {
"USDOracle.sol": "USDOracle"
}
}
}External Links
Related contracts
MemberRegistry
Same deployerOwner-controlled dynamic-array member registry.
0x1f3b19...7c161aAugust 13, 2015Members
Same deployerOwner-controlled member registry with array + mapping tracking.
0xaeb2ac...a5fd37August 14, 2015MembershipRoster
Same deployerAn Ethereum Public Trust roster contract for adding, removing, and checking members.
0xf1d327...aa0455August 14, 2015KillMul
Same deployerTest/utility contract with `suicide(address)` kill switch and a `multiply2` helper.
0x3e5e1f...7c78cdAugust 14, 2015Members
Same deployerOwner-controlled member registry using sequential id + mapping storage.
0xc6810e...db4e6fAugust 14, 2015EthereumAlarmClock
Same deployerThe first deployment of Piper Merriam's Ethereum Alarm Clock, a smart contract protocol for scheduling transactions at future block numbers, launched on Septemb
0xb0059e...cc0cc1September 22, 2015