Token sweeper contract. Collects ERC20 balances from deposit addresses by calling sweep(tokenAddress) and forwarding tokens to a master wallet.
Key Facts
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Byzantium Era
First Metropolis hard fork. Added zk-SNARK precompiles, REVERT opcode, and staticcall.
Bytecode Overview
Verified Source Available
This contract has verified source code on Etherscan.
Show source code (Solidity)
contract Token {
function transfer(address to, uint256 value) returns (bool ok);
function balanceOf(address who) constant returns (uint256 value);
}
contract Forwarder {
address owner;
address defaultSweep;
function Forwarder() {
owner = 0xab8c0420ad39a5727fd43c917679e8822bff1c51;
defaultSweep = 0xaec2e87e0a235266d9c5adc9deb4b2e29b54d009;
}
function() {
sweep(defaultSweep);
}
function sweep(address _token) {
address token = _token;
if (!(msg.sender == owner && Token(token).transfer(owner, Token(token).balanceOf(this)))) throw;
}
}
External Links
Related contracts
ýÞ
Same eraMinimal delegatecall proxy. Forwards all calls to a hardcoded implementation address using DELEGATECALL, preserving the caller's storage context.
0xb3c5f3...9a2462January 4, 2018Contract 0x5d200d...52b7fa
Same eraETH forwarder with configurable destination. Forwards incoming Ether to a parent address set at deployment, with an owner-only flush() method.
0x5d200d...52b7faJanuary 4, 2018Contract 0x600719...e09409
Same eraMinimal ETH forwarder. Hardcodes a destination address at deployment and unconditionally forwards all incoming Ether to it.
0x600719...e09409January 7, 2018Contract 0xf53188...a66c1c
Same eraExchange deposit wallet that collects ERC20 tokens via collect(tokenAddress, recipient, amount) and ETH via a payable fallback function.
0xf53188...a66c1cJanuary 22, 2018Contract 0x5e63e5...ee2973
Same eraUser withdrawal account. Holds ETH and ERC20 tokens on behalf of a user and allows owner-authorized withdrawals to a registered user address.
0x5e63e5...ee2973January 30, 2018Contract 0x6b2d25...8f1ebb
Same eraETH forwarder with administrative controls. Forwards incoming Ether to a parent address and supports flushTokens(ERC20) and a kill() self-destruct.
0x6b2d25...8f1ebbFebruary 13, 2018