This contract is not yet documented
Know something about this contract? Switch to the History tab and suggest an edit to help preserve Ethereum history.
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)
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.23;
contract ERC20 {
function balanceOf(address _owner) public view returns (uint256);
function transfer(address _to, uint256 _value) public returns (bool);
}
contract Collector {
address public owner;
address public beneficiary;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event Released(uint256 amount);
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function collect(address _token) public {
uint256 balance = ERC20(_token).balanceOf(this);
require(balance > 0);
ERC20(_token).transfer(beneficiary, balance);
emit Released(balance);
}
function balanceOf(address _token) public view returns (uint256) {
require(_token != address(0));
return ERC20(_token).balanceOf(this);
}
function changeBeneficiary(address _beneficiary) public onlyOwner {
beneficiary = _beneficiary;
}
function transferOwnership(address _newOwner) public onlyOwner {
require(_newOwner != address(0));
emit OwnershipTransferred(owner, _newOwner);
owner = _newOwner;
}
}
External Links
Related contracts
Collector
Same deployerToken collection point: anyone may push any ERC-20 balance it holds to a beneficiary the owner controls, and nobody can redirect it in the same call.
0xc87af1...b1dec5October 5, 2018Msg
Same eraMinimal contract that stores a single public string in state, exposed via the auto-generated m() getter. First of 281 identical siblings. Source verified by EthereumHistory.
0x2c8f58...37b173January 13, 2018Wallet
Same eraToken collection wallet that moves an entire token balance to a chosen address, without the ERC223 callback handler.
0x002204...531195January 19, 2018Wallet
Same eraOwner wallet that forwards ether to its owner, logs any call from a stranger with the full calldata, and lets the owner execute arbitrary calls.
0x001feb...9e7a4fJanuary 20, 2018Forwarder
Same eraNinety-three bytes with one hardcoded destination: every payment received is transferred straight back out to the same address.
0x458353...a562deJanuary 20, 2018Sweeper
Same eraMinimal ETH sweeper, first of 1,900 identical deployments in a 2-day burst in January 2018. All sweep to a single hardcoded destination. Source verified by EthereumHistory.
0xeb15f6...6cb3e1January 23, 2018