Back to Home

AccountingLib

Library
Part of The Piper Merriam Collection
0x7de615d8a517...5b3718dc3d52
FrontierContract #2,536Exact Bytecode MatchEdit this contract
Deployed October 23, 2015 (10 years ago)Block 429,075

A balance accounting library with withdrawal safety, deployed 2015-10-23.

Frontier EraVerified Source

Historical Significance

Paying out to an address that might be a contract was the unsolved problem of the period: a plain send gives the recipient a fixed stipend of gas and a recipient that needs more will fail, while forwarding everything hands control to code you did not write. This library picks the middle course and checks the result, and it was written to be linked into other contracts rather than used alone, at a time when Solidity had no standard library and any routine worth sharing had to be deployed and linked by hand.

Context

Deployed in October 2015, when contracts had no standard library and common routines were put on chain individually to be linked against.

Key Facts
Deployer
Piper Merriam(0xd3cda9...293601)
Deployment Block
429,075
Deployment Date
Oct 23, 2015, 08:40 PM
Code Size
754.0 B
Gas at Deploy
218,166
Transactions by Year
20252

Description

AccountingLib tracks per address balances on behalf of a calling contract and handles deposits, withdrawals and transfers between accounts. Sends are made through a low level call with a bounded gas allowance and the result is checked, so a recipient that reverts or runs out of gas cannot silently leave the ledger and the contract balance disagreeing. It was written for the Ethereum Alarm Clock to hold the deposits and payments that scheduled calls move around. Deployed as a standalone library for other contracts to link against.

Source Verified

Exact bytecode match(754 bytes)
Compiler: v0.1.6+

Historian Categories

Library
Heuristic Analysis

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

Detected Type: Library

Bytecode Overview

Opcodes754
Unique Opcodes143
Jump Instructions51
Storage Operations13

External Links

Related contracts