ETH Price: $2,087.80 (-1.74%)

Transaction Decoder

Block:
5953518 at Jul-12-2018 11:31:25 PM +UTC
Transaction Fee:
0.00099888 ETH $2.09
Gas Used:
33,296 Gas / 30 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x51836A75...F5fb8d521
(Indodax 1)
5,560.830068950855123113 Eth5,560.879566289855123113 Eth0.049497339
(Spark Pool)
5,351.669428926471279251 Eth5,351.670427806471279251 Eth0.00099888
0xf4867AFE...3877a4689
0.050577348686321088 Eth
Nonce: 710
0.000081129686321088 Eth
Nonce: 711
0.050496219

Execution Trace

ETH 0.049497339 ReplaySafeSplit.split( targetFork=0x51836A753E344257B361519E948ffCAF5fb8d521, targetNoFork=0x69a04b4185DB292d80A983E823b150ff2418A10B ) => ( True )
  • AmIOnTheFork.CALL( )
  • ETH 0.049497339 Indodax 1.CALL( )
    File 1 of 2: ReplaySafeSplit
    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;
        }
    }

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