Verified contractPartial
greeter
Address0xf461c3e01b193aac2c77b0ea522bdb9dc89f63f9
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.8
- Same code
13 more contracts
Details
- Compiler
- solc 0.4.8+commit.60cc1668
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 3,024,902
- Creation transaction
- 0xc60620a4ed…0e3c0099c7
- Main copy (most transactions)
- 0xd64487c0…de1c5bbb
mortal.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity 0.4.8;
contract mortal {
/* Define variable owner of the type address*/
address owner;
/* this function is executed at initialization and sets the owner of the contract */
function mortal() { owner = msg.sender; }
/* Function to recover the funds on the contract */
function kill() { if (msg.sender == owner) selfdestruct(owner); }
}
contract greeter is mortal {
/* define variable greeting of the type string */
string greeting;
/* this runs when the 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.