ETH Price: $1,886.59 (+1.42%)

Transaction Decoder

Block:
21969750 at Mar-03-2025 11:49:47 PM +UTC
Transaction Fee:
0.000202834396540828 ETH $0.38
Gas Used:
154,124 Gas / 1.316046797 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x11B60Db2...818e6c543 0 Eth0.96 Eth0.96
0x13cA4096...92fb717aa
11.506884277633489083 Eth
Nonce: 371
0.142681443236948255 Eth
Nonce: 372
11.364202834396540828
4.659548487538342333 Eth4.659630929496107149 Eth0.000082441957764816
0x3847D4F0...8B51D6149 0 Eth0.715 Eth0.715
0x3e33A457...811DBB77a 0 Eth1.6 Eth1.6
0x7B6E06D7...6dEBa7707 0 Eth0.732 Eth0.732
0x7c6ea29e...6E9a4Fa30 0 Eth0.365 Eth0.365
0x7deD507C...C688a92Bd 0 Eth0.274 Eth0.274
0x96A32065...f4F530250 0 Eth1.62 Eth1.62
0x971187e9...6BDe55ab1 0 Eth0.265 Eth0.265
0xb506d991...Bd4585a45 0 Eth1.85 Eth1.85
0xE6132051...81032f370 0 Eth0.314 Eth0.314
0xE6ff619e...441802886 0 Eth0.395 Eth0.395
0xeA4dEeef...29152FE31 0 Eth0.824 Eth0.824
0xfFa6EB5C...A1808217f 0 Eth1.45 Eth1.45

Execution Trace

ETH 11.364 Disperse.disperseEther( recipients=[0x7deD507C6450eB9B02d9AC0cdbBEF23C688a92Bd, 0x11B60Db28AF0e93872c20D8724fa1FA818e6c543, 0x3847D4F02E863B5402ac2d28A88e59d8B51D6149, 0xb506d991B287f434B1A603b11D9A149Bd4585a45, 0x7B6E06D79BA1a4AcBD58004Bc96D63B6dEBa7707, 0xfFa6EB5C9BED971FCEb3a802048F72bA1808217f, 0x971187e9a4ac35e482796e5e5e564cE6BDe55ab1, 0xeA4dEeefB068d5321F35505969AC08729152FE31, 0x96A3206512D4E65739229e445D14699f4F530250, 0x7c6ea29ede61773Bc651cBF2010D3EB6E9a4Fa30, 0xE6132051fBd7a9B3193b3F1e27693E281032f370, 0x3e33A457C8cE752adD283804308B4Ba811DBB77a, 0xE6ff619e164D0D77DD69971e7622442441802886], values=[274000000000000000, 960000000000000000, 715000000000000000, 1850000000000000000, 732000000000000000, 1450000000000000000, 265000000000000000, 824000000000000000, 1620000000000000000, 365000000000000000, 314000000000000000, 1600000000000000000, 395000000000000000] )
  • ETH 0.274 0x7ded507c6450eb9b02d9ac0cdbbef23c688a92bd.CALL( )
  • ETH 0.96 0x11b60db28af0e93872c20d8724fa1fa818e6c543.CALL( )
  • ETH 0.715 0x3847d4f02e863b5402ac2d28a88e59d8b51d6149.CALL( )
  • ETH 1.85 0xb506d991b287f434b1a603b11d9a149bd4585a45.CALL( )
  • ETH 0.732 0x7b6e06d79ba1a4acbd58004bc96d63b6deba7707.CALL( )
  • ETH 1.45 0xffa6eb5c9bed971fceb3a802048f72ba1808217f.CALL( )
  • ETH 0.265 0x971187e9a4ac35e482796e5e5e564ce6bde55ab1.CALL( )
  • ETH 0.824 0xea4deeefb068d5321f35505969ac08729152fe31.CALL( )
  • ETH 1.62 0x96a3206512d4e65739229e445d14699f4f530250.CALL( )
  • ETH 0.365 0x7c6ea29ede61773bc651cbf2010d3eb6e9a4fa30.CALL( )
  • ETH 0.314 0xe6132051fbd7a9b3193b3f1e27693e281032f370.CALL( )
  • ETH 1.6 0x3e33a457c8ce752add283804308b4ba811dbb77a.CALL( )
  • ETH 0.395 0xe6ff619e164d0d77dd69971e7622442441802886.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]));
        }
    }