Verified contractPartial
greeter
Address0x0d52016e4e31a94810857cc85564fa448d20ef66
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.4.19
- Same code
25 more contracts
Details
- Compiler
- solc 0.4.19+commit.c4cbbb05
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,170,229
- Creation transaction
- 0xc1fcf8fd84…bf9b5994cb
greeter.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract mortal {
/* Define owner */
address owner;
/* executed at init and sets the owner */
function mortal() { owner = msg.sender; }
/* Recover funds */
function kill() {
if (msg.sender == owner) selfdestruct(owner);
}
}
contract greeter is mortal {
/* Define greeting */
string greeting;
/* Runs when contract is executed */
function greeter(string _greeting) public {
greeting = _greeting;
}
/* Main function */
function greet() constant returns (string) {
return greeting;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.