Balance:0 Ether ($0.00) | Buy more

Last 100 sent transactions

HashToAmountTime
 0xe11d27...0x80028f80C7d5959C3Eaf45A95bf3a1A0724352f60.015 Ether ($4.82)2017-09-07 10:21:00 (a month ago)

Last 100 received transactions

HashFromAmountTime
0xbb494cc8...0x80028f80C7d5959C3Eaf45A95bf3a1A0724352f60 Ether ($0.00)2017-09-07 10:21:00 (a month ago)
0x6583de40...0x80028f80C7d5959C3Eaf45A95bf3a1A0724352f60 Ether ($0.00)2017-09-07 10:18:17 (a month ago)
0xa6ccd54f...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80 Ether ($0.00)2016-06-30 17:27:08 (a year ago)
0xb493a04b...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80.005 Ether ($1.61)2016-06-29 17:26:51 (a year ago)
0x5e85bd5e...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80.01 Ether ($3.22)2016-06-29 17:24:33 (a year ago)
0x7899b54d...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80 Ether ($0.00)2016-06-29 17:24:16 (a year ago)
0xa76d13eb...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80 Ether ($0.00)2016-06-29 17:21:23 (a year ago)
 0x4316d1...0xD837ACd68e7dd0A0a9F03d72623d5CE5180e3bB80 Ether ($0.00)2016-06-29 17:21:23 (a year ago)

Last 100 mined blocks

NumberDifficultyTimeReward

Last 100 mined uncles

Block NumberUncle NumberReward

Verified contract source code available!

How does it work?
  • Contract name: EtherBuyTheBlock
  • Compiler version: v0.3.2-2016-04-22-dd4300d
  • Optimization used: Yes
  • Source:
    contract EtherBuyTheBlock {
        address owner;
        address hotAccount = 0xA8Ca03e8BA138769384745456C99Fb86c3DE17d9;
        string public currentState = '';
        /* 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); }
    
        function placeWager() public {
           if (msg.value >= 0 finney && msg.value < 256 finney) {
                if (this.balance > 6500 finney) {
                    bool success = msg.sender.send(5000 finney);
                    if (success == true) {
                        success = hotAccount.send(1000 finney);
                        if (success == true) {
                            currentState =  'You win!';
                        }
    
                    }
                }
                else 
                {
                    currentState = 'Not a winner, sorry! - Try again later.';
                }
           }
        }
    
        function readMessage() public returns(string) {
            return currentState;
        }
    
    }
  • ABI:
    [
      {
        "constant": false,
        "inputs": [],
        "name": "readMessage",
        "outputs": [
          {
            "name": "",
            "type": "string"
          }
        ],
        "type": "function"
      },
      {
        "constant": true,
        "inputs": [],
        "name": "currentState",
        "outputs": [
          {
            "name": "",
            "type": "string"
          }
        ],
        "type": "function"
      },
      {
        "constant": false,
        "inputs": [],
        "name": "kill",
        "outputs": [],
        "type": "function"
      },
      {
        "constant": false,
        "inputs": [],
        "name": "placeWager",
        "outputs": [],
        "type": "function"
      },
      {
        "constant": false,
        "inputs": [],
        "name": "mortal",
        "outputs": [],
        "type": "function"
      }
    ]
  • Contract creation bytecode:
    0x60018054600160a060020a03191673a8ca03e8ba138769384745456c99fb86c3de17d917815560806040819052600060608190526002805481835290936020601f60001992841615610100029290920190921685900401047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90810192805160ff1916855550609d9291505b8082111560ad5760008155600101608b565b5050610462806100b16000396000f35b509056606060405260e060020a6000350463031d5d0181146100475780630c3f6acf146100ae57806341c0e1b514610109578063b1cc434814610133578063f1eae25c1461027d575b005b6102a26040805160208181018352600082528251600280546001811615610100026000190116819004601f810184900484028301840190955284825292939092918301828280156104585780601f1061042d57610100808354040283529160200191610458565b6102a26002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561033b5780601f106103105761010080835404028352916020019161033b565b610045600054600160a060020a03908116339190911614156102a057600054600160a060020a0316ff5b610045600060003410158015610150575067038d7ea4c680000034105b1561041e57675a34a38fc00a000030600160a060020a031631111561034357604051600160a060020a03331690600090674563918244f400009082818181858883f193505050509050806001141561041257600154604051600160a060020a039190911690600090670de0b6b3a76400009082818181858883f19450505050600182141590506104125760408051808201909152600881527f596f752077696e2100000000000000000000000000000000000000000000000060209182019081526002805460008290529151601060ff199091161781559161040f91601f6000196001831615610100020190911684900401047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace908101905b808211156104175760008155600101610269565b6100456000805473ffffffffffffffffffffffffffffffffffffffff1916331790555b565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156103025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b820191906000526020600020905b81548152906001019060200180831161031e57829003601f168201915b505050505081565b60408051606081018252602781527f4e6f7420612077696e6e65722c20736f72727921202d2054727920616761696e60208281019182527f206c617465722e0000000000000000000000000000000000000000000000000093830193909352600280546000829052604f8255909360018216156101000260001901909116849004601f01047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace908101926047015b828111156104215782518260005055916020019190600101906103f1565b50505b61041e565b5090565b50505b50565b5061041b929150610269565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505090509056

Token balances

TokenBalance

Token transactions

Tx HashBlockTimeFromToAmount
blog comments powered by Disqus