ETH Price: $2,001.79 (+0.18%)

Transaction Decoder

Block:
6846263 at Dec-08-2018 03:06:17 AM +UTC
Transaction Fee:
0.004035675 ETH $8.08
Gas Used:
192,175 Gas / 21 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x0b8f1c1a...F2aFD77c0 0.000000227392290838 Eth0.787349614392290838 Eth0.787349387
0x2A717119...cD88870e2 0.000000176959992788 Eth0.585465555959992788 Eth0.585465379
0x3779A822...F20A6A6C4 0 Eth1.521243855 Eth1.521243855
0x4eCaA64E...94B8098d3 0.0000000009589891 Eth0.1607359469589891 Eth0.160735946
0x4f4aA597...AB3F2a15a 0.000000231922102945 Eth0.479218439922102945 Eth0.479218208
0x56c93397...06140DcA0 0.737055335 Eth0.930476784 Eth0.193421449
0x5De9F558...5d39dA31C 44.279732799425461318 Eth45.297834407425461318 Eth1.018101608
0x5DED4a4b...B7f313871 3,411.65100825156959425 Eth3,412.50792804756959425 Eth0.856919796
0x63F878C5...18f252d58 0 Eth2.717524177 Eth2.717524177
0x692a8843...d5D79E9a5 1,083.845637754456983521 Eth1,095.510435207456983521 Eth11.664797453
0x811F99bB...716442b1a 0.00027329911543496 Eth3.23821193711543496 Eth3.237938638
0x8bdA3918...8ef54Cb71 0 Eth5.962779111 Eth5.962779111
0x92e3f585...dC88FB549 6,996.459793534024732039 Eth6,997.937484459024732039 Eth1.477690925
0x9479276B...3969eEc88 0.558617946470787796 Eth0.834683792470787796 Eth0.276065846
0xAb4E78FC...659281c3e 0 Eth0.377749932 Eth0.377749932
(MiningPoolHub: Old Address)
14,781.448275361738502855 Eth14,781.452311036738502855 Eth0.004035675
0xbE7E92cE...2070E6eC9 257.660017964 Eth258.163209344 Eth0.50319138
0xdCEb51B0...0455BC5e1
40.225162102193565575 Eth
Nonce: 403
8.292859732193565575 Eth
Nonce: 404
31.93230237
0xFe333059...17B3C918d 0.042025684303847526 Eth0.150099289303847526 Eth0.108073605

Execution Trace

ETH 31.928266695 MultiSender.multiSend( tokenAddress=0x000000000000000000000000000000000000bEEF, addresses=[0xFe333059126dC3c515B3cbDfcea12a817B3C918d, 0x56c9339734614659BC11B7A8A79dA8c06140DcA0, 0x5DED4a4b88BF19809E0a5Cb11bC1fd7B7f313871, 0x92e3f585ab699445fD7A809B5edF0C3dC88FB549, 0x5De9F5584249090D7E4702c56852D945d39dA31C, 0xbE7E92cE50be71608B1EFEe2B710Fc72070E6eC9, 0x9479276B0a451A06c329A177f1dB3F93969eEc88, 0x8bdA391816892c4E44f33B3f67b0FE18ef54Cb71, 0x2A71711953B9180f9781e93ba21A594cD88870e2, 0x811F99bBF496E13a9aB66f6cF9083d7716442b1a, 0x0b8f1c1a0250Ff3FD3729B8edD9B120F2aFD77c0, 0x4f4aA59757c5E54Fa67A819eD66437eAB3F2a15a, 0x63F878C56642B906ff688cDD370B9f918f252d58, 0x3779A8222698716dCFb8B98a1873D05F20A6A6C4, 0xAb4E78FCc2461A80Ab0a30e0EE43602659281c3e, 0x692a88436a21430e09c54798a49Da00d5D79E9a5, 0x4eCaA64EFbc20Df45CcE1B841deB14d94B8098d3], amounts=[108073605000000000, 193421449000000000, 856919796000000000, 1477690925000000000, 1018101608000000000, 503191380000000000, 276065846000000000, 5962779111000000000, 585465379000000000, 3237938638000000000, 787349387000000000, 479218208000000000, 2717524177000000000, 1521243855000000000, 377749932000000000, 11664797453000000000, 160735946000000000] )
  • ETH 0.108073605 0xfe333059126dc3c515b3cbdfcea12a817b3c918d.CALL( )
  • ETH 0.193421449 0x56c9339734614659bc11b7a8a79da8c06140dca0.CALL( )
  • ETH 0.856919796 0x5ded4a4b88bf19809e0a5cb11bc1fd7b7f313871.CALL( )
  • ETH 1.477690925 0x92e3f585ab699445fd7a809b5edf0c3dc88fb549.CALL( )
  • ETH 1.018101608 0x5de9f5584249090d7e4702c56852d945d39da31c.CALL( )
  • ETH 0.50319138 0xbe7e92ce50be71608b1efee2b710fc72070e6ec9.CALL( )
  • ETH 0.276065846 0x9479276b0a451a06c329a177f1db3f93969eec88.CALL( )
  • ETH 5.962779111 0x8bda391816892c4e44f33b3f67b0fe18ef54cb71.CALL( )
  • ETH 0.585465379 0x2a71711953b9180f9781e93ba21a594cd88870e2.CALL( )
  • ETH 3.237938638 0x811f99bbf496e13a9ab66f6cf9083d7716442b1a.CALL( )
  • ETH 0.787349387 0x0b8f1c1a0250ff3fd3729b8edd9b120f2afd77c0.CALL( )
  • ETH 0.479218208 0x4f4aa59757c5e54fa67a819ed66437eab3f2a15a.CALL( )
  • ETH 2.717524177 0x63f878c56642b906ff688cdd370b9f918f252d58.CALL( )
  • ETH 1.521243855 0x3779a8222698716dcfb8b98a1873d05f20a6a6c4.CALL( )
  • ETH 0.377749932 0xab4e78fcc2461a80ab0a30e0ee43602659281c3e.CALL( )
  • ETH 11.664797453 0x692a88436a21430e09c54798a49da00d5d79e9a5.CALL( )
  • ETH 0.160735946 0x4ecaa64efbc20df45cce1b841deb14d94b8098d3.CALL( )
    pragma solidity ^0.4.24;
    
    contract ERC20 {
        function transferFrom(address _from, address _to, uint _value) returns (bool success);
    }
    
    library SafeMath {
    
        /**
        * @dev Multiplies two numbers, throws on overflow.
        */
        function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
            // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
            if (a == 0) {
                return 0;
            }
    
            c = a * b;
            assert(c / a == b);
            return c;
        }
    
        /**
        * @dev Integer division of two numbers, truncating the quotient.
        */
        function div(uint256 a, uint256 b) internal pure returns (uint256) {
            // assert(b > 0); // Solidity automatically throws when dividing by 0
            // uint256 c = a / b;
            // assert(a == b * c + a % b); // There is no case in which this doesn't hold
            return a / b;
        }
    
        /**
        * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
        */
        function sub(uint256 a, uint256 b) internal pure returns (uint256) {
            assert(b <= a);
            return a - b;
        }
    
        /**
        * @dev Adds two numbers, throws on overflow.
        */
        function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
            c = a + b;
            assert(c >= a);
            return c;
        }
    }
    
    contract MultiSender {
        using SafeMath for uint256;
    
        function multiSend(address tokenAddress, address[] addresses, uint256[] amounts) public payable {
            require(addresses.length <= 100);
            require(addresses.length == amounts.length);
            if (tokenAddress == 0x000000000000000000000000000000000000bEEF) {
                multisendEther(addresses, amounts);
            } else {
                ERC20 token = ERC20(tokenAddress);
                //Token address
                for (uint8 i = 0; i < addresses.length; i++) {
                    address _address = addresses[i];
                    uint256 _amount = amounts[i];
                    token.transferFrom(msg.sender, _address, _amount);
                }
            }
        }
    
        function multisendEther(address[] addresses, uint256[] amounts) public payable {
            uint256 total = msg.value;
            uint256 i = 0;
            for (i; i < addresses.length; i++) {
                require(total >= amounts[i]);
                total = total.sub(amounts[i]);
                addresses[i].transfer(amounts[i]);
            }
        }
    }