ETH Price: $3,277.16 (-1.59%)

Contract

0xaBD67fE3BF7Fda2606c61d300C1c239C4fbAc088
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Send186314482023-11-23 2:27:35396 days ago1700706455IN
0xaBD67fE3...C4fbAc088
3.21065789 ETH0.5135557534.72755125
Send186314472023-11-23 2:27:23396 days ago1700706443IN
0xaBD67fE3...C4fbAc088
21.57792376 ETH0.4781084231.04913858
Send178874662023-08-10 22:27:59500 days ago1691706479IN
0xaBD67fE3...C4fbAc088
44.34722526 ETH0.253527917.3665236
Send178874592023-08-10 22:26:35500 days ago1691706395IN
0xaBD67fE3...C4fbAc088
3 wei0.0008589820.10344567

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00385575 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.02123724 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00287036 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00094054 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00094054 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00094254 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00094254 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00096876 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00096876 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00096891 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00099061 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00099632 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00101767 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00204009 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00104658 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00441032 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00114269 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00113446 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00112487 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00440282 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00116828 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00118128 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00118142 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.00118142 ETH
186314482023-11-23 2:27:35396 days ago1700706455
0xaBD67fE3...C4fbAc088
0.0011861 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BatchSend

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 1 : BatchSend.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/// @title Batch send Ether to multiple addresses.
/// @author jalil.eth & backseats.eth
contract BatchSend {

    /// @dev Inform DAPPs of a failed transfer recipient.
    event FailedTransfer(address indexed recipient, uint256 amount);

    /// @dev Error for bad input.
    error ArrayLengthMismatch();

    /// @notice Send ether to many addresses.
    /// @param recipients The addresses that should receive funds.
    /// @param amounts How much wei to send to each address.
    function send(
        address[] calldata recipients,
        uint256[] calldata amounts
    ) public payable {
        uint256 count = recipients.length;
        if (count != amounts.length) revert ArrayLengthMismatch();

        uint256 failedAmount;
        for (uint i; i < count;) {
            (bool success,) = payable(recipients[i]).call{value: amounts[i]}("");

            // Keep track of failed transfers
            if (!success) {
                failedAmount += amounts[i];

                emit FailedTransfer(recipients[i], amounts[i]);
            }

            unchecked { ++i; }
        }

        // If anything failed to send, refund the msg.sender
        if (failedAmount > 0) payable(msg.sender).transfer(failedAmount);
    }
}

// LGTM

// <3 ty

// anytime man

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FailedTransfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"send","outputs":[],"stateMutability":"payable","type":"function"}]

608060405234801561000f575f80fd5b5061036e8061001d5f395ff3fe60806040526004361061001d575f3560e01c8063a645ff5f14610021575b5f80fd5b61003461002f36600461025e565b610036565b005b82818114610070576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805b828110156101db575f87878381811061008e5761008e6102c5565b90506020020160208101906100a391906102d9565b73ffffffffffffffffffffffffffffffffffffffff168686848181106100cb576100cb6102c5565b905060200201356040515f6040518083038185875af1925050503d805f811461010f576040519150601f19603f3d011682016040523d82523d5f602084013e610114565b606091505b50509050806101d25785858381811061012f5761012f6102c5565b90506020020135836101419190610313565b9250878783818110610155576101556102c5565b905060200201602081019061016a91906102d9565b73ffffffffffffffffffffffffffffffffffffffff167f3506b32cea6b36a739c1c2a71a9e1b3d6222104389c07219059fa6eb6d2e05638787858181106101b3576101b36102c5565b905060200201356040516101c991815260200190565b60405180910390a25b50600101610073565b50801561020e57604051339082156108fc029083905f818181858888f1935050505015801561020c573d5f803e3d5ffd5b505b505050505050565b5f8083601f840112610226575f80fd5b50813567ffffffffffffffff81111561023d575f80fd5b6020830191508360208260051b8501011115610257575f80fd5b9250929050565b5f805f8060408587031215610271575f80fd5b843567ffffffffffffffff80821115610288575f80fd5b61029488838901610216565b909650945060208701359150808211156102ac575f80fd5b506102b987828801610216565b95989497509550505050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156102e9575f80fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461030c575f80fd5b9392505050565b8082018082111561033257634e487b7160e01b5f52601160045260245ffd5b9291505056fea2646970667358221220c3a34d4c77d4b39b5b465c836325e24b8279978f3d75b11cdc7a9372bbae4d8d64736f6c63430008140033

Deployed Bytecode

0x60806040526004361061001d575f3560e01c8063a645ff5f14610021575b5f80fd5b61003461002f36600461025e565b610036565b005b82818114610070576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805b828110156101db575f87878381811061008e5761008e6102c5565b90506020020160208101906100a391906102d9565b73ffffffffffffffffffffffffffffffffffffffff168686848181106100cb576100cb6102c5565b905060200201356040515f6040518083038185875af1925050503d805f811461010f576040519150601f19603f3d011682016040523d82523d5f602084013e610114565b606091505b50509050806101d25785858381811061012f5761012f6102c5565b90506020020135836101419190610313565b9250878783818110610155576101556102c5565b905060200201602081019061016a91906102d9565b73ffffffffffffffffffffffffffffffffffffffff167f3506b32cea6b36a739c1c2a71a9e1b3d6222104389c07219059fa6eb6d2e05638787858181106101b3576101b36102c5565b905060200201356040516101c991815260200190565b60405180910390a25b50600101610073565b50801561020e57604051339082156108fc029083905f818181858888f1935050505015801561020c573d5f803e3d5ffd5b505b505050505050565b5f8083601f840112610226575f80fd5b50813567ffffffffffffffff81111561023d575f80fd5b6020830191508360208260051b8501011115610257575f80fd5b9250929050565b5f805f8060408587031215610271575f80fd5b843567ffffffffffffffff80821115610288575f80fd5b61029488838901610216565b909650945060208701359150808211156102ac575f80fd5b506102b987828801610216565b95989497509550505050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156102e9575f80fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461030c575f80fd5b9392505050565b8082018082111561033257634e487b7160e01b5f52601160045260245ffd5b9291505056fea2646970667358221220c3a34d4c77d4b39b5b465c836325e24b8279978f3d75b11cdc7a9372bbae4d8d64736f6c63430008140033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.