Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
ReplaySafeSplit
Compiler Version
v0.3.5-2016-07-19-427deb4
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2016-07-21 */ contract AmIOnTheFork { bool public forked = false; address constant darkDAO = 0x304a554a310c7e546dfe434669c62820b7d83490; // Check the fork condition during creation of the contract. // This function should be called between block 1920000 and 1921200. // Approximately between 2016-07-20 12:00:00 UTC and 2016-07-20 17:00:00 UTC. // After that the status will be locked in. function update() { if (block.number >= 1920000 && block.number <= 1921200) { forked = darkDAO.balance < 3600000 ether; } } function() { throw; } } 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; } // Reject value transfers. function() { throw; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"targetFork","type":"address"},{"name":"targetNoFork","type":"address"}],"name":"split","outputs":[{"name":"","type":"bool"}],"type":"function"}]
Contract Creation Code
6060604052732bd2326c993dfaef84f696526064ff22eba5b362600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff0219169083021790555061023e806100516000396000f36060604052361561003d576000357c0100000000000000000000000000000000000000000000000000000000900480630f2c93291461004a5761003d565b6100485b610002565b565b005b6100696004808035906020019091908035906020019091905050610081565b60405180821515815260200191505060405180910390f35b6000600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c72721604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506020604051808303816000876161da5a03f1156100025750505060405180519060200150801561014a57508273ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f193505050505b1561015c576001905061023856610233565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c72721604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506020604051808303816000876161da5a03f115610002575050506040518051906020015015801561022457508173ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f193505050505b156102325760019050610238565b5b610002565b9291505056
Deployed Bytecode
0x6060604052361561003d576000357c0100000000000000000000000000000000000000000000000000000000900480630f2c93291461004a5761003d565b6100485b610002565b565b005b6100696004808035906020019091908035906020019091905050610081565b60405180821515815260200191505060405180910390f35b6000600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c72721604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506020604051808303816000876161da5a03f1156100025750505060405180519060200150801561014a57508273ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f193505050505b1561015c576001905061023856610233565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c72721604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506020604051808303816000876161da5a03f115610002575050506040518051906020015015801561022457508173ffffffffffffffffffffffffffffffffffffffff16600034604051809050600060405180830381858888f193505050505b156102325760019050610238565b5b610002565b9291505056
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.