Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 12 from a total of 12 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Multisend NF Ts | 21176926 | 57 days ago | IN | 0 ETH | 0.00170855 | ||||
Multisend NF Ts | 20875949 | 99 days ago | IN | 0 ETH | 0.00139374 | ||||
Multisend NF Ts | 20782807 | 112 days ago | IN | 0 ETH | 0.00441262 | ||||
Multisend NF Ts | 20625312 | 134 days ago | IN | 0 ETH | 0.00048063 | ||||
Multisend NF Ts | 20625288 | 134 days ago | IN | 0 ETH | 0.00011371 | ||||
Multisend NF Ts | 20525033 | 148 days ago | IN | 0 ETH | 0.0005183 | ||||
Multisend NF Ts | 20324725 | 176 days ago | IN | 0 ETH | 0.00204206 | ||||
Multisend NF Ts | 20324706 | 176 days ago | IN | 0 ETH | 0.01810328 | ||||
Multisend NF Ts | 20324683 | 176 days ago | IN | 0 ETH | 0.002396 | ||||
Multisend NF Ts | 20274920 | 183 days ago | IN | 0 ETH | 0.00513015 | ||||
Multisend NF Ts | 20274906 | 183 days ago | IN | 0 ETH | 0.01274206 | ||||
Multisend NF Ts | 20274901 | 183 days ago | IN | 0 ETH | 0.00109601 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
NFTMultisender
Compiler Version
v0.8.19+commit.7dd6d404
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.19; interface IERC721 { function approve(address to, uint256 tokenId) external; function isApprovedForAll(address owner, address operator) external view returns (bool); function getApproved(uint256 tokenId) external view returns (address); function safeTransferFrom(address from, address to, uint256 tokenId) external; } contract NFTMultisender { function multisendNFTs( address NFTaddress, uint256[] calldata tokenIds, address[] calldata addresses) external { require(tokenIds.length > 0, "Length is zero"); require(tokenIds.length == addresses.length, "Lengths do not match"); IERC721 nftContract = IERC721(NFTaddress); for( uint256 i = 0; i < tokenIds.length; i++){ address approvedAddress = nftContract.getApproved(tokenIds[i]); bool isApprovedForAll = nftContract.isApprovedForAll(msg.sender, address(this)); require(approvedAddress == address(this) || isApprovedForAll, "Contract not approved to transfer this token"); nftContract.safeTransferFrom(msg.sender, addresses[i], tokenIds[i]); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"NFTaddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"multisendNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506104e1806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bb3008d814610030575b600080fd5b61004361003e366004610388565b610045565b005b826100885760405162461bcd60e51b815260206004820152600e60248201526d4c656e677468206973207a65726f60901b60448201526064015b60405180910390fd5b8281146100ce5760405162461bcd60e51b8152602060048201526014602482015273098cadccee8d0e640c8de40dcdee840dac2e8c6d60631b604482015260640161007f565b8460005b8481101561031b576000826001600160a01b031663081812fc8888858181106100fd576100fd61040b565b905060200201356040518263ffffffff1660e01b815260040161012291815260200190565b602060405180830381865afa15801561013f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101639190610421565b60405163e985e9c560e01b81523360048201523060248201529091506000906001600160a01b0385169063e985e9c590604401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610445565b90506001600160a01b0382163014806101ed5750805b61024e5760405162461bcd60e51b815260206004820152602c60248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e73666560448201526b39103a3434b9903a37b5b2b760a11b606482015260840161007f565b836001600160a01b03166342842e0e338888878181106102705761027061040b565b90506020020160208101906102859190610467565b8b8b888181106102975761029761040b565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050808061031390610484565b9150506100d2565b50505050505050565b6001600160a01b038116811461033957600080fd5b50565b60008083601f84011261034e57600080fd5b50813567ffffffffffffffff81111561036657600080fd5b6020830191508360208260051b850101111561038157600080fd5b9250929050565b6000806000806000606086880312156103a057600080fd5b85356103ab81610324565b9450602086013567ffffffffffffffff808211156103c857600080fd5b6103d489838a0161033c565b909650945060408801359150808211156103ed57600080fd5b506103fa8882890161033c565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043357600080fd5b815161043e81610324565b9392505050565b60006020828403121561045757600080fd5b8151801515811461043e57600080fd5b60006020828403121561047957600080fd5b813561043e81610324565b6000600182016104a457634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212201170b34a20af7a6e5fe90ccfc01b552ee67fbd24babe149ba9d6df25bdce34d264736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bb3008d814610030575b600080fd5b61004361003e366004610388565b610045565b005b826100885760405162461bcd60e51b815260206004820152600e60248201526d4c656e677468206973207a65726f60901b60448201526064015b60405180910390fd5b8281146100ce5760405162461bcd60e51b8152602060048201526014602482015273098cadccee8d0e640c8de40dcdee840dac2e8c6d60631b604482015260640161007f565b8460005b8481101561031b576000826001600160a01b031663081812fc8888858181106100fd576100fd61040b565b905060200201356040518263ffffffff1660e01b815260040161012291815260200190565b602060405180830381865afa15801561013f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101639190610421565b60405163e985e9c560e01b81523360048201523060248201529091506000906001600160a01b0385169063e985e9c590604401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610445565b90506001600160a01b0382163014806101ed5750805b61024e5760405162461bcd60e51b815260206004820152602c60248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e73666560448201526b39103a3434b9903a37b5b2b760a11b606482015260840161007f565b836001600160a01b03166342842e0e338888878181106102705761027061040b565b90506020020160208101906102859190610467565b8b8b888181106102975761029761040b565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050808061031390610484565b9150506100d2565b50505050505050565b6001600160a01b038116811461033957600080fd5b50565b60008083601f84011261034e57600080fd5b50813567ffffffffffffffff81111561036657600080fd5b6020830191508360208260051b850101111561038157600080fd5b9250929050565b6000806000806000606086880312156103a057600080fd5b85356103ab81610324565b9450602086013567ffffffffffffffff808211156103c857600080fd5b6103d489838a0161033c565b909650945060408801359150808211156103ed57600080fd5b506103fa8882890161033c565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043357600080fd5b815161043e81610324565b9392505050565b60006020828403121561045757600080fd5b8151801515811461043e57600080fd5b60006020828403121561047957600080fd5b813561043e81610324565b6000600182016104a457634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212201170b34a20af7a6e5fe90ccfc01b552ee67fbd24babe149ba9d6df25bdce34d264736f6c63430008130033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.