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
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
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.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow 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);
}
}