Back to Home

CrowdFunding

Part of The Vitalik Collection
0xba103b54987a...331704b7d042
Tangerine WhistleExact Bytecode MatchEdit this contract
Deployed October 30, 2016 (9 years ago)Block 2,533,446

A crowdfunding variant with a resumable, gas-guarded refund loop that persists its progress, so a large refund can complete across multiple transactions.

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

Description

Deployed October 30, 2016 by Vitalik Buterin (0x1db3439a22ee7c4d034e9b26437d3960b5af0517). A variant of the CrowdFunding family (0x2a345bb2) deployed the same day, with renamed functions and a resumable refund. contribute() records the caller and their sent value as a Funder but throws if the deadline has already passed. refund() returns contributions when the balance is below the goal after the deadline, using a loop guarded by msg.gas > 100000 that persists its progress in numRefunded, so a large refund can be finished across several transactions. payout() sends the whole balance to the beneficiary if the goal was met. The 867-byte runtime reproduces byte-for-byte from the reconstructed source using solc 0.4.2 with the optimizer off (also byte-identical under 0.4.0); this compiler predates swarm metadata, so the match is complete. runtime sha256 95d4dcc29ad0ab125b8f09ccb8f2c9408fa57bf451379c2b621e2bb0b60cb2e2.

Source Verified

SolidityExact bytecode match(867 bytes)
Compiler: v0.4.2

Runtime (867 bytes) reproduces byte-for-byte from the reconstructed source using solc 0.4.2, optimizer off (predates swarm metadata; 0.4.0 also matches). runtime sha256 95d4dcc29ad0ab125b8f09ccb8f2c9408fa57bf451379c2b621e2bb0b60cb2e2.

Bytecode Overview

Opcodes867
Unique Opcodes81
Jump Instructions43
Storage Operations23

External Links

Related contracts