Verified contractPartial
Sweeper
Address0xc8acd04112e21ebdd81dee6c679cf82f3f1580ec
- Balance
0 ETH
- Transactions
85
- Compiler
solc 0.4.7
- Same code
7,530 more contracts
Details
- Compiler
- solc 0.4.7+commit.822622cf
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,129,437
- Creation transaction
- 0x5115b63fc9…60fe895df8
- Main copy (most transactions)
- 0x97970f2b…b2e71613
Sweeper.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.7;
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 = 0x65F9B2e4d7aAEB40fFEA8C6F5844d5AD7Da257E0;
token = 0x45e42D659D9f9466cD5DF622506033145a9b89Bc;
}
function () {
sweep(token);
}
function sweep(address _token) {
Token t = Token(_token);
if (!(msg.sender == owner && t.transfer(owner, t.balanceOf(this)))) throw;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.