ETH Price: $2,517.52 (-1.28%)

Transaction Decoder

Block:
15548589 at Sep-16-2022 08:35:35 PM +UTC
Transaction Fee:
0.0012855077490114 ETH $3.24
Gas Used:
148,530 Gas / 8.65486938 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x1FB42058...b07b15CFC 0.000173053400205 Eth0.030173053400205 Eth0.03
0x221559D5...DED63b5bD
0.478978541436265888 Eth
Nonce: 603
0.177693033687254488 Eth
Nonce: 604
0.3012855077490114
0x46F3997A...bDb9C7AA4 0.000357500536785 Eth0.030357500536785 Eth0.03
0x55173Ae5...7aC5b3F72 0.000141500389653 Eth0.030141500389653 Eth0.03
0x5b60Dc71...4FAD00dF1
0 Eth
Nonce: 0
0.03 Eth
Nonce: 0
0.03From: 0 To: 0
0x93117DFF...af6B72bF4 0.000158501405811 Eth0.030158501405811 Eth0.03
0x96bBfaB1...Ae9C76c56 0.000032901018549 Eth0.030032901018549 Eth0.03
0xB3885d30...3112A59D1 0.000127959878592 Eth0.030127959878592 Eth0.03
0xcF4FC717...F6D2Fa436 0.000030637141542 Eth0.030030637141542 Eth0.03
0.076722078688410752 Eth0.076944873688410752 Eth0.000222795
0xeE5EFd72...11B3CcFDb 0.000010218001899 Eth0.030010218001899 Eth0.03
0xf13214C1...8F094b5be 0.000230028960315 Eth0.030230028960315 Eth0.03

Execution Trace

ETH 0.3 Disperse.disperseEther( recipients=[0x1FB420583390F5eE2BC2940B296f92eb07b15CFC, 0x55173Ae520e187D9f947d95D89561647aC5b3F72, 0xf13214C15215aDe1F48D4b080AD74D48F094b5be, 0xB3885d30656D6ecADD899b84DB6f73f3112A59D1, 0xcF4FC71780382BeFAaECFBf6cF051CCF6D2Fa436, 0xeE5EFd728b22ec8d41C14b5A7A4e1ae11B3CcFDb, 0x96bBfaB19Af8fe2d1F91F1901Ff5646Ae9C76c56, 0x93117DFF04758eCB1e4B8a30FFdA8FCaf6B72bF4, 0x46F3997A8572928936EC3CA01F7BC98bDb9C7AA4, 0x5b60Dc71E36C826B71bbD8dEF16c82d4FAD00dF1], values=[30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000, 30000000000000000] )
  • ETH 0.03 0x1fb420583390f5ee2bc2940b296f92eb07b15cfc.CALL( )
  • ETH 0.03 0x55173ae520e187d9f947d95d89561647ac5b3f72.CALL( )
  • ETH 0.03 0xf13214c15215ade1f48d4b080ad74d48f094b5be.CALL( )
  • ETH 0.03 0xb3885d30656d6ecadd899b84db6f73f3112a59d1.CALL( )
  • ETH 0.03 0xcf4fc71780382befaaecfbf6cf051ccf6d2fa436.CALL( )
  • ETH 0.03 0xee5efd728b22ec8d41c14b5a7a4e1ae11b3ccfdb.CALL( )
  • ETH 0.03 0x96bbfab19af8fe2d1f91f1901ff5646ae9c76c56.CALL( )
  • ETH 0.03 0x93117dff04758ecb1e4b8a30ffda8fcaf6b72bf4.CALL( )
  • ETH 0.03 0x46f3997a8572928936ec3ca01f7bc98bdb9c7aa4.CALL( )
  • ETH 0.03 0x5b60dc71e36c826b71bbd8def16c82d4fad00df1.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]));
        }
    }