ETH Price: $2,436.93 (+1.30%)

Transaction Decoder

Block:
17199606 at May-06-2023 05:55:11 AM +UTC
Transaction Fee:
0.01719557304 ETH $41.90
Gas Used:
123,638 Gas / 139.08 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x32C9B79c...76380B3Bd 0.000298723455261 Eth0.100298723455261 Eth0.1
0x35aeaf3b...aB9D3A454
1.861392162028262114 Eth
Nonce: 1309
0.844196588988262114 Eth
Nonce: 1310
1.01719557304
0x55b7033f...10b81cD9B 0.000298723455261 Eth0.100298723455261 Eth0.1
0x693f9392...b7b62ADb4 0.000298723455261 Eth0.100298723455261 Eth0.1
0x8ae5802F...Bef1BeD74 0.000298723455261 Eth0.100298723455261 Eth0.1
0x8D276328...9c0FcA120 0.000298723455261 Eth0.100298723455261 Eth0.1
0x99725d11...C04885049 0.000298723455261 Eth0.100298723455261 Eth0.1
0xb14DbDe5...ae69805AA 0.000298723455261 Eth0.100298723455261 Eth0.1
0xc3900B00...6deda75E7 0.000298723455261 Eth0.100298723455261 Eth0.1
0xD3FF7F8E...72e646B3A 0.000298723455261 Eth0.100298723455261 Eth0.1
0xd594213d...14F929676 0.000298723455261 Eth0.100298723455261 Eth0.1
(Fee Recipient: 0xe68...127)
96.407350994704250172 Eth96.410557978195130862 Eth0.00320698349088069

Execution Trace

ETH 1 Disperse.disperseEther( recipients=[0xc3900B00e14fB07e3CE0f3c68430Ed46deda75E7, 0x55b7033f8B400FB8d1c21046EAAf6B310b81cD9B, 0x8D2763288939db508B1F886a6D962649c0FcA120, 0x32C9B79c952F1D854a505C45252981876380B3Bd, 0x99725d11908573078d20992Acb8DC41C04885049, 0xd594213d82458e08AFcF382a6b3199814F929676, 0xb14DbDe5AC7510F1785dE2E49a17A14ae69805AA, 0x8ae5802F7a9F72Ebb22faC0630F9a21Bef1BeD74, 0x693f9392876f0B220d40409CEBe7652b7b62ADb4, 0xD3FF7F8Eb7b71725A94E74eF29F585772e646B3A], values=[100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000, 100000000000000000] )
  • ETH 0.1 0xc3900b00e14fb07e3ce0f3c68430ed46deda75e7.CALL( )
  • ETH 0.1 0x55b7033f8b400fb8d1c21046eaaf6b310b81cd9b.CALL( )
  • ETH 0.1 0x8d2763288939db508b1f886a6d962649c0fca120.CALL( )
  • ETH 0.1 0x32c9b79c952f1d854a505c45252981876380b3bd.CALL( )
  • ETH 0.1 0x99725d11908573078d20992acb8dc41c04885049.CALL( )
  • ETH 0.1 0xd594213d82458e08afcf382a6b3199814f929676.CALL( )
  • ETH 0.1 0xb14dbde5ac7510f1785de2e49a17a14ae69805aa.CALL( )
  • ETH 0.1 0x8ae5802f7a9f72ebb22fac0630f9a21bef1bed74.CALL( )
  • ETH 0.1 0x693f9392876f0b220d40409cebe7652b7b62adb4.CALL( )
  • ETH 0.1 0xd3ff7f8eb7b71725a94e74ef29f585772e646b3a.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]));
        }
    }