Back to Home

UserWallet

0xa6827216b941...eae824db2f53
ByzantiumSource VerifiedEdit this contract
Deployed July 5, 2018 (8 years ago)Block 5,910,193

Exchange deposit wallet that forwards incoming ether to a controller-supplied destination and delegates token sweeps to a per-token sweeper contract.

Byzantium EraVerified Source

Historical Significance

The delegatecall to a per-token sweeper is the interesting part. Tokens of this period disagreed on whether transfer returned a boolean, so a single hardcoded collection routine would have failed on some of them. Resolving the sweeper at call time let one deployed wallet handle tokens whose interfaces had not been written yet.

Token Information
Decimals
0
Key Facts
Deployment Block
5,910,193
Deployment Date
Jul 5, 2018, 01:31 PM
Code Size
791.0 B

Description

A per-customer deposit address from an exchange wallet system. The payable fallback reads destination() from the controller, sends the received ether there, and calls logSweep on the controller with the sender, the destination, a zero token address and the amount, so ether and token movements land in the same log stream.

sweep asks the controller for sweeperOf the given token and delegatecalls that sweeper with the original calldata, which lets the operator change how a token is collected without touching the deposit addresses already in circulation. tokenFallback is present and empty so that ERC223 transfers into the wallet do not revert.

Source Verified

Solidityeh_crack_source_verified
Compiler: v0.4.11

Bytecode Overview

Opcodes791
Unique Opcodes114
Jump Instructions37
Storage Operations8

External Links