Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
ERC721BulkTransfer
Compiler Version
v0.8.17+commit.8df45f5f
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.17; contract ERC721BulkTransfer { function transferFrom( address _assetContract, address _to, uint256 _tokenId ) public { (bool success, bytes memory returnData) = _assetContract.call(abi.encodeWithSignature("safeTransferFrom(address,address,uint256)", msg.sender, _to, _tokenId)); require(success, string(returnData)); } function bulkTransferFrom( address _assetContract, address _to, uint256[] calldata _tokenIds ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom( _assetContract, _to, _tokenIds[i] ); } } }
{ "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
[{"inputs":[{"internalType":"address","name":"_assetContract","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"bulkTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_assetContract","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50610351806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806323b872dd1461003b57806353a535d314610050575b600080fd5b61004e61004936600461019e565b610063565b005b61004e61005e3660046101da565b61013b565b6040513360248201526001600160a01b03838116604483015260648201839052600091829186169060840160408051601f198184030181529181526020820180516001600160e01b0316632142170760e11b179052516100c3919061028f565b6000604051808303816000865af19150503d8060008114610100576040519150601f19603f3d011682016040523d82523d6000602084013e610105565b606091505b50915091508181906101335760405162461bcd60e51b815260040161012a91906102ab565b60405180910390fd5b505050505050565b60005b8181101561017b57610169858585858581811061015d5761015d6102de565b90506020020135610063565b80610173816102f4565b91505061013e565b5050505050565b80356001600160a01b038116811461019957600080fd5b919050565b6000806000606084860312156101b357600080fd5b6101bc84610182565b92506101ca60208501610182565b9150604084013590509250925092565b600080600080606085870312156101f057600080fd5b6101f985610182565b935061020760208601610182565b9250604085013567ffffffffffffffff8082111561022457600080fd5b818701915087601f83011261023857600080fd5b81358181111561024757600080fd5b8860208260051b850101111561025c57600080fd5b95989497505060200194505050565b60005b8381101561028657818101518382015260200161026e565b50506000910152565b600082516102a181846020870161026b565b9190910192915050565b60208152600082518060208401526102ca81604085016020870161026b565b601f01601f19169190910160400192915050565b634e487b7160e01b600052603260045260246000fd5b60006001820161031457634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220d5a7a8ee6535e3576d87599beb402385f288379b75953ead88f5a8f7ae9db20f64736f6c63430008110033
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.