Overview
APE Balance
0 APE
APE Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BatchTransfer
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; interface ERC721Partial { function transferFrom(address from, address to, uint256 tokenId) external; } contract BatchTransfer { /// @notice Tokens on the given ERC-721 contract are transferred from you to a recipient. /// Don't forget to execute setApprovalForAll first to authorize this contract. /// @param tokenContract An ERC-721 contract /// @param recipient Who gets the tokens? /// @param tokenIds Which token IDs are transferred? function batchTransfer( ERC721Partial tokenContract, address recipient, uint256[] calldata tokenIds ) external { for (uint256 index; index < tokenIds.length; index++) { tokenContract.transferFrom(msg.sender, recipient, tokenIds[index]); } } }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ERC721Partial","name":"tokenContract","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052348015600e575f80fd5b506101de8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c80633593cebc1461002d575b5f80fd5b61004061003b366004610103565b610042565b005b5f5b818110156100e557846001600160a01b03166323b872dd338686868681811061006f5761006f610194565b6040516001600160e01b031960e088901b1681526001600160a01b039586166004820152949093166024850152506020909102013560448201526064015f604051808303815f87803b1580156100c3575f80fd5b505af11580156100d5573d5f803e3d5ffd5b5050600190920191506100449050565b5050505050565b6001600160a01b0381168114610100575f80fd5b50565b5f805f8060608587031215610116575f80fd5b8435610121816100ec565b93506020850135610131816100ec565b9250604085013567ffffffffffffffff81111561014c575f80fd5b8501601f8101871361015c575f80fd5b803567ffffffffffffffff811115610172575f80fd5b8760208260051b8401011115610186575f80fd5b949793965060200194505050565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122077850dbd0d975f8acbb46f52e486bb55782281e64320a5b45029f57f7728783164736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c80633593cebc1461002d575b5f80fd5b61004061003b366004610103565b610042565b005b5f5b818110156100e557846001600160a01b03166323b872dd338686868681811061006f5761006f610194565b6040516001600160e01b031960e088901b1681526001600160a01b039586166004820152949093166024850152506020909102013560448201526064015f604051808303815f87803b1580156100c3575f80fd5b505af11580156100d5573d5f803e3d5ffd5b5050600190920191506100449050565b5050505050565b6001600160a01b0381168114610100575f80fd5b50565b5f805f8060608587031215610116575f80fd5b8435610121816100ec565b93506020850135610131816100ec565b9250604085013567ffffffffffffffff81111561014c575f80fd5b8501601f8101871361015c575f80fd5b803567ffffffffffffffff811115610172575f80fd5b8760208260051b8401011115610186575f80fd5b949793965060200194505050565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122077850dbd0d975f8acbb46f52e486bb55782281e64320a5b45029f57f7728783164736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.