Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : ReplaySafeSplit
contract AmIOnTheFork { function forked() constant returns(bool); } contract ReplaySafeSplit { // Fork oracle to use AmIOnTheFork amIOnTheFork = AmIOnTheFork(0x2bd2326c993dfaef84f696526064ff22eba5b362); // Splits the funds into 2 addresses function split(address targetFork, address targetNoFork) returns(bool) { if (amIOnTheFork.forked() && targetFork.send(msg.value)) { return true; } else if (!amIOnTheFork.forked() && targetNoFork.send(msg.value)) { return true; } throw; // don't accept value transfer, otherwise it would be trapped. } // Reject value transfers. function() { throw; } }
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
My Name Tag:
Private Note:
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.