Verified contractPartial
Sweeper
Address0x3f51f48c4f5339ecd2ccaaa2457625d0af2a0cdb
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.4.10
- Same code
69,054 more contracts
Details
- Compiler
- solc 0.4.10+commit.f0d539ae
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,583,627
- Creation transaction
- 0xa798cd59ca…63ee3b48b0
- Main copy (most transactions)
- 0xba0cf870…e70c5ec9
Sweeper.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.10;
contract Token {
function balanceOf(address who) constant returns (uint256);
function transfer(address to, uint256 value) returns (bool);
}
contract Sweeper {
address owner;
address token;
function Sweeper() {
owner = 0x48d466B7c0d32B61E8A82Cd2bCF060F7C3F966df;
token = 0x6810e776880C02933D47DB1b9fc05908e5386b96;
}
function () {
sweep(token);
}
function sweep(address _token) {
Token t = Token(_token);
require(msg.sender == owner && t.transfer(owner, t.balanceOf(this)));
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.