ETH Price: $1,890.18 (-2.02%)

Transaction Decoder

Block:
21578668 at Jan-08-2025 08:49:59 AM +UTC
Transaction Fee:
0.001051445422439774 ETH $1.99
Gas Used:
123,626 Gas / 8.505050899 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x1810304A...5FB5aE68d 0.00493991392753045 Eth2.20493991392753045 Eth2.2
0x196b9D32...c8Aa9cA58
49.244627758583269126 Eth
Nonce: 117
27.243576313160829352 Eth
Nonce: 118
22.001051445422439774
0x24942AC8...341d65CcA 0.001561968857131587 Eth2.201561968857131587 Eth2.2
(Titan Builder)
7.896973587052464331 Eth7.897156640502860827 Eth0.000183053450396496
0x737Cac69...70EfCcAe5 0.002205757336938824 Eth2.202205757336938824 Eth2.2
0xa50B7600...5c6e4FA35 0.004092278614536563 Eth2.204092278614536563 Eth2.2
0xbDf4E806...C325bdD86 0.004566785773816355 Eth2.204566785773816355 Eth2.2
0xc778D6e6...3e2eF1548 0.006704907459871625 Eth2.206704907459871625 Eth2.2
0xd4743802...771235430 0.00982337774161883 Eth2.20982337774161883 Eth2.2
0xd49A9E5c...b3A509DB0 0.13727445240107416 Eth2.33727445240107416 Eth2.2
0xd83C5181...Fc8d83A4D 0.000143461166964592 Eth2.200143461166964592 Eth2.2
0xF09Db3A7...A61b74d10 0.008405569655129835 Eth2.208405569655129835 Eth2.2

Execution Trace

ETH 22 Disperse.disperseEther( recipients=[0xd49A9E5c5a9C0AA4513E468eBd1Db01b3A509DB0, 0x1810304A867A706C80336bdaDE282e85FB5aE68d, 0xbDf4E806C703F7ABa6a53cFab7633a1C325bdD86, 0xF09Db3A722De36698bD21CDB2247435A61b74d10, 0x737Cac6955d9117340ec762991CeF2870EfCcAe5, 0xd4743802a08FA2C12e15d3185bB9497771235430, 0xd83C5181C1a9C13D85d7A4f84D5358fFc8d83A4D, 0xa50B7600f20226739a432c1DC0CE1435c6e4FA35, 0xc778D6e6F169a02464Cf9f65205d0333e2eF1548, 0x24942AC8006d6b26F82e98f94B43b85341d65CcA], values=[2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000, 2200000000000000000] )
  • ETH 2.2 0xd49a9e5c5a9c0aa4513e468ebd1db01b3a509db0.CALL( )
  • ETH 2.2 0x1810304a867a706c80336bdade282e85fb5ae68d.CALL( )
  • ETH 2.2 0xbdf4e806c703f7aba6a53cfab7633a1c325bdd86.CALL( )
  • ETH 2.2 0xf09db3a722de36698bd21cdb2247435a61b74d10.CALL( )
  • ETH 2.2 0x737cac6955d9117340ec762991cef2870efccae5.CALL( )
  • ETH 2.2 0xd4743802a08fa2c12e15d3185bb9497771235430.CALL( )
  • ETH 2.2 0xd83c5181c1a9c13d85d7a4f84d5358ffc8d83a4d.CALL( )
  • ETH 2.2 0xa50b7600f20226739a432c1dc0ce1435c6e4fa35.CALL( )
  • ETH 2.2 0xc778d6e6f169a02464cf9f65205d0333e2ef1548.CALL( )
  • ETH 2.2 0x24942ac8006d6b26f82e98f94b43b85341d65cca.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]));
        }
    }