Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 58 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Batch Safe Trans... | 24229617 | 64 days ago | IN | 0 ETH | 0.00033302 | ||||
| Batch Transfer | 23869083 | 114 days ago | IN | 0 ETH | 0.00003346 | ||||
| Batch Transfer | 23868955 | 114 days ago | IN | 0 ETH | 0.0000879 | ||||
| Batch Safe Trans... | 23292724 | 195 days ago | IN | 0 ETH | 0.00005813 | ||||
| Batch Safe Trans... | 23292607 | 195 days ago | IN | 0 ETH | 0.00009316 | ||||
| Batch Safe Trans... | 23121379 | 219 days ago | IN | 0 ETH | 0.00039716 | ||||
| Batch Transfer | 23112333 | 220 days ago | IN | 0 ETH | 0.00176319 | ||||
| Batch Safe Trans... | 23106873 | 221 days ago | IN | 0 ETH | 0.00013243 | ||||
| Batch Safe Trans... | 22934697 | 245 days ago | IN | 0 ETH | 0.00488329 | ||||
| Batch Safe Trans... | 21180609 | 490 days ago | IN | 0 ETH | 0.00813161 | ||||
| Batch Transfer | 20021406 | 652 days ago | IN | 0 ETH | 0.05653683 | ||||
| Batch Transfer | 19942211 | 663 days ago | IN | 0 ETH | 0.00535871 | ||||
| Batch Transfer | 19942202 | 663 days ago | IN | 0 ETH | 0.00379844 | ||||
| Batch Transfer | 19942198 | 663 days ago | IN | 0 ETH | 0.00421016 | ||||
| Batch Transfer | 19942147 | 663 days ago | IN | 0 ETH | 0.00420521 | ||||
| Batch Transfer | 19942119 | 663 days ago | IN | 0 ETH | 0.00095168 | ||||
| Batch Transfer | 19942082 | 663 days ago | IN | 0 ETH | 0.00079233 | ||||
| Batch Transfer | 19851787 | 676 days ago | IN | 0 ETH | 0.0072928 | ||||
| Batch Transfer | 19724506 | 693 days ago | IN | 0 ETH | 0.04399384 | ||||
| Batch Transfer | 19677616 | 700 days ago | IN | 0 ETH | 0.04096402 | ||||
| Batch Transfer | 19634200 | 706 days ago | IN | 0 ETH | 0.073849 | ||||
| Batch Transfer | 19567963 | 715 days ago | IN | 0 ETH | 0.00285098 | ||||
| Batch Transfer | 19297073 | 753 days ago | IN | 0 ETH | 0.04347639 | ||||
| Batch Safe Trans... | 19161772 | 772 days ago | IN | 0 ETH | 0.00183286 | ||||
| Batch Transfer | 19068745 | 785 days ago | IN | 0 ETH | 0.00095752 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BatchTransfer
Compiler Version
v0.8.9+commit.e5eed63a
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.4;
interface ERC721Partial {
function transferFrom(address from, address to, uint256 tokenId) external;
function safeTransferFrom(address from, address to, uint256 tokenId) external;
}
contract BatchTransfer {
/// @notice Tokens on the given ERC-721 contract are transferred from you to a list of recipients.
/// Don't forget to execute setApprovalForAll first to authorize this contract.
/// @param tokenContract An ERC-721 contract
/// @param recipients Who gets the tokens?
/// @param tokenIds Which token IDs are transferred?
function batchTransfer(ERC721Partial tokenContract, address[] calldata recipients, uint256[] calldata tokenIds) external {
for (uint256 index; index < tokenIds.length; index++) {
tokenContract.transferFrom(msg.sender, recipients[index], tokenIds[index]);
}
}
/// @notice Tokens on the given ERC-721 contract are transferred from you to a list of recipients.
/// Don't forget to execute setApprovalForAll first to authorize this contract.
/// @param tokenContract An ERC-721 contract
/// @param recipients Who gets the tokens?
/// @param tokenIds Which token IDs are transferred?
function batchSafeTransfer(ERC721Partial tokenContract, address[] calldata recipients, uint256[] calldata tokenIds) external {
for (uint256 index; index < tokenIds.length; index++) {
tokenContract.safeTransferFrom(msg.sender, recipients[index], tokenIds[index]);
}
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract ERC721Partial","name":"tokenContract","type":"address"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchSafeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ERC721Partial","name":"tokenContract","type":"address"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50610397806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631239ec8c1461003b578063bdc867f214610050575b600080fd5b61004e61004936600461027b565b610063565b005b61004e61005e36600461027b565b610141565b60005b8181101561013957856001600160a01b03166323b872dd33878785818110610090576100906102fe565b90506020020160208101906100a59190610314565b8686868181106100b7576100b76102fe565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561010e57600080fd5b505af1158015610122573d6000803e3d6000fd5b50505050808061013190610338565b915050610066565b505050505050565b60005b8181101561013957856001600160a01b03166342842e0e3387878581811061016e5761016e6102fe565b90506020020160208101906101839190610314565b868686818110610195576101956102fe565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101ec57600080fd5b505af1158015610200573d6000803e3d6000fd5b50505050808061020f90610338565b915050610144565b6001600160a01b038116811461022c57600080fd5b50565b60008083601f84011261024157600080fd5b50813567ffffffffffffffff81111561025957600080fd5b6020830191508360208260051b850101111561027457600080fd5b9250929050565b60008060008060006060868803121561029357600080fd5b853561029e81610217565b9450602086013567ffffffffffffffff808211156102bb57600080fd5b6102c789838a0161022f565b909650945060408801359150808211156102e057600080fd5b506102ed8882890161022f565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561032657600080fd5b813561033181610217565b9392505050565b600060001982141561035a57634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212207bac0bfe766c02b918d8520b7dd89ca1696489980a2ce1c80666976705b6755864736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c80631239ec8c1461003b578063bdc867f214610050575b600080fd5b61004e61004936600461027b565b610063565b005b61004e61005e36600461027b565b610141565b60005b8181101561013957856001600160a01b03166323b872dd33878785818110610090576100906102fe565b90506020020160208101906100a59190610314565b8686868181106100b7576100b76102fe565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561010e57600080fd5b505af1158015610122573d6000803e3d6000fd5b50505050808061013190610338565b915050610066565b505050505050565b60005b8181101561013957856001600160a01b03166342842e0e3387878581811061016e5761016e6102fe565b90506020020160208101906101839190610314565b868686818110610195576101956102fe565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101ec57600080fd5b505af1158015610200573d6000803e3d6000fd5b50505050808061020f90610338565b915050610144565b6001600160a01b038116811461022c57600080fd5b50565b60008083601f84011261024157600080fd5b50813567ffffffffffffffff81111561025957600080fd5b6020830191508360208260051b850101111561027457600080fd5b9250929050565b60008060008060006060868803121561029357600080fd5b853561029e81610217565b9450602086013567ffffffffffffffff808211156102bb57600080fd5b6102c789838a0161022f565b909650945060408801359150808211156102e057600080fd5b506102ed8882890161022f565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561032657600080fd5b813561033181610217565b9392505050565b600060001982141561035a57634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212207bac0bfe766c02b918d8520b7dd89ca1696489980a2ce1c80666976705b6755864736f6c63430008090033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.