Verified contractPartial
Test
Address0x36545a1a147d34b59b2c5f6e59a4b65d3211d2df
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.1.6
- Same code
Only this contract
Details
- Compiler
- solc 0.1.6+commit.d41f8b7c
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 495,694
- Creation transaction
- 0xfd339e698f…03a4907fd6
Test.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract OraclizeI {
function query(uint timestamp, string datasource, string arg) returns (bytes32 id);
function getPrice(string datasource) returns (uint dsprice);
}
contract OraclizeAddrResolverI {
function getAddress() returns (address addr);
}
contract usingOraclize {
uint day = 60*60*24;
uint week = 60*60*24*7;
uint month = 60*60*24*30;
OraclizeI oraclize;
modifier oraclizeAPI {
OraclizeAddrResolverI OAR = OraclizeAddrResolverI(0x1d11e5eae3112dbd44f99266872ff1d07c77dce8);
oraclize = OraclizeI(OAR.getAddress());
_
}
modifier coupon(string code) {
_
}
function oraclize_query(string datasource, string arg) oraclizeAPI returns (bytes32 id) {
return oraclize.query.value(oraclize.getPrice(datasource))(0, datasource, arg);
}
}
contract Test is usingOraclize {
function __callback(bytes32 myid, string result, byte[] proof) coupon("DEVCON1") {
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.