Skip to content
Verified contractPartial

Forwarder

Address0x890c1f6e18809d06bb3c4f6d64f34bd7f08ca17c
Balance

0 ETH

 

Transactions

7

 

Compiler

solc 0.4.24

 

Same code

59 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
6,611,884
Creation transaction
0xdc917b02a2…3344d6f799

Forwarder.sol

// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.24;

contract Forwarder {
    address public destinationAddress;

    event LogForwarded(address indexed sender, uint256 value);
    event LogFlushed(address indexed sender, uint256 value);

    function () public payable {
        emit LogForwarded(msg.sender, msg.value);
        destinationAddress.transfer(msg.value);
    }

    function flush() public {
        emit LogFlushed(msg.sender, address(this).balance);
        destinationAddress.transfer(address(this).balance);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.