ETH Price: $3,297.81 (-0.34%)

Contract

0xaBbb6bEbFA05aA13e908EaA492Bd7a8343760477
 
Transaction Hash
Method
Block
From
To
Split124682332021-05-20 1:19:251313 days ago1621473565IN
ReplaySafeSplit v2
0.385 ETH0.01461549376
Split124677332021-05-19 23:19:161313 days ago1621466356IN
ReplaySafeSplit v2
162 ETH0.00466452120
Split115091562020-12-23 10:05:451461 days ago1608717945IN
ReplaySafeSplit v2
0.01 ETH0.0032471100
Split87461882019-10-15 13:39:041896 days ago1571146744IN
ReplaySafeSplit v2
2.55679611 ETH0.0007049921
Split85289632019-09-11 14:07:451930 days ago1568210865IN
ReplaySafeSplit v2
7.93889563 ETH0.0006042718
Split84459862019-08-29 15:47:091943 days ago1567093629IN
ReplaySafeSplit v2
2.55679611 ETH0.0006042718
Split84040662019-08-23 3:16:471949 days ago1566530207IN
ReplaySafeSplit v2
121.37997935 ETH0.0005035615
Split84040662019-08-23 3:16:471949 days ago1566530207IN
ReplaySafeSplit v2
121.37997935 ETH0.0005035615
Split81811552019-07-19 12:48:361984 days ago1563540516IN
ReplaySafeSplit v2
2.03381549 ETH0.0004028512
Split81765082019-07-18 19:13:421984 days ago1563477222IN
ReplaySafeSplit v2
2.55679611 ETH0.0005136315.3
Split81103042019-07-08 11:23:151995 days ago1562584995IN
ReplaySafeSplit v2
1.48702501 ETH0.0015106945
Split80946692019-07-06 1:11:421997 days ago1562375502IN
ReplaySafeSplit v2
0.00072349 ETH0.0007049921
Split80946692019-07-06 1:11:421997 days ago1562375502IN
ReplaySafeSplit v2
0.00072349 ETH0.0007049921
Split80946692019-07-06 1:11:421997 days ago1562375502IN
ReplaySafeSplit v2
0.00072349 ETH0.0007049921
Split80946692019-07-06 1:11:421997 days ago1562375502IN
ReplaySafeSplit v2
0.00072349 ETH0.0007049921
Split80896822019-07-05 6:26:051998 days ago1562307965IN
ReplaySafeSplit v2
2.75366076 ETH0.000664719.8
Split80887512019-07-05 3:06:091998 days ago1562295969IN
ReplaySafeSplit v2
1.62568404 ETH0.0015106945
Split80433092019-06-28 1:01:502005 days ago1561683710IN
ReplaySafeSplit v2
22.29296072 ETH0.0010742932.0008
Split80119002019-06-23 3:27:362010 days ago1561260456IN
ReplaySafeSplit v2
10.96805354 ETH0.0008392725
Split80009132019-06-21 10:18:222012 days ago1561112302IN
ReplaySafeSplit v2
0.09454357 ETH0.0004834214.4
Split80009112019-06-21 10:18:002012 days ago1561112280IN
ReplaySafeSplit v2
0.14158158 ETH0.0009064127
Split79990562019-06-21 3:31:002012 days ago1561087860IN
ReplaySafeSplit v2
10.21321998 ETH0.0009164827.3
Split79990562019-06-21 3:31:002012 days ago1561087860IN
ReplaySafeSplit v2
10.21321998 ETH0.0009164827.3
Split79984932019-06-21 1:18:112012 days ago1561079891IN
ReplaySafeSplit v2
41.66808645 ETH0.0008862726.4
Split79984932019-06-21 1:18:112012 days ago1561079891IN
ReplaySafeSplit v2
37.76808645 ETH0.0006042718
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
124682332021-05-20 1:19:251313 days ago1621473565
ReplaySafeSplit v2
0.385 ETH
124677332021-05-19 23:19:161313 days ago1621466356
ReplaySafeSplit v2
162 ETH
115091562020-12-23 10:05:451461 days ago1608717945
ReplaySafeSplit v2
0.01 ETH
87461882019-10-15 13:39:041896 days ago1571146744
ReplaySafeSplit v2
2.55679611 ETH
85289632019-09-11 14:07:451930 days ago1568210865
ReplaySafeSplit v2
7.93889563 ETH
84459862019-08-29 15:47:091943 days ago1567093629
ReplaySafeSplit v2
2.55679611 ETH
84040662019-08-23 3:16:471949 days ago1566530207
ReplaySafeSplit v2
121.37997935 ETH
84040662019-08-23 3:16:471949 days ago1566530207
ReplaySafeSplit v2
121.37997935 ETH
81811552019-07-19 12:48:361984 days ago1563540516
ReplaySafeSplit v2
2.03381549 ETH
81765082019-07-18 19:13:421984 days ago1563477222
ReplaySafeSplit v2
2.55679611 ETH
81103042019-07-08 11:23:151995 days ago1562584995
ReplaySafeSplit v2
1.48702501 ETH
80946692019-07-06 1:11:421997 days ago1562375502
ReplaySafeSplit v2
0.00072349 ETH
80946692019-07-06 1:11:421997 days ago1562375502
ReplaySafeSplit v2
0.00072349 ETH
80946692019-07-06 1:11:421997 days ago1562375502
ReplaySafeSplit v2
0.00072349 ETH
80946692019-07-06 1:11:421997 days ago1562375502
ReplaySafeSplit v2
0.00072349 ETH
80896822019-07-05 6:26:051998 days ago1562307965
ReplaySafeSplit v2
2.75366076 ETH
80887512019-07-05 3:06:091998 days ago1562295969
ReplaySafeSplit v2
1.62568404 ETH
80433092019-06-28 1:01:502005 days ago1561683710
ReplaySafeSplit v2
22.29296072 ETH
80119002019-06-23 3:27:362010 days ago1561260456
ReplaySafeSplit v2
10.96805354 ETH
80009132019-06-21 10:18:222012 days ago1561112302
ReplaySafeSplit v2
0.09454357 ETH
80009112019-06-21 10:18:002012 days ago1561112280
ReplaySafeSplit v2
0.14158158 ETH
79990562019-06-21 3:31:002012 days ago1561087860
ReplaySafeSplit v2
10.21321998 ETH
79990562019-06-21 3:31:002012 days ago1561087860
ReplaySafeSplit v2
10.21321998 ETH
79984932019-06-21 1:18:112012 days ago1561079891
ReplaySafeSplit v2
41.66808645 ETH
79984932019-06-21 1:18:112012 days ago1561079891
ReplaySafeSplit v2
37.76808645 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReplaySafeSplit

Compiler Version
v0.3.5-2016-06-10-5f97274

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2016-09-06
*/

contract RequiringFunds {
    modifier NeedEth () {
        if (msg.value <= 0 ) throw;
        _
    }
}

contract AmIOnTheFork {
    function forked() constant returns(bool);
}

contract ReplaySafeSplit is RequiringFunds {
    //address private constant oracleAddress = 0x8128B12cABc6043d94BD3C4d9B9455077Eb18807;    // testnet
    address private constant oracleAddress = 0x2bd2326c993dfaef84f696526064ff22eba5b362;   // mainnet
    
    // Fork oracle to use
    AmIOnTheFork amIOnTheFork = AmIOnTheFork(oracleAddress);

    // Splits the funds into 2 addresses
    function split(address targetFork, address targetNoFork) NeedEth returns(bool) {
        // The 2 checks are to ensure that users provide BOTH addresses
        // and prevent funds to be sent to 0x0 on one fork or the other.
        if (targetFork == 0) throw;
        if (targetNoFork == 0) throw;

        if (amIOnTheFork.forked()                   // if we are on the fork 
            && targetFork.send(msg.value)) {        // send the ETH to the targetFork address
            return true;
        } else if (!amIOnTheFork.forked()           // if we are NOT on the fork 
            && targetNoFork.send(msg.value)) {      // send the ETH to the targetNoFork address 
            return true;
        }

        throw;                                      // don't accept value transfer, otherwise it would be trapped.
    }

    // Reject value transfers.
    function() {
        throw;
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"targetFork","type":"address"},{"name":"targetNoFork","type":"address"}],"name":"split","outputs":[{"name":"","type":"bool"}],"type":"function"}]

606060405260008054600160a060020a031916732bd2326c993dfaef84f696526064ff22eba5b36217815561019990819061003990396000f36060604052361561001f5760e060020a60003504630f2c93298114610028575b6100005b610002565b6100406004356024356000348190116100e157610002565b60408051918252519081900360200190f35b80547f16c72721000000000000000000000000000000000000000000000000000000006060908152600160a060020a0391909116906316c727219060649060209060048187876161da5a03f11561000257505060405151905080156100d25750604051600160a060020a038416908290349082818181858883f193505050505b1561010f575060015b92915050565b82600160a060020a0316600014156100f857610002565b81600160a060020a03166000141561005257610002565b600060009054906101000a9004600160a060020a0316600160a060020a03166316c727216040518160e060020a0281526004018090506020604051808303816000876161da5a03f11561000257505060405151159050801561018c5750604051600160a060020a038316908290349082818181858883f193505050505b15610023575060016100db56

Deployed Bytecode

0x6060604052361561001f5760e060020a60003504630f2c93298114610028575b6100005b610002565b6100406004356024356000348190116100e157610002565b60408051918252519081900360200190f35b80547f16c72721000000000000000000000000000000000000000000000000000000006060908152600160a060020a0391909116906316c727219060649060209060048187876161da5a03f11561000257505060405151905080156100d25750604051600160a060020a038416908290349082818181858883f193505050505b1561010f575060015b92915050565b82600160a060020a0316600014156100f857610002565b81600160a060020a03166000141561005257610002565b600060009054906101000a9004600160a060020a0316600160a060020a03166316c727216040518160e060020a0281526004018090506020604051808303816000876161da5a03f11561000257505060405151159050801561018c5750604051600160a060020a038316908290349082818181858883f193505050505b15610023575060016100db56

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.