ETH Price: $2,137.85 (+1.07%)

Transaction Decoder

Block:
2506701 at Oct-25-2016 06:30:24 PM +UTC
Transaction Fee:
0.001396344 ETH $2.99
Gas Used:
58,181 Gas / 24 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x282c8b02...510BA2a6e
1.5 Eth
Nonce: 0
0.000763656 Eth
Nonce: 1
1.499236344
(DwarfPool)
8,034.008924591663948386 Eth8,034.010320935663948386 Eth0.001396344
0x8f5A57B1...AABD39b96
0 Eth
Nonce: 0
1.49784 Eth
Nonce: 0
1.49784From: 0 To: 0

Execution Trace

ETH 1.49784 ReplaySafeSplit.split( targetFork=0x8f5A57B1Ad791efcB826BB3B0764562AABD39b96, targetNoFork=0x282c8b026525E85D2ffE8FaC8C8d81f510BA2a6e ) => ( True )
  • AmIOnTheFork.CALL( )
  • ETH 1.49784 0x8f5a57b1ad791efcb826bb3b0764562aabd39b96.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;
        }
    }