ETH Price: $1,978.78 (-5.00%)

Transaction Decoder

Block:
5859437 at Jun-26-2018 08:45:46 PM +UTC
Transaction Fee:
0.00233387 ETH $4.62
Gas Used:
33,341 Gas / 70 Gwei

Account State Difference:

  Address   Before After State Difference Code
(Nanopool)
6,603.989214694870764812 Eth6,603.991548564870764812 Eth0.00233387
0x7896f0Ce...b42Eb9df8
1.12370913 Eth
Nonce: 11796
0.00186613 Eth
Nonce: 11797
1.121843
0xA0bB4Ba1...15CcADC45 2,751.584565351126502917 Eth2,752.704074481126502917 Eth1.11950913

Execution Trace

ETH 1.11950913 ReplaySafeSplit.split( targetFork=0xA0bB4Ba19F578A63Fa3f67adaF7bbcA15CcADC45, targetNoFork=0x3a5527139DaBaAB84b71F44370e204FD05b6D241 ) => ( True )
  • AmIOnTheFork.CALL( )
  • ETH 1.11950913 0xa0bb4ba19f578a63fa3f67adaf7bbca15ccadc45.CALL( )
    File 1 of 2: 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;
        }
    }

    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;
        }
    }