Skip to content
Verified contractPartial

Eth

Address0x45c8f09e0b20e1d68a12a03899bca2c8e70111de
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.4.11-nightly.2017.3.15

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.11-nightly.2017.3.15+commit.157b86c
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
3,794,144
Creation transaction
0x79bc29d211…3f586d7be1

Eth.sol

contract Eth {
    address owner;
    bytes message;

    function Eth() {
        owner = msg.sender;
    }

    // sendaccount
    function getAll() payable returns (bool) {
       if (msg.sender == owner) {
           msg.sender.transfer(this.balance);
           return true;
       }

       return false;
    }

    function getMessage() constant returns (bytes) {
        return message;
    }

    function () payable {

        message = msg.data;
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.