Skip to content
Verified contractPartial

Greeter

Address0x1b2ea425b748da73a9103d553e1f7fc9824bafcb
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.1.7

 

Same code

1 more contract

 

Details

Compiler
solc 0.1.7+commit.b4e666cc
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
625,356
Creation transaction
0x0c8530e6d6…77354de343

Greeter.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Greeter {
    address creator;
    string greeting;
    function Greeter(string _greeting) {
        creator = msg.sender;
        greeting = _greeting;
    }
    function greet() constant returns (string) {
        return greeting;
    }
    function kill() {
        if (msg.sender == creator)
            suicide(creator);
    }
    function getBlockNumber() constant returns (uint) {
        return block.number;
    }
    function setGreeting(string _newgreeting) {
        greeting = _newgreeting;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.