Back to Home

Wallet

0x93a570e7286c...19956f4f68eb
HomesteadExact Bytecode MatchEdit this contract
Deployed May 28, 2016 (10 years ago)Block 1,596,991

2016 token sweeper wallet that forwards its DAO token balance to its creator.

Homestead EraVerified Source

Historical Significance

Written in Solidity 0.3.6, before the language had a payable keyword, so every function, including the fallback, accepted ether implicitly, and errors were raised with throw, which burned all remaining gas. Returning an integer status code instead of a boolean is a habit from that era, when the compiler's boolean handling was still settling. The auto-sweeping fallback let an operator empty a deposit wallet with a plain zero-value transaction, no ABI encoding required.

Key Facts
Deployment Block
1,596,991
Deployment Date
May 28, 2016, 12:05 AM
Code Size
578.0 B

Description

A per-holder sweeper wallet from 2016, deployed by a factory that passed the token contract address to the constructor. The owner is fixed to whoever deployed it. balance() reads the wallet's token balance from the token contract, and the wallet can be emptied two ways: calling sweep(), which only the owner may do, or simply sending it a transaction with no calldata, in which case the fallback sweeps automatically and throws if the token transfer fails. sweep() reports a numeric status code and the amount moved rather than a boolean. Compiled with Solidity 0.3.6 with the optimizer on; the bytecode carries no metadata trailer, so this is an exact match rather than a partial one.

Source Verified

SolidityExact bytecode match(578 bytes)
Compiler: v0.3.6+

Bytecode Overview

Opcodes578
Unique Opcodes76
Jump Instructions25
Storage Operations11

External Links