Skip to content
Verified contractPartial

Forwarder

Address0xc497924660a5dbb7b0ce4c4e7948e5452b7bf2de
Balance

0 ETH

 

Transactions

11

 

Compiler

solc 0.4.24

 

Same code

9,419 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
8,073,158
Creation transaction
0x51263158ca…09da125865

Forwarder.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.24;

contract Token {
    function balanceOf(address who) public view returns (uint256);
    function transfer(address to, uint256 value) public;
}

contract Forwarder {
    address owner;

    constructor() public {
        owner = msg.sender;
    }

    function flush(address token) public {
        require(msg.sender == owner, "Unauthorized caller");
        Token(token).transfer(owner, Token(token).balanceOf(address(this)));
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.