An address to address map with iteration, deployed as a shared library
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
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.
DAO Fork Era
The controversial fork to recover funds from The DAO hack.
Bytecode Overview
External Links
Related contracts
AddressList
Same deployerA doubly linked list of addresses, deployed as a shared library
0xb0af78...dff94bAugust 18, 2016CreatorTokenEmission
Same deployerA factory library that deploys mintable and burnable tokens, and hands back their ABI
0x63bfd6...63231eAugust 18, 2016CreatorTokenEther
Same deployerA factory library that deploys tokens backed one for one by ether held in the token
0x01f568...7b8312August 18, 2016AddressList
Same deployerA doubly linked list of addresses, deployed as a shared library
0xb51afd...224574August 25, 2016Contract 0xed6216...c0bce9
Same deployerAn address to address map with iteration, deployed as a shared library
0xed6216...c0bce9August 25, 2016CreatorVoting51
Same deployerA factory library that deploys simple majority voting contracts
0x6e98df...86df55August 25, 2016