ETH Price: $2,135.67 (+2.44%)

Transaction Decoder

Block:
6037580 at Jul-27-2018 05:38:49 AM +UTC
Transaction Fee:
0.003447 ETH $7.36
Gas Used:
34,470 Gas / 100 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x1cdBB1a9...f8Bf4e22E
0.212934755460006922 Eth
Nonce: 1372
0.011553005460006922 Eth
Nonce: 1373
0.20138175
(MiningPoolHub: Old Address)
31,136.11325816262931565 Eth31,136.11670516262931565 Eth0.003447
0xFBb1b73C...f520fBB98
(Bittrex)
675,586.128623066922157512 Eth675,586.326557816922157512 Eth0.19793475

Execution Trace

ETH 0.19793475 ReplaySafeSplit.split( targetFork=0xFBb1b73C4f0BDa4f67dcA266ce6Ef42f520fBB98, targetNoFork=0xe592b0d8bAa2cB677034389b76A71B0D1823E0d1 ) => ( True )
  • AmIOnTheFork.CALL( )
  • ETH 0.19793475 Bittrex.CALL( )
    File 1 of 2: ReplaySafeSplit
    contract AmIOnTheFork {
        function forked() constant returns(bool);
    }
    
    contract ReplaySafeSplit {
        // Fork oracle to use
        AmIOnTheFork amIOnTheFork = AmIOnTheFork(0x2bd2326c993dfaef84f696526064ff22eba5b362);
    
        event e(address a);
    	
        // Splits the funds into 2 addresses
        function split(address targetFork, address targetNoFork) returns(bool) {
            if (amIOnTheFork.forked() && targetFork.send(msg.value)) {
    			e(targetFork);
                return true;
            } else if (!amIOnTheFork.forked() && targetNoFork.send(msg.value)) {
    			e(targetNoFork);		
                return true;
            }
            throw; // don't accept value transfer, otherwise it would be trapped.
        }
    
        // Reject value transfers.
        function() {
            throw;
        }
    }

    File 2 of 2: AmIOnTheFork
    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;
        }
    }