Back to Home

Bank

DeFi
0x2e714572882c...216a943f0bf6
FrontierContract #824Exact Bytecode MatchEdit this contract
Deployed September 4, 2015 (11 years ago)Block 184,865

A 534-byte deposit ledger: deposit() records the caller's ether, a timestamp and an id, and only the owner can read a balance back. No withdrawal function exists.

Frontier EraVerified Source

Historical Significance

Another member of the 2015 deposit-ledger family, differing from its siblings only in which increment form the author used and whether lastDepositId is present at all. Four such variants survive in the archive with the same five-function interface, which makes them a small natural experiment in how one developer edited the same contract over successive deployments.

Context

Deployed 2015-09-04 by 0xee291517c6290faf94dee71647c27b9737b2a2d2. Two byte-identical copies of this runtime exist. It is one of several near-identical variants of the same ledger in the archive. Source recovered by exact runtime bytecode match, verified on Sourcify and Etherscan.

Key Facts
Deployment Block
184,865
Deployment Date
Sep 4, 2015, 07:41 PM
Code Size
609.0 B
Gas at Deploy
189,992
Transactions by Year
20151
20251
20265

Description

Storage is an owner address in slot 0, three public uints (lastDepositId, numDeposits, lastTs) in slots 1 to 3, and a mapping from address to balance in slot 4. deposit() at 0xd0e30db0 assigns lastDepositId from a post-increment of numDeposits, so the first deposit is recorded as id 0, then stamps lastTs with the block timestamp and credits msg.value to the caller's entry. getBalance(address) at 0xf8b2cb4f returns early unless the caller is the owner, so everyone else receives zero rather than a revert. Nothing in the contract can move ether out again.

Source Verified

SolidityExact bytecode match(609 bytes)
Compiler: v0.1.3+
Heuristic Analysis

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

Detected Type: DeFi

Bytecode Overview

Opcodes609
Unique Opcodes72
Jump Instructions22
Storage Operations18

External Links

Related contracts