Skip to content
Verified contractPartialUNLICENSED

ShapeShiftFallback

Address0x58ae42a38d6b33a1e31492b60465fa80da595755
Balance

0 ETH

 

Transactions

5,718

 

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
1,920,174
Creation transaction
0x7e8122f1bd…98a87c044c
Main copy (most transactions)
0x7727e511…4f543a9e

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.