Historical Significance
Pool is an early example of the deposit-and-distribute pattern that would later appear in ICOs, staking contracts, and DeFi protocols. The admin-gated payout with a fixed multiplier (5x) and per-address deposit limit shows experimentation with economic incentive structures on Ethereum during its first weeks of operation.
Context
Deployed during the Frontier era, seven weeks after Ethereum mainnet launch. Solidity v0.1.1 was the current compiler. Thomas Bertani and the Oraclize team were among the most active deployers in this period, experimenting with contract-to-contract call patterns, access control, and payable functions. This contract is part of a cluster of interconnected Bertani test contracts deployed on September 17, 2015.
Key Facts
Description
Verified with soljson-v0.1.1+commit.6ff4cd6 and optimizer ON.
Source Verified
Backfilled from awesome-ethereum-proofs PR #47.
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
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
contract Pool {
address constant admin = 0x3c94923400ccc528e8ab0f849edafca06fe332e5;
mapping(address => uint) public balances;
function register(string a, string b, string c, uint d) returns (uint) {
if (balances[msg.sender] > 0) return;
balances[msg.sender] = msg.value;
}
function get() returns (uint) {
return balances[msg.sender];
}
function finalize(address beneficiary, uint fixPoolSupply) {
if (admin != msg.sender) return;
if (fixPoolSupply > 0) {
beneficiary.send(5 * balances[beneficiary]);
}
balances[beneficiary] = 0;
}
}