Back to Home

CustomerDeposit

0x704bf10f75b8...c1eed4316abd
Exact Bytecode MatchEdit this contract
Deployed April 20, 2017 (9 years ago)Block 3,567,199

Per-customer deposit contract that tallies its total and forwards to its factory.

Verified Source

Historical Significance

Keeping a running total in the child contract as well as the factory gave operators an on-chain figure per customer that did not depend on replaying logs, which mattered when this was written.

Key Facts
Deployment Block
3,567,199
Deployment Date
Apr 20, 2017, 05:28 AM
Code Size
312.0 B

Description

A CustomerDeposit child from BokkyPooBah's CustomerDepositFactory. The payable fallback adds the incoming value to a public totalDeposit counter, then calls receiveDeposit(msg.sender) on the factory stored in its second slot, passing the ether along so the factory can split it between fee, incentive and client accounts. Both totalDeposit and factory are public getters. The factory pre-created these in batches so deposit addresses could be handed out ahead of time. The runtime code matches the deployed bytecode byte for byte; only the trailing swarm metadata hash differs, because the EthereumHistory attribution comment changes the source text. Sourcify records this as a partial match and Etherscan shows it as verified.

Source Verified

SolidityExact bytecode match(312 bytes)
Compiler: v0.4.8+

Bytecode Overview

Opcodes312
Unique Opcodes93
Jump Instructions20
Storage Operations6

External Links