Verified contractPartial
Sweeper
Address0xb25e565bde64cb0004daadd0aa0cbebb44850b16
- Balance
0 ETH
- Transactions
73
- 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
- 3,508,948
- Creation transaction
- 0xfa34b9ad83…1b03bf0345
- 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.