Source Code
Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Ownersh... | 19566482 | 626 days ago | IN | 0 ETH | 0.00050628 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH | ||||
| Transfer | 20090878 | 552 days ago | 0.00065911 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ETHMultiSender
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;
import "@openzeppelin/contracts/access/Ownable.sol";
contract ETHMultiSender is Ownable {
error InvalidParameter();
error TransferFailed();
function multiSend(address[] memory recipients, uint256[] memory amounts) external payable onlyOwner {
if (recipients.length < 1) revert InvalidParameter();
if (recipients.length != amounts.length) revert InvalidParameter();
for (uint256 i = 0; i < recipients.length; i++) {
if (amounts[i] <= 0) revert InvalidParameter();
(bool success,) = recipients[i].call{value: amounts[i]}("");
if (!success) revert TransferFailed();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"InvalidParameter","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiSend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61058e8061007e6000396000f3fe60806040526004361061003f5760003560e01c8063715018a6146100445780638da5cb5b1461005b578063bb4c9f0b14610087578063f2fde38b1461009a575b600080fd5b34801561005057600080fd5b506100596100ba565b005b34801561006757600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b610059610095366004610439565b6100ce565b3480156100a657600080fd5b506100596100b53660046104f9565b61021f565b6100c261029d565b6100cc60006102f7565b565b6100d661029d565b6001825110156100f957604051630309cb8760e51b815260040160405180910390fd5b805182511461011b57604051630309cb8760e51b815260040160405180910390fd5b60005b825181101561021a57600082828151811061013b5761013b61051b565b60200260200101511161016157604051630309cb8760e51b815260040160405180910390fd5b60008382815181106101755761017561051b565b60200260200101516001600160a01b03168383815181106101985761019861051b565b602002602001015160405160006040518083038185875af1925050503d80600081146101e0576040519150601f19603f3d011682016040523d82523d6000602084013e6101e5565b606091505b5050905080610207576040516312171d8360e31b815260040160405180910390fd5b508061021281610531565b91505061011e565b505050565b61022761029d565b6001600160a01b0381166102915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61029a816102f7565b50565b6000546001600160a01b031633146100cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610288565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561038657610386610347565b604052919050565b600067ffffffffffffffff8211156103a8576103a8610347565b5060051b60200190565b80356001600160a01b03811681146103c957600080fd5b919050565b600082601f8301126103df57600080fd5b813560206103f46103ef8361038e565b61035d565b82815260059290921b8401810191818101908684111561041357600080fd5b8286015b8481101561042e5780358352918301918301610417565b509695505050505050565b6000806040838503121561044c57600080fd5b823567ffffffffffffffff8082111561046457600080fd5b818501915085601f83011261047857600080fd5b813560206104886103ef8361038e565b82815260059290921b840181019181810190898411156104a757600080fd5b948201945b838610156104cc576104bd866103b2565b825294820194908201906104ac565b965050860135925050808211156104e257600080fd5b506104ef858286016103ce565b9150509250929050565b60006020828403121561050b57600080fd5b610514826103b2565b9392505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161055157634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220fec023b39f4a1f7d2fc67282918928e5ab8180d339299ba9ad4adeab87f5527a64736f6c63430008100033
Deployed Bytecode
0x60806040526004361061003f5760003560e01c8063715018a6146100445780638da5cb5b1461005b578063bb4c9f0b14610087578063f2fde38b1461009a575b600080fd5b34801561005057600080fd5b506100596100ba565b005b34801561006757600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b610059610095366004610439565b6100ce565b3480156100a657600080fd5b506100596100b53660046104f9565b61021f565b6100c261029d565b6100cc60006102f7565b565b6100d661029d565b6001825110156100f957604051630309cb8760e51b815260040160405180910390fd5b805182511461011b57604051630309cb8760e51b815260040160405180910390fd5b60005b825181101561021a57600082828151811061013b5761013b61051b565b60200260200101511161016157604051630309cb8760e51b815260040160405180910390fd5b60008382815181106101755761017561051b565b60200260200101516001600160a01b03168383815181106101985761019861051b565b602002602001015160405160006040518083038185875af1925050503d80600081146101e0576040519150601f19603f3d011682016040523d82523d6000602084013e6101e5565b606091505b5050905080610207576040516312171d8360e31b815260040160405180910390fd5b508061021281610531565b91505061011e565b505050565b61022761029d565b6001600160a01b0381166102915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61029a816102f7565b50565b6000546001600160a01b031633146100cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610288565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561038657610386610347565b604052919050565b600067ffffffffffffffff8211156103a8576103a8610347565b5060051b60200190565b80356001600160a01b03811681146103c957600080fd5b919050565b600082601f8301126103df57600080fd5b813560206103f46103ef8361038e565b61035d565b82815260059290921b8401810191818101908684111561041357600080fd5b8286015b8481101561042e5780358352918301918301610417565b509695505050505050565b6000806040838503121561044c57600080fd5b823567ffffffffffffffff8082111561046457600080fd5b818501915085601f83011261047857600080fd5b813560206104886103ef8361038e565b82815260059290921b840181019181810190898411156104a757600080fd5b948201945b838610156104cc576104bd866103b2565b825294820194908201906104ac565b965050860135925050808211156104e257600080fd5b506104ef858286016103ce565b9150509250929050565b60006020828403121561050b57600080fd5b610514826103b2565b9392505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161055157634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220fec023b39f4a1f7d2fc67282918928e5ab8180d339299ba9ad4adeab87f5527a64736f6c63430008100033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,956.76 | 0.00004086 | $0.120813 |
Loading...
Loading
Loading...
Loading
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.