Back to Home

CrowdFunding

Part of The Vitalik Collection
0xe025006d0a6a...6e396b52b680
Tangerine WhistleExact Bytecode MatchEdit this contract
Deployed October 30, 2016 (9 years ago)Block 2,533,509

A minimal crowdfunding contract: fund() records contributions, refund() returns them if the goal is missed by the deadline, collect() pays out if it's met.

Tangerine Whistle EraVerified Source
Key Facts
Deployer
Vitalik Buterin(0x1db343...fa6ee6)
Deployment Block
2,533,509
Deployment Date
Oct 30, 2016, 07:07 AM
Code Size
846.0 B

Description

Deployed October 30, 2016 by Vitalik Buterin (0x1db3439a22ee7c4d034e9b26437d3960b5af0517). A minimal crowdfunding contract, one of five byte-identical copies deployed the same day. fund() records the caller and the ETH they send as a Funder in an array. After the deadline, refund() iterates the funders and returns each contribution if the contract balance is below the goal; collect() sends the entire balance to the beneficiary if the balance is at least the goal. deadline is exposed as a public getter. The 846-byte runtime reproduces byte-for-byte from the reconstructed source using solc 0.3.6 with the optimizer off; this compiler predates swarm metadata, so the match is complete with no trailing hash. The bare getters and absence of any msg.value guards pin the compiler to the solc 0.3.x line (0.4.0 and later add non-payable value checks). runtime sha256 f558496da613d2c10a8653c6a5f13c847c42918d25ec58a4ccaddf43f277281e.

Source Verified

SolidityExact bytecode match(846 bytes)
Compiler: v0.3.6

Runtime (846 bytes) reproduces byte-for-byte from the reconstructed source using solc 0.3.6, optimizer off (predates swarm metadata). One of five byte-identical copies. runtime sha256 f558496da613d2c10a8653c6a5f13c847c42918d25ec58a4ccaddf43f277281e.

Bytecode Overview

Opcodes846
Unique Opcodes78
Jump Instructions36
Storage Operations21

External Links

Related contracts