Back to Home

AdminCheckV2

program
0x592621b77374...0a4504f26259
FrontierContract #5,554Exact Bytecode MatchEdit this contract
Deployed December 22, 2015 (10 years ago)Block 732,635

A test contract that writes a bool flag based on whether the caller matches a hardcoded admin address, with kill, get, and getBool functions.

Key Facts

Deployment Block
732,635
Deployment Date
Dec 22, 2015, 09:42 PM
Code Size
245.0 B
Gas at Deploy
98,175
Transactions by Year
20153

Description

An evolution of the AdminCheck (test-v1) contract by the same developer. Adds a constructor that sets the owner to msg.sender, a bool state variable (flag), and a getBool() function to read it. The test() function writes the result of an admin address comparison to storage instead of just returning it.

Part of a series of iterative prototypes by a developer who deployed over 400 contracts between December 2015 and May 2016. This contract builds on the hardcoded admin check pattern from test-v1, adding persistent state tracking. The owner and flag are packed into slot 0 (address at bits 0-159, bool at bit 160).

The contract was selfdestructed shortly after deployment, deployed just 63 blocks after its predecessor test-v1.

Source Verified

SolidityExact bytecode match(245 bytes)
Compiler: soljson

Exact bytecode match (init + runtime). 245 bytes creation code (34 init + 211 runtime), no constructor args. Contract is selfdestructed.

Heuristic Analysis

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

Detected Type: program

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

Opcodes245
Unique Opcodes67
Jump Instructions9
Storage Operations8

Verified Source Available

Source verified through compiler archaeology and exact bytecode matching.

View Verification Proof
Show source code (Solidity)
contract T {
    address owner;
    bool flag;

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

    function kill() { suicide(owner); }

    function get() returns (address) { return owner; }

    function getBool() returns (bool) { return flag; }

    function test() {
        flag = (msg.sender == 0x8b9346aa412b52954b5138dbb72adab97273766e);
    }
}

External Links