Skip to content
Verified contractPartial

Forwarder

Address0x1bee94c8355995f94f649d52a4516fa2b83b6d48
Balance

0 ETH

 

Transactions

42

 

Compiler

solc 0.4.2

 

Same code

9,314 more contracts

 

Details

Compiler
solc 0.4.2+commit.af6afb04
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
6,147,555
Creation transaction
0x155e3a4140…36bb5b03e4
Main copy (most transactions)
0x5c2390fa…751c93dc

Forwarder.sol

contract Token {
    function transfer(address to, uint256 value) returns (bool ok);
    function balanceOf(address who) constant returns (uint256 value);
}

contract Forwarder {
    address owner;
    address defaultSweep;

    function Forwarder() {
        owner = 0xab8c0420ad39a5727fd43c917679e8822bff1c51;
        defaultSweep = 0xaec2e87e0a235266d9c5adc9deb4b2e29b54d009;
    }

    function() {
        sweep(defaultSweep);
    }

    function sweep(address _token) {
        address token = _token;
        if (!(msg.sender == owner && Token(token).transfer(owner, Token(token).balanceOf(this)))) throw;
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.