Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
Multi Chain
Multichain Addresses
1 address found via
Latest 9 from a total of 9 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Batch Eth | 9008138 | 134 days 9 hrs ago | IN | 4.8 ETH | 0.01598552 | ||||
Batch Eth | 8998776 | 136 days 28 mins ago | IN | 4.8 ETH | 0.0159855 | ||||
Batch Eth | 8991287 | 137 days 8 hrs ago | IN | 4.8 ETH | 0.01598545 | ||||
Batch Eth | 8987984 | 137 days 21 hrs ago | IN | 4.48 ETH | 0.01492181 | ||||
Batch Eth | 8958542 | 142 days 23 hrs ago | IN | 60 ETH | 0.52406066 | ||||
Batch Eth | 8952252 | 144 days 1 hr ago | IN | 40 ETH | 0.31737835 | ||||
Batch Eth | 7468718 | 398 days 5 hrs ago | IN | 0.003 ETH | 0.00010147 | ||||
Batch Eth | 7374859 | 413 days 21 hrs ago | IN | 1 wei | 0.00004446 | ||||
0x60806040 | 7370345 | 414 days 16 hrs ago | IN | Create: BatchEth | 0 ETH | 0.00050545 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH | ||||
9008138 | 134 days 9 hrs ago | 0.016 ETH |
Loading...
Loading
Contract Name:
BatchEth
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.16; contract BatchEth { struct SendInstruction { address recipient; uint256 amount; } /// @notice Send a specified amount of Ether to specified recipients. /// ⚠️ If you send more Ether into this contract than the sum of amounts, somebody WILL snipe the remainder. /// ⚠️ If any transfer reverts the whole batch reverts, try again and exclude that recipient. /// ⚠️ If any recipient is (or becomes!) a smart contract it can cause its transfer to fail. /// ⚠️ If any recipient is (or becomes!) a smart contract it can spend your gas, use limits. /// @param instructions recipients and amounts to send each function batchEth(SendInstruction[] calldata instructions) external payable { for (uint256 index; index < instructions.length; index++) { (bool success,) = instructions[index].recipient.call{value: instructions[index].amount}(""); require(success, string(abi.encodePacked("Failed: ", index))); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
[{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct BatchEth.SendInstruction[]","name":"instructions","type":"tuple[]"}],"name":"batchEth","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506102b2806100206000396000f3fe60806040526004361061001e5760003560e01c80635bdce3cf14610023575b600080fd5b61003661003136600461014c565b610038565b005b60005b81811015610147576000838383818110610057576100576101c1565b61006d92602060409092020190810191506101d7565b6001600160a01b0316848484818110610088576100886101c1565b9050604002016020013560405160006040518083038185875af1925050503d80600081146100d2576040519150601f19603f3d011682016040523d82523d6000602084013e6100d7565b606091505b50506040516702330b4b632b21d160c51b6020820152602881018490529091508190604801604051602081830303815290604052906101325760405162461bcd60e51b81526004016101299190610207565b60405180910390fd5b5050808061013f90610255565b91505061003b565b505050565b6000806020838503121561015f57600080fd5b823567ffffffffffffffff8082111561017757600080fd5b818501915085601f83011261018b57600080fd5b81358181111561019a57600080fd5b8660208260061b85010111156101af57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156101e957600080fd5b81356001600160a01b038116811461020057600080fd5b9392505050565b600060208083528351808285015260005b8181101561023457858101830151858201604001528201610218565b506000604082860101526040601f19601f8301168501019250505092915050565b60006001820161027557634e487b7160e01b600052601160045260246000fd5b506001019056fea264697066735822122054862b57c5b9f24fa47155875145fec980fb206820f07ba0cf64374a6c4229cc64736f6c63430008100033
Deployed Bytecode
0x60806040526004361061001e5760003560e01c80635bdce3cf14610023575b600080fd5b61003661003136600461014c565b610038565b005b60005b81811015610147576000838383818110610057576100576101c1565b61006d92602060409092020190810191506101d7565b6001600160a01b0316848484818110610088576100886101c1565b9050604002016020013560405160006040518083038185875af1925050503d80600081146100d2576040519150601f19603f3d011682016040523d82523d6000602084013e6100d7565b606091505b50506040516702330b4b632b21d160c51b6020820152602881018490529091508190604801604051602081830303815290604052906101325760405162461bcd60e51b81526004016101299190610207565b60405180910390fd5b5050808061013f90610255565b91505061003b565b505050565b6000806020838503121561015f57600080fd5b823567ffffffffffffffff8082111561017757600080fd5b818501915085601f83011261018b57600080fd5b81358181111561019a57600080fd5b8660208260061b85010111156101af57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156101e957600080fd5b81356001600160a01b038116811461020057600080fd5b9392505050565b600060208083528351808285015260005b8181101561023457858101830151858201604001528201610218565b506000604082860101526040601f19601f8301168501019250505092915050565b60006001820161027557634e487b7160e01b600052601160045260246000fd5b506001019056fea264697066735822122054862b57c5b9f24fa47155875145fec980fb206820f07ba0cf64374a6c4229cc64736f6c63430008100033
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.