Skip to content
Verified contractPartial

greeter

Address0xf38c87baf714c93bc0e0a4e5a44d4ddef908e8c1
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.2.1

 

Same code

2 more contracts

 

Details

Compiler
solc 0.2.1+commit.91a6b35f
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
1,621,303
Creation transaction
0x594444a9fa…93e4fced6e

greeter.sol

// Submitted by EthereumHistory (ethereumhistory.com)
contract mortal {
    address owner;
    function mortal() { owner = msg.sender; }
}
contract greeter is mortal {
    string greeting;
    function greeter(string _greeting) {
        greeting = _greeting;
    }
    function greet() returns (string) {
        return greeting;
    }
    function kill() { if (msg.sender == owner) suicide(owner); }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.