ETH Price: $2,461.69 (+1.39%)

Transaction Decoder

Block:
21175760 at Nov-13-2024 02:23:59 AM +UTC
Transaction Fee:
0.0038654626940312 ETH $9.52
Gas Used:
113,488 Gas / 34.06054115 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x01b60A34...Cd475BccC 0.001044860466881 Eth0.010513860466881 Eth0.009469
0x50037B84...A36b4968f 0.000888783835885 Eth0.058002783835885 Eth0.057114
0x50A881c5...Db90E9EfE 0.00032053251644111 Eth0.06387353251644111 Eth0.063553
0x5589d50B...ED81CAa63 0.000386450544239 Eth0.028426450544239 Eth0.02804
0x5AcF91E3...a6EF456b9 0.004257245070548684 Eth0.019767245070548684 Eth0.01551
(beaverbuild)
9.140666985323872858 Eth9.140780473323872858 Eth0.000113488
0xce87244E...b5deD17bd
0.800920793508488785 Eth
Nonce: 8119
0.325575330814457585 Eth
Nonce: 8120
0.4753454626940312
0xdC67AC03...55755E838 0.00012080617275801 Eth0.07189780617275801 Eth0.071777
0xDfF0FF2a...343f289cb 0.002627756269371433 Eth0.155803756269371433 Eth0.153176
0xe784fB40...6d743A27F 0.000089045385351 Eth0.044896045385351 Eth0.044807
0xFB2DB319...Add1F4Cf6 0.001207819318936 Eth0.029241819318936 Eth0.028034

Execution Trace

ETH 0.47148 Disperse.disperseEther( recipients=[0x01b60A34A9Dc5b3176B34710Ced03e2Cd475BccC, 0x50037B847d98777826dCEf6de80625bA36b4968f, 0x50A881c575C97E03B0d5fC612E5BC5fDb90E9EfE, 0xDfF0FF2ae74B80a0Cb6950ddD887209343f289cb, 0xe784fB4010d2282E05E525f4e3DF08c6d743A27F, 0xFB2DB31961eE948DFB4B641411D7Ca3Add1F4Cf6, 0x5AcF91E3B3Ed976c4700c99B5C1AC65a6EF456b9, 0x5589d50BfC9314F09732B5e037300caED81CAa63, 0xdC67AC034cb50A4eBA071C6115E457455755E838], values=[9469000000000000, 57114000000000000, 63553000000000000, 153176000000000000, 44807000000000000, 28034000000000000, 15510000000000000, 28040000000000000, 71777000000000000] )
  • ETH 0.009469 0x01b60a34a9dc5b3176b34710ced03e2cd475bccc.CALL( )
  • ETH 0.057114 0x50037b847d98777826dcef6de80625ba36b4968f.CALL( )
  • ETH 0.063553 0x50a881c575c97e03b0d5fc612e5bc5fdb90e9efe.CALL( )
  • ETH 0.153176 0xdff0ff2ae74b80a0cb6950ddd887209343f289cb.CALL( )
  • ETH 0.044807 0xe784fb4010d2282e05e525f4e3df08c6d743a27f.CALL( )
  • ETH 0.028034 0xfb2db31961ee948dfb4b641411d7ca3add1f4cf6.CALL( )
  • ETH 0.01551 0x5acf91e3b3ed976c4700c99b5c1ac65a6ef456b9.CALL( )
  • ETH 0.02804 0x5589d50bfc9314f09732b5e037300caed81caa63.CALL( )
  • ETH 0.071777 0xdc67ac034cb50a4eba071c6115e457455755e838.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]));
        }
    }