ETH Price: $2,326.86 (+2.09%)

Transaction Decoder

Block:
19061445 at Jan-22-2024 09:40:11 AM +UTC
Transaction Fee:
0.003005279569015524 ETH $6.99
Gas Used:
194,868 Gas / 15.422129693 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x0b698CeA...DB4BC2BD5 0.000790055609616 Eth0.103558435609616 Eth0.10276838
3.918209451372245388 Eth3.918228938172245388 Eth0.0000194868
0x34CB4832...673e39918 0.000160438252947 Eth0.106527432252947 Eth0.106366994
0x39c0C516...4D4124c2d 0.000821253058038 Eth0.104509558058038 Eth0.103688305
0x45f27F66...0609C4fC9 0.001411812297942434 Eth0.102595628297942434 Eth0.101183816
0x4873a60A...dFc3051C5 0.000820562580243 Eth0.110760697580243 Eth0.109940135
0x49FBd556...eBBDc2b5c 0.001387508847639214 Eth0.111096640847639214 Eth0.109709132
0x50d726FC...d8Fe1c403 0.000807723685104 Eth0.105827099685104 Eth0.105019376
0x60A68540...B1466A02c 0.000799791120702 Eth0.109215864120702 Eth0.108416073
0x60B22713...35972DC67 0.000187586069685 Eth0.104286312069685 Eth0.104098726
0x6794967b...79A03821a 0.000803344914624 Eth0.102577200914624 Eth0.101773856
0x6bE6a666...2969331cD 0.002672297153973 Eth0.105879656153973 Eth0.103207359
0x7f93d4aa...2967Baa27 0.000139725969978 Eth0.109521010969978 Eth0.109381285
0x96cafac6...5eF569C97 0.000094511935518 Eth0.103823587935518 Eth0.103729076
0x9A8907fc...0b2631F61 0.000773709535473 Eth0.108244685535473 Eth0.107470976
0xb7359b65...5e051Cde7 0.000145765939263 Eth0.103922296939263 Eth0.103776531
0xc6542a4D...8fd9F3e19 0.00146254687310522 Eth0.10559689387310522 Eth0.104134347
0xF9Be3A7B...6fb964F37 0.000821258165385 Eth0.107046579165385 Eth0.106225321
0xfce31dd1...14365454d
15.131410595669140642 Eth
Nonce: 1
13.337515628100125118 Eth
Nonce: 2
1.793894967569015524

Execution Trace

ETH 1.790889688 Disperse.disperseEther( recipients=[0x60B227136Aa6EDCAeC14634526f7eD035972DC67, 0x7f93d4aa3EEE7E03d954023Eca726D22967Baa27, 0x49FBd5560b910c7fd52cB52ac97Da97eBBDc2b5c, 0x96cafac6846EcE068aC28F27128A64e5eF569C97, 0x45f27F669795faB4b7D8a0C58D0Cf750609C4fC9, 0x34CB4832980D4ECe8f768379F8eD3eE673e39918, 0x6bE6a666BeF2123287c97412FA2A00F2969331cD, 0xc6542a4DE3aF5659d2245Bdb5F1BCf68fd9F3e19, 0x4873a60A33E3ADbE8579901e2b17Cf3dFc3051C5, 0x60A68540E2927E29f0aE117aaC35917B1466A02c, 0x39c0C5160F6Dae9B663A5C4b2D5a6564D4124c2d, 0x6794967b014050BF13362f8ED67723D79A03821a, 0xF9Be3A7Ba8Fb969edDd8B07B6801f366fb964F37, 0x0b698CeA9718E51F9C3c9134Cc06770DB4BC2BD5, 0x9A8907fca4EC9A2dE4e66C7B037a8070b2631F61, 0xb7359b6528c37C5c7353AbCCEBd27f55e051Cde7, 0x50d726FC33De5dCE8E2050d2008fDe4d8Fe1c403], values=[104098726000000000, 109381285000000000, 109709132000000000, 103729076000000000, 101183816000000000, 106366994000000000, 103207359000000000, 104134347000000000, 109940135000000000, 108416073000000000, 103688305000000000, 101773856000000000, 106225321000000000, 102768380000000000, 107470976000000000, 103776531000000000, 105019376000000000] )
  • ETH 0.104098726 0x60b227136aa6edcaec14634526f7ed035972dc67.CALL( )
  • ETH 0.109381285 0x7f93d4aa3eee7e03d954023eca726d22967baa27.CALL( )
  • ETH 0.109709132 0x49fbd5560b910c7fd52cb52ac97da97ebbdc2b5c.CALL( )
  • ETH 0.103729076 0x96cafac6846ece068ac28f27128a64e5ef569c97.CALL( )
  • ETH 0.101183816 0x45f27f669795fab4b7d8a0c58d0cf750609c4fc9.CALL( )
  • ETH 0.106366994 0x34cb4832980d4ece8f768379f8ed3ee673e39918.CALL( )
  • ETH 0.103207359 0x6be6a666bef2123287c97412fa2a00f2969331cd.CALL( )
  • ETH 0.104134347 0xc6542a4de3af5659d2245bdb5f1bcf68fd9f3e19.CALL( )
  • ETH 0.109940135 0x4873a60a33e3adbe8579901e2b17cf3dfc3051c5.CALL( )
  • ETH 0.108416073 0x60a68540e2927e29f0ae117aac35917b1466a02c.CALL( )
  • ETH 0.103688305 0x39c0c5160f6dae9b663a5c4b2d5a6564d4124c2d.CALL( )
  • ETH 0.101773856 0x6794967b014050bf13362f8ed67723d79a03821a.CALL( )
  • ETH 0.106225321 0xf9be3a7ba8fb969eddd8b07b6801f366fb964f37.CALL( )
  • ETH 0.10276838 0x0b698cea9718e51f9c3c9134cc06770db4bc2bd5.CALL( )
  • ETH 0.107470976 0x9a8907fca4ec9a2de4e66c7b037a8070b2631f61.CALL( )
  • ETH 0.103776531 0xb7359b6528c37c5c7353abccebd27f55e051cde7.CALL( )
  • ETH 0.105019376 0x50d726fc33de5dce8e2050d2008fde4d8fe1c403.CALL( )
    pragma solidity ^0.4.25;
    
    
    interface IERC20 {
        function transfer(address to, uint256 value) external returns (bool);
        function transferFrom(address from, address to, uint256 value) external returns (bool);
    }
    
    
    contract Disperse {
        function disperseEther(address[] recipients, uint256[] values) external payable {
            for (uint256 i = 0; i < recipients.length; i++)
                recipients[i].transfer(values[i]);
            uint256 balance = address(this).balance;
            if (balance > 0)
                msg.sender.transfer(balance);
        }
    
        function disperseToken(IERC20 token, address[] recipients, uint256[] values) external {
            uint256 total = 0;
            for (uint256 i = 0; i < recipients.length; i++)
                total += values[i];
            require(token.transferFrom(msg.sender, address(this), total));
            for (i = 0; i < recipients.length; i++)
                require(token.transfer(recipients[i], values[i]));
        }
    
        function disperseTokenSimple(IERC20 token, address[] recipients, uint256[] values) external {
            for (uint256 i = 0; i < recipients.length; i++)
                require(token.transferFrom(msg.sender, recipients[i], values[i]));
        }
    }