Verified contractPartial
greeter
Address0xd2a67321e79a686e7b028924603b5b2fa06e9a80
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.24
- Same code
5 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,804,833
- Creation transaction
- 0xe165e50662…d8eebbe657
greeter.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
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 die() { if (msg.sender == owner) suicide(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 say() 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.