Back to Home

Forwarder

Unclassified
0x24fcc4e03af9...e941693be124
ByzantiumSource VerifiedEdit this contract
Deployed December 10, 2018 (7 years ago)Block 6,863,260

Deposit forwarder built on OpenZeppelin Ownable that passes incoming ether to its owner, logs the deposit, and can pull stranded tokens out.

Byzantium EraVerified Source

Historical Significance

Using call rather than transfer for the forwarding step is the choice that dates and defines this contract. The 2300 gas stipend that transfer imposes was already breaking payments to contract owners, and forwarders that wanted to pay into another contract had to give up the reentrancy protection that the stipend provided. This one made that trade and guarded it with an owner check instead.

Key Facts
Deployment Block
6,863,260
Deployment Date
Dec 10, 2018, 09:55 PM
Code Size
991.0 B
Gas at Deploy
340,061

Description

The payable fallback forwards the received value to the owner with a raw call rather than transfer, so the owner may be a contract with a fallback of its own that exceeds the stipend. On success it emits Deposit with the sender, the owner and the amount; on failure it reverts.

transferToOwner moves an ERC20 balance to the owner and is owner gated. contractCall lets the owner make an arbitrary call with value and payload, which is the escape hatch for anything the contract was not built to handle. Ownership follows the OpenZeppelin pattern of the period, with transferOwnership delegating to an internal helper that rejects the zero address and emits OwnershipTransferred.

Source Verified

Solidityeh_crack_source_verified
Compiler: v0.4.24
Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes991
Unique Opcodes153
Jump Instructions51
Storage Operations13

External Links

Related contracts