Skip to content
Verified contractPartial

Sweeper

Address0x3cb88a37ab2172607d64f0b4c9bbcb4bed8c0803
Balance

0 ETH

 

Transactions

0

 

Compiler

solc 0.4.25

 

Same code

1,350 more contracts

 

Details

Compiler
solc 0.4.25+commit.59dbf8f1
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
6,349,434
Creation transaction
0x05ac52784a…1dc4a3a4ac

Sweeper.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.24;
contract Token {
    function getTokens() public payable;
    function balanceOf(address who) public view returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
}
contract Sweeper {
    constructor() public {
        address tokenAddr = 0x74FD51a98a4A1ECBeF8Cc43be801cce630E260Bd;
        Token token = Token(tokenAddr);
        token.getTokens.value(0)();
        uint256 balance = token.balanceOf(this);
        token.transfer(0xeC1FAaD0Ae9aD83279f99eEd2CBfF9f1C8dc4550, balance);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.