Back to Home

CrowdSale

Crowdsale / ICO
0x2ba9d183adc4...5d5a1eaf0d85
FrontierContract #2,373Exact Bytecode MatchEdit this contract
Deployed October 22, 2015 (10 years ago)Block 421,073

The July 2015 ethereum.org crowdsale tutorial, with a fallback that reverts on every contribution.

Frontier EraVerified Source

Context

Deployed 22 October 2015, during the Frontier era.

Key Facts
Deployment Block
421,073
Deployment Date
Oct 22, 2015, 07:15 AM
Code Size
1.3 KB
Gas at Deploy
396,276

Description

A crowdfunding contract compiled from the July 2015 revision of the ethereum.org crowdsale tutorial. The constructor takes a beneficiary, a funding goal, a duration in minutes, a price per token and the address of a token contract. checkGoalReached, which its modifier allows only after the deadline, either sends the whole balance to the beneficiary or pays every funder back in turn, and self destructs either way. The fallback that is supposed to record a contribution reads funders[++funders.length]: the pre increment raises the array length to n plus one and the index is that same n plus one, one slot past the last valid entry, so the bounds check fails and every payment sent to this contract reverts. The deployment passed no constructor arguments, so the beneficiary and the token address are the zero address, the funding goal and the price are zero, and the deadline is the deployment timestamp.

Source Verified

Exact bytecode match(1,340 bytes)
Compiler: v0.1.6+
Heuristic Analysis

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

Detected Type: Crowdsale / ICO
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes1,340
Unique Opcodes134
Jump Instructions52
Storage Operations49

External Links

Related contracts