ETH Price: $3,257.04 (-0.69%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Multisend NF Ts211769262024-11-13 6:17:4757 days ago1731478667IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.0017085519.09534482
Multisend NF Ts208759492024-10-02 6:14:1199 days ago1727849651IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.001393746.06156791
Multisend NF Ts207828072024-09-19 6:20:11112 days ago1726726811IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.0044126213.63544724
Multisend NF Ts206253122024-08-28 6:31:35134 days ago1724826695IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.000480631.33915764
Multisend NF Ts206252882024-08-28 6:26:47134 days ago1724826407IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.000113711.2709652
Multisend NF Ts205250332024-08-14 6:19:23148 days ago1723616363IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.00051833.80239627
Multisend NF Ts203247252024-07-17 7:22:35176 days ago1721200955IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.002042068.68813044
Multisend NF Ts203247062024-07-17 7:18:47176 days ago1721200727IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.018103289.04240214
Multisend NF Ts203246832024-07-17 7:14:11176 days ago1721200451IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.0023967.40445546
Multisend NF Ts202749202024-07-10 8:31:35183 days ago1720600295IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.005130155.79364142
Multisend NF Ts202749062024-07-10 8:28:47183 days ago1720600127IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.012742065.68150578
Multisend NF Ts202749012024-07-10 8:27:47183 days ago1720600067IN
0xCAe5bBcf...3d7e46DE9
0 ETH0.001096015.76551243

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTMultisender

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : NFTMultisender.sol
// 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]);
        }
    }

}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"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"}]

608060405234801561001057600080fd5b506104e1806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bb3008d814610030575b600080fd5b61004361003e366004610388565b610045565b005b826100885760405162461bcd60e51b815260206004820152600e60248201526d4c656e677468206973207a65726f60901b60448201526064015b60405180910390fd5b8281146100ce5760405162461bcd60e51b8152602060048201526014602482015273098cadccee8d0e640c8de40dcdee840dac2e8c6d60631b604482015260640161007f565b8460005b8481101561031b576000826001600160a01b031663081812fc8888858181106100fd576100fd61040b565b905060200201356040518263ffffffff1660e01b815260040161012291815260200190565b602060405180830381865afa15801561013f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101639190610421565b60405163e985e9c560e01b81523360048201523060248201529091506000906001600160a01b0385169063e985e9c590604401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610445565b90506001600160a01b0382163014806101ed5750805b61024e5760405162461bcd60e51b815260206004820152602c60248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e73666560448201526b39103a3434b9903a37b5b2b760a11b606482015260840161007f565b836001600160a01b03166342842e0e338888878181106102705761027061040b565b90506020020160208101906102859190610467565b8b8b888181106102975761029761040b565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050808061031390610484565b9150506100d2565b50505050505050565b6001600160a01b038116811461033957600080fd5b50565b60008083601f84011261034e57600080fd5b50813567ffffffffffffffff81111561036657600080fd5b6020830191508360208260051b850101111561038157600080fd5b9250929050565b6000806000806000606086880312156103a057600080fd5b85356103ab81610324565b9450602086013567ffffffffffffffff808211156103c857600080fd5b6103d489838a0161033c565b909650945060408801359150808211156103ed57600080fd5b506103fa8882890161033c565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043357600080fd5b815161043e81610324565b9392505050565b60006020828403121561045757600080fd5b8151801515811461043e57600080fd5b60006020828403121561047957600080fd5b813561043e81610324565b6000600182016104a457634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212201170b34a20af7a6e5fe90ccfc01b552ee67fbd24babe149ba9d6df25bdce34d264736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bb3008d814610030575b600080fd5b61004361003e366004610388565b610045565b005b826100885760405162461bcd60e51b815260206004820152600e60248201526d4c656e677468206973207a65726f60901b60448201526064015b60405180910390fd5b8281146100ce5760405162461bcd60e51b8152602060048201526014602482015273098cadccee8d0e640c8de40dcdee840dac2e8c6d60631b604482015260640161007f565b8460005b8481101561031b576000826001600160a01b031663081812fc8888858181106100fd576100fd61040b565b905060200201356040518263ffffffff1660e01b815260040161012291815260200190565b602060405180830381865afa15801561013f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101639190610421565b60405163e985e9c560e01b81523360048201523060248201529091506000906001600160a01b0385169063e985e9c590604401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610445565b90506001600160a01b0382163014806101ed5750805b61024e5760405162461bcd60e51b815260206004820152602c60248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e73666560448201526b39103a3434b9903a37b5b2b760a11b606482015260840161007f565b836001600160a01b03166342842e0e338888878181106102705761027061040b565b90506020020160208101906102859190610467565b8b8b888181106102975761029761040b565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050808061031390610484565b9150506100d2565b50505050505050565b6001600160a01b038116811461033957600080fd5b50565b60008083601f84011261034e57600080fd5b50813567ffffffffffffffff81111561036657600080fd5b6020830191508360208260051b850101111561038157600080fd5b9250929050565b6000806000806000606086880312156103a057600080fd5b85356103ab81610324565b9450602086013567ffffffffffffffff808211156103c857600080fd5b6103d489838a0161033c565b909650945060408801359150808211156103ed57600080fd5b506103fa8882890161033c565b969995985093965092949392505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561043357600080fd5b815161043e81610324565b9392505050565b60006020828403121561045757600080fd5b8151801515811461043e57600080fd5b60006020828403121561047957600080fd5b813561043e81610324565b6000600182016104a457634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212201170b34a20af7a6e5fe90ccfc01b552ee67fbd24babe149ba9d6df25bdce34d264736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.