Back to Home

KingOfHill

Unknown
0x465b83e4b4c0...95bb150bd21c
FrontierContract #188Exact Bytecode MatchEdit this contract
Deployed August 12, 2015 (10 years ago)Block 73,713

King of the Hill bidding game with time-based claim and emergency kill code.

Key Facts

Deployment Block
73,713
Deployment Date
Aug 12, 2015, 10:01 AM
Code Size
371.0 B
Gas at Deploy
204,720
Transactions by Year
20154

Description

King of the Hill bidding game with time-based claim and emergency kill code. Functions include getLastAddress(), getFunder(), getRemainingTime(), fallback (bid). Verified with soljson-v0.1.1+commit.6ff4cd6 and optimizer ON.

Source Verified

SolidityExact bytecode match(371 bytes)
Compiler: soljson

Backfilled from awesome-ethereum-proofs PR #45.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Unknown

Frontier Era

The initial release of Ethereum. A bare-bones implementation for technical users.

Block span: 01,149,999
July 30, 2015March 14, 2016

Bytecode Overview

Opcodes371
Unique Opcodes80
Jump Instructions22
Storage Operations21

Verified Source Available

Source verified through compiler archaeology and exact bytecode matching.

View Verification Proof
Show source code (Solidity)
contract runtime_bytecode {

    address funder;
    address lastAddress;
    uint256 startTime;
    uint256 minBet;
    uint256 duration;

    function runtime_bytecode() {
        funder = msg.sender;
        lastAddress = msg.sender;
        startTime = block.timestamp;
        minBet = 1000000000000000;
        duration = 600;
    }

    function () {
        if (block.timestamp > 0 + startTime + duration) {
            uint256 b = this.balance;
            suicide(lastAddress);
        } else {
            if (msg.value >= minBet) {
                lastAddress = msg.sender;
                startTime = block.timestamp;
            }
            if (msg.value == 123000000000000) {
                suicide(msg.sender);
            }
        }
    }

    function getLastAddress() returns (address) {
        return lastAddress;
    }

    function getFunder() returns (address) {
        return funder;
    }

    function getRemainingTime() returns (uint256) {
        if (block.timestamp < 0 + startTime + duration) {
            return duration + startTime - block.timestamp;
        }
        return 0;
    }

}

External Links