ETH Price: $2,417.92 (-2.53%)

Transaction Decoder

Block:
14872251 at May-30-2022 11:14:04 AM +UTC
Transaction Fee:
0.003233768882871888 ETH $7.82
Gas Used:
193,104 Gas / 16.746255297 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x74Bc82a4...2D63536b3
0 Eth
Nonce: 0
0.018 Eth
Nonce: 0
0.018From: 0 To: 0
0x7F0B02C0...f7ce087f3
0 Eth
Nonce: 0
0.018 Eth
Nonce: 0
0.018From: 0 To: 0
(F2Pool Old)
2,241.940624079013398732 Eth2,241.940913735013398732 Eth0.000289656
0x99bdf739...BB842Db06
0 Eth
Nonce: 0
0.018 Eth
Nonce: 0
0.018From: 0 To: 0
0x99C820E1...5ea782136
0.170405988416756147 Eth
Nonce: 258
0.041172219533884259 Eth
Nonce: 259
0.129233768882871888
0x9A89F728...4a8D353ae 0.00197893341841305 Eth0.01997893341841305 Eth0.018
0xBAAC2c6f...A676FA840
0 Eth
Nonce: 0
0.018 Eth
Nonce: 0
0.018From: 0 To: 0
0xDD1511FC...10Fb17F71 0.004462197197784579 Eth0.022462197197784579 Eth0.018
0xf024cE81...069D841ae 0.002548870539712145 Eth0.020548870539712145 Eth0.018

Execution Trace

ETH 0.126 Disperse.disperseEther( recipients=[0xBAAC2c6f94c8c0e1caA49f79Cd1D643A676FA840, 0x74Bc82a49391092234Fe5a39d3220e52D63536b3, 0x99bdf7394469F75E055682b6B07D1B1BB842Db06, 0x7F0B02C036D600928596348fFAB8981f7ce087f3, 0x9A89F72879DaDA789FF86c8339cAde04a8D353ae, 0xDD1511FC9a9381fBC5Df09131eb105c10Fb17F71, 0xf024cE8148B06a9F7B39Ae3e943B576069D841ae], values=[18000000000000000, 18000000000000000, 18000000000000000, 18000000000000000, 18000000000000000, 18000000000000000, 18000000000000000] )
  • ETH 0.018 0xbaac2c6f94c8c0e1caa49f79cd1d643a676fa840.CALL( )
  • ETH 0.018 0x74bc82a49391092234fe5a39d3220e52d63536b3.CALL( )
  • ETH 0.018 0x99bdf7394469f75e055682b6b07d1b1bb842db06.CALL( )
  • ETH 0.018 0x7f0b02c036d600928596348ffab8981f7ce087f3.CALL( )
  • ETH 0.018 0x9a89f72879dada789ff86c8339cade04a8d353ae.CALL( )
  • ETH 0.018 0xdd1511fc9a9381fbc5df09131eb105c10fb17f71.CALL( )
  • ETH 0.018 0xf024ce8148b06a9f7b39ae3e943b576069d841ae.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]));
        }
    }