Back to Home

CreatorTokenEther

0xc1b4e76b9d95...12478c2e6167
Spurious DragonSource VerifiedEdit this contract
Deployed November 24, 2016 (9 years ago)Block 2,686,110

A factory library that deploys tokens backed one for one by ether held in the token

Spurious Dragon EraVerified Source

Historical Significance

Contract creation offered as a service by a library, with the created contract's ABI published on chain beside it. The library reports its own toolkit release and git commit through a version function, which is how it was traced back to its source.

Context

Deployed in the Homestead era, when a dapp that wanted to create a contract had to ship a compiler or a hardcoded blob.

Key Facts
Deployment Block
2,686,110
Deployment Date
Nov 24, 2016, 01:22 PM
Code Size
5.8 KB

Description

CreatorTokenEther is one of the factory libraries in Airalab's DAO toolkit. Its create function deploys a TokenEther, a token whose supply is its own ether balance: sending ether to refill mints the sender an equal token balance, and withdraw burns tokens and returns the ether. Two further functions make it self describing on chain, version returning the toolkit release it was built from and interface returning the full ABI of the token it creates as a JSON string. Deployed on 24 November 2016 by 0x4af013afbadb22d8a88c92d68fc96b033b9ebb8a and recovered from airalab/core.

Bytecode Overview

Opcodes5,918
Unique Opcodes194
Jump Instructions283
Storage Operations68

External Links

Related contracts