Back to Home

Contract 0x7e62cafcf430...e1f0e186e943

0x7e62cafcf430...e1f0e186e943
DAO ForkDecompiledEdit this contract
Deployed August 18, 2016 (10 years ago)Block 2,095,617

An address to address map with iteration, deployed as a shared library

DAO Fork Era

Historical Significance

An iterable mapping in August 2016, the shape every later library settled on, built when Solidity offered no way to enumerate a mapping at all. Etherscan cannot verify it: solc writes its link placeholder in lowercase before version 0.4 and Etherscan will not resolve that, so this record is the published form.

Context

Deployed in the Homestead era, when a DAO toolkit had to build its own data structures because Solidity shipped none.

Key Facts
Deployment Block
2,095,617
Deployment Date
Aug 18, 2016, 04:33 PM
Code Size
1.6 KB

Description

AddressMap is a data structure library from Airalab's DAO toolkit. It pairs a mapping from address to address with an AddressList of the keys, so a contract can both look a value up in one step and walk every entry in order, which a bare Solidity mapping cannot do. It links against the AddressList library rather than embedding one. Deployed on 18 August 2016 by 0x4af013afbadb22d8a88c92d68fc96b033b9ebb8a and recovered from airalab/core.

Bytecode Overview

Opcodes1,689
Unique Opcodes115
Jump Instructions57
Storage Operations32

External Links

Related contracts