The ethereum.org crowdsale tutorial, deployed on the ninth day of the public chain, with the funding goal, deadline and price fixed at construction.
Historical Significance
A crowdfunding contract from the first fortnight of Ethereum's public chain, running the pattern token sales used for years afterwards: a deadline, a threshold, a fixed price and an automatic refund if the threshold is missed. Its bytecode also records something about how the earliest contracts were built, since it was compiled by a build of the compiler that never shipped, which is why the source cannot be reproduced today.
Context
Ethereum's Frontier network went live on 30 July 2015 and this went on chain nine days later, when the ethereum.org tutorials were most of what existed to copy. Compilers were being cut from the development branch faster than they were released, so a contract from these weeks can carry code no published compiler produces.
Key Facts
Description
A crowdfunding contract from the 2015 ethereum.org tutorial. It answers beneficiary(), fundingGoal(), deadline(), price() and tokenReward(), all set once at construction, keeps a running amountRaised() and a public funders array, and takes contributions through its fallback function, paying each contributor in a separate reward token at the fixed price.
After the deadline anyone may call checkGoalReached(). If the total met the goal the balance goes to the beneficiary; otherwise the contract walks the funders array and refunds them.
The Solidity source behind it has not been recovered. The deployed code accesses every member of a stored Funder through a two-instruction sequence that keeps a byte offset alongside the slot, and no released compiler of the period emits that, so the account that deployed it was building with a development build that was never published.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
External Links
Related contracts
Greeter
Same deployerA Frontier Greeter compiled with an intermediate soljson build - same source as the standard tutorial, slightly different string return codegen.
0x7717ef...25a1e1August 8, 2015token
Same deployerEarly tutorial-derived coin contract compiled with Solidity v0.1.1, deployed 9 days after Ethereum Frontier launch.
0x3c401b...da1634August 8, 2015token
Same deployerTutorial-derived coin contract (Solidity v0.1.1), one of multiple token instances deployed by the same address on Aug 8, 2015.
0x33e986...395d13August 8, 2015CoinStub
Same deployerCoin tutorial stub — mapping getter + empty function returning default bool.
0x4fb5ac...3b08aeAugust 8, 2015token
Same deployerTutorial-derived coin contract (Solidity v0.1.1), one of multiple FirstCoin instances deployed by the same address on Aug 8, 2015.
0xe9712e...968a4cAugust 8, 2015token
Same deployerTutorial-derived coin contract (Solidity v0.1.1), one of multiple FirstCoin instances deployed by the same address on Aug 8, 2015.
0xdff42a...a4ec5eAugust 8, 2015