Skip to content
Verified contractPartial

Forwarder

Address0x2e8b7bcd7b6f7162ed21c81ce7b7fae93c6ce062
Balance

0 ETH

 

Transactions

9

 

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
4,371,395
Creation transaction
0xd9fb983599…e9fd7c514d
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.