Back to Home

Pyramid

Unknown
0xdf4b519d56f8...957114dc9b87
FrontierContract #138Exact Bytecode MatchEdit this contract
Deployed August 10, 2015 (10 years ago)Block 64,112

Member-added pyramid/chain list with equal-share claim distribution.

Key Facts

Deployment Block
64,112
Deployment Date
Aug 10, 2015, 02:04 PM
Code Size
665.0 B
Gas at Deploy
221,439
Transactions by Year
20151

Description

Member-added pyramid/chain list with equal-share claim distribution. Functions include Pyramid(), add(address), claim(), people(uint). Verified with soljson-v0.1.1+commit.6ff4cd6 and optimizer ON.

Source Verified

SolidityExact bytecode match(665 bytes)
Compiler: soljson

Backfilled from awesome-ethereum-proofs PR #39.

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

Opcodes665
Unique Opcodes92
Jump Instructions32
Storage Operations26

Verified Source Available

Source verified through compiler archaeology and exact bytecode matching.

View Verification Proof
Show source code (Solidity)
contract Pyramid {
    mapping(address => bool) joined;
    address[] public people;
    function Pyramid() {
        joined[msg.sender] = true;
        people.length = 1;
        people[0] = msg.sender;
    }
    function add(address account) {
        if (!joined[msg.sender] || joined[account]) return;
        joined[account] = true;
        uint l = people.length;
        people.length = l + 1;
        people[l] = account;
    }
    function claim() {
        uint256 share = this.balance / people.length;
        for (uint i = 0; i < people.length; i++) {
            people[i].send(share);
        }
    }
}

External Links