Back to Home

Retriever

Unclassified
0x5dba79dd9282...a59e4dd3fa6a
ByzantiumSource VerifiedEdit this contract

Bytecode verified via sibling

This contract shares identical runtime bytecode with a verified contract (0x22b318b5...) which has been verified through compiler archaeology.

Deployed November 8, 2018 (7 years ago)Block 6,666,061

Deposit address that forwards ether to a wallet the owner can change, with an owner-only rescue for any token that lands here.

Byzantium Era

Historical Significance

Keeping the ether destination mutable and the token rescue owner-only is the ordinary shape of a payment address once an operator has been burned once. The interesting asymmetry is that ether is pushed automatically while tokens need a manual call: nothing in the ERC-20 standard lets a receiving contract notice an incoming transfer, so every deposit address of this era needed a second, human-triggered path for them.

Key Facts
Deployment Block
6,666,061
Deployment Date
Nov 8, 2018, 11:38 AM
Code Size
966.0 B
Gas at Deploy
349,131

Description

The payable fallback does one thing: it transfers the whole incoming value to the wallet address held in storage. Because it uses transfer, the 2300 gas stipend applies and the deposit reverts rather than stalling if the wallet cannot accept it, and on failure the revert reason is bubbled back to the sender.

Tokens cannot trigger a fallback, so they accumulate here instead. retrieveTokens is the owner's rescue path: it takes a destination and a token, reads this contract's entire balance of that token, and transfers all of it. There is no amount parameter, so it is all or nothing.

setWallet lets the owner redirect future deposits without redeploying, and transferOwnership refuses the zero address and logs the change. The ownership check reads owner first and compares against the caller, which is the ordering the compiler leaves visible in the bytecode.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Unclassified

Bytecode Overview

Opcodes966
Unique Opcodes137
Jump Instructions49
Storage Operations13

External Links

Related contracts