Skip to content
Verified contractPartial

Relay

Address0xe13654cc2f9870e0e4b09f3c3283f6e21c6fc2fe
Balance

0 ETH

 

Transactions

6

 

Compiler

solc 0.4.8

 

Same code

329 more contracts

 

Details

Compiler
solc 0.4.8+commit.60cc1668
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
3,178,653
Creation transaction
0xf009b4680d…7d069b1729

Relay.sol

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

contract Relay {
    address owner;
    address target;
    bytes4 sig;

    function Relay(address _target, bytes4 _sig) {
        owner = msg.sender;
        target = _target;
        sig = _sig;
    }

    function () payable {
        if (msg.sender != owner) throw;
        if (!target.call.value(msg.value)(sig)) throw;
    }

    function transferOwner(address newOwner) {
        owner = newOwner;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.