Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Batch Send | 19350532 | 300 days ago | IN | 2.82210047 ETH | 0.03966145 | ||||
Batch Send | 19350529 | 300 days ago | IN | 6.40381163 ETH | 0.10528538 | ||||
Batch Send | 19350527 | 300 days ago | IN | 7.50220305 ETH | 0.09601394 | ||||
Batch Send | 19350525 | 300 days ago | IN | 6.53116136 ETH | 0.10400337 | ||||
Batch Send | 19350521 | 300 days ago | IN | 7.58179664 ETH | 0.1060024 | ||||
Batch Send | 19350513 | 300 days ago | IN | 12.00719976 ETH | 0.10141913 | ||||
Batch Send | 19350496 | 300 days ago | IN | 10.46869736 ETH | 0.10545544 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19350532 | 300 days ago | 0.09999999 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.06367486 ETH | ||||
19350532 | 300 days ago | 0.07959358 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.04775614 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.04775614 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.04775614 ETH | ||||
19350532 | 300 days ago | 0.06367486 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.03183743 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH | ||||
19350532 | 300 days ago | 0.04775614 ETH | ||||
19350532 | 300 days ago | 0.01591871 ETH |
Loading...
Loading
Contract Name:
SendETH
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* @IMPORTANT The refund process is executed through the scope of the refund policy, which can be found in the #refund-policy channel. - This contract is designed to distribute ETH to a list of recipients, each of them might receive a different amount. - This contract is permission-less and owner-less. */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract SendETH { function batchSend(address[] memory users, uint256[] memory amounts) public payable { uint256 numberOfUsers = users.length; uint256 numberOfAmounts = amounts.length; require(numberOfUsers == numberOfAmounts, "Not equal array lengths"); // if totalSent < msg.value we will revert below due to insufficient balance of ETH bool success; uint256 amt; address recipient; uint256 totalSent; for(uint256 i; i < numberOfUsers; i++){ amt = amounts[i]; recipient = users[i]; (success, ) = recipient.call{value: amt}(""); require(success, "Failure in sending ETH"); totalSent += amt; } uint256 change = msg.value - totalSent; if(change > 0){ (success, ) = msg.sender.call{value: change}(""); require(success, "Failure in sending ETH"); } } }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchSend","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50610826806100206000396000f3fe60806040526004361061001e5760003560e01c80637a53bcfc14610023575b600080fd5b61003d6004803603810190610038919061053b565b61003f565b005b60008251905060008251905080821461008d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161008490610610565b60405180910390fd5b60008060008060005b868110156101a5578781815181106100b1576100b0610630565b5b602002602001015193508881815181106100ce576100cd610630565b5b602002602001015192508273ffffffffffffffffffffffffffffffffffffffff16846040516100fc90610690565b60006040518083038185875af1925050503d8060008114610139576040519150601f19603f3d011682016040523d82523d6000602084013e61013e565b606091505b50508095505084610184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017b906106f1565b60405180910390fd5b83826101909190610740565b9150808061019d90610774565b915050610096565b50600081346101b491906107bc565b9050600081111561026c573373ffffffffffffffffffffffffffffffffffffffff16816040516101e390610690565b60006040518083038185875af1925050503d8060008114610220576040519150601f19603f3d011682016040523d82523d6000602084013e610225565b606091505b5050809550508461026b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610262906106f1565b60405180910390fd5b5b505050505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6102d982610290565b810181811067ffffffffffffffff821117156102f8576102f76102a1565b5b80604052505050565b600061030b610277565b905061031782826102d0565b919050565b600067ffffffffffffffff821115610337576103366102a1565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103788261034d565b9050919050565b6103888161036d565b811461039357600080fd5b50565b6000813590506103a58161037f565b92915050565b60006103be6103b98461031c565b610301565b905080838252602082019050602084028301858111156103e1576103e0610348565b5b835b8181101561040a57806103f68882610396565b8452602084019350506020810190506103e3565b5050509392505050565b600082601f8301126104295761042861028b565b5b81356104398482602086016103ab565b91505092915050565b600067ffffffffffffffff82111561045d5761045c6102a1565b5b602082029050602081019050919050565b6000819050919050565b6104818161046e565b811461048c57600080fd5b50565b60008135905061049e81610478565b92915050565b60006104b76104b284610442565b610301565b905080838252602082019050602084028301858111156104da576104d9610348565b5b835b8181101561050357806104ef888261048f565b8452602084019350506020810190506104dc565b5050509392505050565b600082601f8301126105225761052161028b565b5b81356105328482602086016104a4565b91505092915050565b6000806040838503121561055257610551610281565b5b600083013567ffffffffffffffff8111156105705761056f610286565b5b61057c85828601610414565b925050602083013567ffffffffffffffff81111561059d5761059c610286565b5b6105a98582860161050d565b9150509250929050565b600082825260208201905092915050565b7f4e6f7420657175616c206172726179206c656e67746873000000000000000000600082015250565b60006105fa6017836105b3565b9150610605826105c4565b602082019050919050565b60006020820190508181036000830152610629816105ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061067a60008361065f565b91506106858261066a565b600082019050919050565b600061069b8261066d565b9150819050919050565b7f4661696c75726520696e2073656e64696e672045544800000000000000000000600082015250565b60006106db6016836105b3565b91506106e6826106a5565b602082019050919050565b6000602082019050818103600083015261070a816106ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061074b8261046e565b91506107568361046e565b925082820190508082111561076e5761076d610711565b5b92915050565b600061077f8261046e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036107b1576107b0610711565b5b600182019050919050565b60006107c78261046e565b91506107d28361046e565b92508282039050818111156107ea576107e9610711565b5b9291505056fea26469706673582212201e1bf5a585fa76f2249b015adf0544c341da9eff6f9ee6a760a5dc3f065baaf064736f6c63430008140033
Deployed Bytecode
0x60806040526004361061001e5760003560e01c80637a53bcfc14610023575b600080fd5b61003d6004803603810190610038919061053b565b61003f565b005b60008251905060008251905080821461008d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161008490610610565b60405180910390fd5b60008060008060005b868110156101a5578781815181106100b1576100b0610630565b5b602002602001015193508881815181106100ce576100cd610630565b5b602002602001015192508273ffffffffffffffffffffffffffffffffffffffff16846040516100fc90610690565b60006040518083038185875af1925050503d8060008114610139576040519150601f19603f3d011682016040523d82523d6000602084013e61013e565b606091505b50508095505084610184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017b906106f1565b60405180910390fd5b83826101909190610740565b9150808061019d90610774565b915050610096565b50600081346101b491906107bc565b9050600081111561026c573373ffffffffffffffffffffffffffffffffffffffff16816040516101e390610690565b60006040518083038185875af1925050503d8060008114610220576040519150601f19603f3d011682016040523d82523d6000602084013e610225565b606091505b5050809550508461026b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610262906106f1565b60405180910390fd5b5b505050505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6102d982610290565b810181811067ffffffffffffffff821117156102f8576102f76102a1565b5b80604052505050565b600061030b610277565b905061031782826102d0565b919050565b600067ffffffffffffffff821115610337576103366102a1565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103788261034d565b9050919050565b6103888161036d565b811461039357600080fd5b50565b6000813590506103a58161037f565b92915050565b60006103be6103b98461031c565b610301565b905080838252602082019050602084028301858111156103e1576103e0610348565b5b835b8181101561040a57806103f68882610396565b8452602084019350506020810190506103e3565b5050509392505050565b600082601f8301126104295761042861028b565b5b81356104398482602086016103ab565b91505092915050565b600067ffffffffffffffff82111561045d5761045c6102a1565b5b602082029050602081019050919050565b6000819050919050565b6104818161046e565b811461048c57600080fd5b50565b60008135905061049e81610478565b92915050565b60006104b76104b284610442565b610301565b905080838252602082019050602084028301858111156104da576104d9610348565b5b835b8181101561050357806104ef888261048f565b8452602084019350506020810190506104dc565b5050509392505050565b600082601f8301126105225761052161028b565b5b81356105328482602086016104a4565b91505092915050565b6000806040838503121561055257610551610281565b5b600083013567ffffffffffffffff8111156105705761056f610286565b5b61057c85828601610414565b925050602083013567ffffffffffffffff81111561059d5761059c610286565b5b6105a98582860161050d565b9150509250929050565b600082825260208201905092915050565b7f4e6f7420657175616c206172726179206c656e67746873000000000000000000600082015250565b60006105fa6017836105b3565b9150610605826105c4565b602082019050919050565b60006020820190508181036000830152610629816105ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061067a60008361065f565b91506106858261066a565b600082019050919050565b600061069b8261066d565b9150819050919050565b7f4661696c75726520696e2073656e64696e672045544800000000000000000000600082015250565b60006106db6016836105b3565b91506106e6826106a5565b602082019050919050565b6000602082019050818103600083015261070a816106ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061074b8261046e565b91506107568361046e565b925082820190508082111561076e5761076d610711565b5b92915050565b600061077f8261046e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036107b1576107b0610711565b5b600182019050919050565b60006107c78261046e565b91506107d28361046e565b92508282039050818111156107ea576107e9610711565b5b9291505056fea26469706673582212201e1bf5a585fa76f2249b015adf0544c341da9eff6f9ee6a760a5dc3f065baaf064736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.