Back to Home

Invoice

Wallet
0xb16acc642740...2f1dbc5cee2d
FrontierContract #9,001Exact Bytecode MatchEdit this contract
Deployed February 16, 2016 (10 years ago)Block 1,013,777

Frontier-era invoice contract from February 2016 that logs payments and forwards them to a fund manager kept in a struct mapping.

Frontier EraVerified Source

Historical Significance

It is a small, complete record of how an individual developer built payment-handling contracts on Frontier: a working invoice pattern (log, forward, refund via self-destruct) and the rapid version-by-version iteration visible on chain. Its source was reconstructed and reproduced byte for byte.

Context

February 2016 was the final month of the Frontier era, shortly before the Homestead hard fork in March 2016. Solidity was at v0.2.x, there was no payable modifier, and contract wallets and payment forwarders were written by hand by individual developers experimenting on mainnet.

Key Facts
Deployment Block
1,013,777
Deployment Date
Feb 16, 2016, 05:13 PM
Code Size
1.3 KB
Gas at Deploy
370,291
Transactions by Year
20164
20173
20251

Description

Invoice is a small payment-receiving contract deployed on February 16, 2016. It is a later revision of the invoice contracts the same deployer published earlier that day. The deployer becomes the owner. Every payment triggers the fallback function, which logs an IncomingTx event (block number, sender, value, timestamp) and forwards the whole balance to the fund manager.

Compared with earlier versions, the fund manager is stored as a FundManager struct in a mapping under key 0, the "fund manager set" flag is gone, and getFundManager is now an owner-only read. The owner can also transfer ownership and call refund(investor), which logs a RefundInvoice event and self-destructs the contract to the given address. The same bytecode was deployed three times within 20 minutes (0xb16acc64, 0xab025b47, 0x2386ddc9).

The deployer, 0x39afc3556daa4d11a0a8f16ec1a490cd84aa6945, created 107 contracts between January 28 and March 18, 2016. About 40 of them emit the same IncomingTx event, which shows an invoice and payment-forwarding system being rewritten many times over roughly five weeks, sometimes several versions per hour.

Source Verified

SolidityExact bytecode match(1,297 bytes)
Compiler: soljson
Heuristic Analysis

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

Detected Type: Wallet
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes1,297
Unique Opcodes125
Jump Instructions39
Storage Operations13

External Links

Related contracts