ETH Price: $2,499.61 (-1.38%)
Gas: 2.81 Gwei

Transaction Decoder

Block:
21293816 at Nov-29-2024 02:02:23 PM +UTC
Transaction Fee:
0.003580698766712488 ETH $8.95
Gas Used:
208,081 Gas / 17.208196648 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x0644756d...C986ADd61 0 Eth0.00438809014524 Eth0.00438809014524
0x0b75F944...E99D5A9ab 0 Eth0.00438809014524 Eth0.00438809014524
0x0f4111C1...DA6688a6A 0 Eth0.00438809014524 Eth0.00438809014524
0x1689a089...2f8702000
(WhiteBIT 2)
18.997035540546449858 Eth
Nonce: 275621
18.91446921916541737 Eth
Nonce: 275622
0.082566321381032488
0x168DfbFD...59e10FED7 0 Eth0.00438809014524 Eth0.00438809014524
0x3A3Ff16b...2981Afcda 0 Eth0.00438809014524 Eth0.00438809014524
0x483BC6a2...f49C8Cfd6 0 Eth0.00438809014524 Eth0.00438809014524
0x497DB7C1...77806c126 0 Eth0.00438809014524 Eth0.00438809014524
0x73Df3981...6A8EB59eE 0 Eth0.00438809014524 Eth0.00438809014524
0x77C2dc02...1b04B1Da0 0 Eth0.00438809014524 Eth0.00438809014524
0x7a4bfF8A...98e1b66f7 0 Eth0.00438809014524 Eth0.00438809014524
(beaverbuild)
16.481697087887235824 Eth16.481940630304698482 Eth0.000243542417462658
0xa7F11577...167dEe7f0 0 Eth0.00438809014524 Eth0.00438809014524
0xC88e4791...245F09923 0 Eth0.00438809014524 Eth0.00438809014524
0xc8b3Ab92...5772094E5 0 Eth0.00438809014524 Eth0.00438809014524
0xD018c33D...bB2Ec749F 0 Eth0.00438809014524 Eth0.00438809014524
0xee57b615...883960357 0 Eth0.00438809014524 Eth0.00438809014524
0xF046D33A...1b376cb1B 0 Eth0.00438809014524 Eth0.00438809014524
0xF21c14EA...26B6b0421 0 Eth0.00438809014524 Eth0.00438809014524
0xF8818bfe...44eA812e1 0 Eth0.00438809014524 Eth0.00438809014524

Execution Trace

ETH 0.07898562261432 BulkSender.distribute( addresses=[0x7a4bfF8A27b6CEAb894b3A0a04D28e198e1b66f7, 0x0f4111C1413ceB56d3F292BCAC26C25DA6688a6A, 0x0644756d50fe2aADaEc357B436de519C986ADd61, 0x73Df3981fC2bDB4aFf6cdE899D6af586A8EB59eE, 0xa7F11577Cb3901D603867C1F52B1e1D167dEe7f0, 0xF8818bfe368d999F88393ADdE8CeF1944eA812e1, 0x168DfbFD25F636549d3f6A280725BbB59e10FED7, 0xF046D33A1b8C9Ee176c1ea2ea0F40091b376cb1B, 0xee57b6150e05BFfaD9B48390e30C289883960357, 0xC88e4791C36dB13622Bbe552EDDBEcE245F09923, 0x497DB7C109e4b8247A6572B6A701E5f77806c126, 0x483BC6a22404ceB7020C6Dafd86b430f49C8Cfd6, 0x77C2dc02cb0aC2685b355341d4EB5E21b04B1Da0, 0x0b75F944fbaee97AcB04CB6a6e569FEE99D5A9ab, 0xc8b3Ab92c31d9936c10ffb92cD476585772094E5, 0x3A3Ff16b2ebc98dda372b3D56f5D9292981Afcda, 0xF21c14EAD545738859F57c1A37a92C026B6b0421, 0xD018c33D773e8E83f308E3006b67672bB2Ec749F], amounts=[4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000, 4388090145240000] )
  • ETH 0.00438809014524 0x7a4bff8a27b6ceab894b3a0a04d28e198e1b66f7.CALL( )
  • ETH 0.00438809014524 0x0f4111c1413ceb56d3f292bcac26c25da6688a6a.CALL( )
  • ETH 0.00438809014524 0x0644756d50fe2aadaec357b436de519c986add61.CALL( )
  • ETH 0.00438809014524 0x73df3981fc2bdb4aff6cde899d6af586a8eb59ee.CALL( )
  • ETH 0.00438809014524 0xa7f11577cb3901d603867c1f52b1e1d167dee7f0.CALL( )
  • ETH 0.00438809014524 0xf8818bfe368d999f88393adde8cef1944ea812e1.CALL( )
  • ETH 0.00438809014524 0x168dfbfd25f636549d3f6a280725bbb59e10fed7.CALL( )
  • ETH 0.00438809014524 0xf046d33a1b8c9ee176c1ea2ea0f40091b376cb1b.CALL( )
  • ETH 0.00438809014524 0xee57b6150e05bffad9b48390e30c289883960357.CALL( )
  • ETH 0.00438809014524 0xc88e4791c36db13622bbe552eddbece245f09923.CALL( )
  • ETH 0.00438809014524 0x497db7c109e4b8247a6572b6a701e5f77806c126.CALL( )
  • ETH 0.00438809014524 0x483bc6a22404ceb7020c6dafd86b430f49c8cfd6.CALL( )
  • ETH 0.00438809014524 0x77c2dc02cb0ac2685b355341d4eb5e21b04b1da0.CALL( )
  • ETH 0.00438809014524 0x0b75f944fbaee97acb04cb6a6e569fee99d5a9ab.CALL( )
  • ETH 0.00438809014524 0xc8b3ab92c31d9936c10ffb92cd476585772094e5.CALL( )
  • ETH 0.00438809014524 0x3a3ff16b2ebc98dda372b3d56f5d9292981afcda.CALL( )
  • ETH 0.00438809014524 0xf21c14ead545738859f57c1a37a92c026b6b0421.CALL( )
  • ETH 0.00438809014524 0xd018c33d773e8e83f308e3006b67672bb2ec749f.CALL( )
    /**
     *Submitted for verification at Etherscan.io on 2020-05-16
    */
    
    pragma solidity 0.6.4;
    /**
     * @title Manage the owner for the BulkSender contract.
     */
    contract Ownable {
        address private _owner;
        event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
        constructor() public {
            _owner = msg.sender;
            emit OwnershipTransferred(address(this), _owner);
        }
        /**
         * Returns the address of the current owner.
         */
        function owner() public view returns (address) {
            return _owner;
        }
        /**
         * Throws if called by any account other than the owner.
         */
        modifier onlyOwner() {
            require(msg.sender == _owner, "Ownable: the caller is not the owner");
            _;
        }
        /**
         * Sets the new address as the owner.
         */
        function transferOwnership(address newOwner) onlyOwner public {
            require(newOwner != address(0), "Ownable: the new owner is the zero address");
            emit OwnershipTransferred(_owner, newOwner);
            _owner = newOwner;
        }
    }
    /**
     * @title Sending bulk transactions from the whitelisted wallets.
     */
    contract BulkSender is Ownable {
        mapping(address => bool) whitelist;
        /**
         * Throws if called by any account other than the whitelisted address.
         */
        modifier onlyWhiteListed() {
            require(whitelist[msg.sender], "Whitelist: the caller is not whitelisted");
            _;
        }
        /**
         * Approves the address as the whitelisted address.
         */
        function approve(address addr) onlyOwner external {
            whitelist[addr] = true;
        }
        /**
         * Removes the whitelisted address from the whitelist.
         */
        function remove(address addr) onlyOwner external {
            whitelist[addr] = false;
        }
        /**
         * Returns true if the address is the whitelisted address.
         */
        function isWhiteListed(address addr) public view returns (bool) {
            return whitelist[addr];
        }
        /**
         * @dev Gets the list of addresses and the list of amounts to make bulk transactions.
         * @param addresses - address[]
         * @param amounts - uint256[]
         */
        function distribute(address[] calldata addresses, uint256[] calldata amounts) onlyWhiteListed external payable  {
            require(addresses.length > 0, "BulkSender: the length of addresses should be greater than zero");
            require(amounts.length == addresses.length, "BulkSender: the length of addresses is not equal the length of amounts");
            for (uint256 i; i < addresses.length; i++) {
                uint256 value = amounts[i];
                require(value > 0, "BulkSender: the value should be greater then zero");
                address payable _to = address(uint160(addresses[i]));
                _to.transfer(value);
            }
        }
        /**
         * @dev This contract shouldn't accept payments.
         */
        receive() external payable {
            revert("This contract shouldn't accept payments.");
        }
    }