Back to Home

AdminCheck

program
0x49efab3940f7...492fd482c595
FrontierContract #5,553Exact Bytecode MatchEdit this contract
Deployed December 22, 2015 (10 years ago)Block 732,572

A test contract that checks if the caller matches a hardcoded admin address, with kill and get functions.

Key Facts

Deployment Block
732,572
Deployment Date
Dec 22, 2015, 09:21 PM
Code Size
163.0 B
Gas at Deploy
61,157
Transactions by Year
20152

Description

A small test contract with three functions: kill() to selfdestruct, get() to return the owner address (always zero since no constructor sets it), and test() which returns true if the caller matches a hardcoded admin address (0x8b9346aa...).

This was a learning exercise by a developer who deployed over 400 contracts between December 2015 and May 2016. It represents the second step in their development progression, after a simple key-value Store prototype. The hardcoded admin check pattern seen here became a core feature of their later multi-party escrow contracts.

The contract was selfdestructed shortly after deployment.

Source Verified

SolidityExact bytecode match(163 bytes)
Compiler: soljson

Exact bytecode match (init + runtime). 163 bytes creation code, 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

Opcodes163
Unique Opcodes63
Jump Instructions5
Storage Operations3

Verified Source Available

Source verified through compiler archaeology and exact bytecode matching.

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

    function kill() { suicide(owner); }

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

    function test() returns (bool) {
        return msg.sender == 0x8b9346aa412b52954b5138dbb72adab97273766e;
    }
}

External Links