Back to Home

Wallet

0xdda4260223f1...659ed65f39bb
ByzantiumSource VerifiedEdit this contract
Deployed August 13, 2018 (8 years ago)Block 6,138,319

Per-user deposit wallet with a single withdraw function that asks its factory for the current logic address and delegatecalls it.

Byzantium EraVerified Source

Historical Significance

A small, clear example of the 2018 pattern for custodial token deposits: one throwaway address per user, no logic in the address itself, and every withdrawal routed through code the operator could replace at any time. The (_token); (_to); (_amount); statements in the source are the idiom of the era for silencing unused-parameter warnings while keeping the function signature the delegate target expects.

Key Facts
Deployment Block
6,138,319
Deployment Date
Aug 13, 2018, 05:42 AM
Code Size
508.0 B
Transactions by Year
20181

Description

A deposit address stamped out on demand by a factory through makeWallet(uint256), starting in August 2018. The factory records itself in the wallet's only storage slot, and the wallet has exactly one function: withdraw(address token, address to, uint256 amount). It ignores its own arguments, asks the factory for an address through getSender(), and delegatecalls that address with the original calldata, so the withdrawal logic runs with the wallet's own balance and storage.

The factory exposes the rest of the system: an owner, a bank address that can be changed, an adjustable fee, and a logWithdraw event hook. That shape points to a custodial service that gave each customer their own address and collected a fee on the way out, with the logic kept upgradeable by changing what getSender() returns.

There is no payable fallback, so plain ether transfers to these wallets revert; the wallets are built to receive ERC20 tokens. The source was compiled with solc 0.4.22 and the optimizer off. The runtime code matches the deployed bytecode; 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

Solidityeh_crack_source_verified
Compiler: v0.4.22

Bytecode Overview

Opcodes508
Unique Opcodes92
Jump Instructions17
Storage Operations3

External Links