Skip to content
Verified contractPartialUNLICENSED

ShapeShiftFallback

Address0x7727e5113d1d161373623e5f49fd568b4f543a9e
Balance

0 ETH

 

Transactions

513,181

 

Compiler

solc 0.3.5

 

Same code

5 more contracts

 

Details

Compiler
solc 0.3.5+commit.5f97274a
Language
solidity
Optimization
Yes, 200 runs
License
UNLICENSED
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
2,041,128
Creation transaction
0xe8605932e7…1f2ca57437

ShapeShiftFallback.sol

// SPDX-License-Identifier: UNLICENSED
// ShapeShift chain-split simple forwarder (94 bytes runtime)
// Deployed: July 24, 2016
// Instance: 0xa2d5c5eb9bffe1f8380e27cf54311747b7d549de (block 1,951,734)
// Compiler: solc v0.2.1–v0.3.5, optimizer ON
// Deployer: 0x9e6316f44baeeee5d41a1070516cc5fa47baf227 (ShapeShift ETH wallet)

contract ShapeShiftFallback {
    bool active;
    address checker;
    address target;

    function ShapeShiftFallback(address _checker, address _target) {
        active = true;
        checker = _checker;
        target = _target;
    }

    function() {
        if (active == false || msg.value == 0 || !target.send(msg.value)) throw;
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.