Back to HomePart of The Piper Merriam CollectionDeployer Piper Merriam(0xd3cda9...293601) Deployment Block 945,786 Deployment Date Feb 3, 2016, 05:25 AM Code Size 880.0 B Gas at Deploy 261,447
Contract 0x1c68f4f35ac5...e7f841149937
UnknownDeployed February 3, 2016 (10 years ago)Block 945,786
This contract is not yet documented
Know something about this contract? Switch to the History tab and suggest an edit to help preserve Ethereum history.
Frontier EraVerified Source
Key Facts
Transactions by Year
20163
20191
Deployment Transaction: 0xfbbc02b1b69844b6...30ea91a5f3c79cba
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Detected Type: Unknown
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Block span: 0 — 1,149,999
July 30, 2015 — March 14, 2016
Bytecode Overview
Opcodes880
Unique Opcodes125
Jump Instructions26
Storage Operations9
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"
}
}
}