Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Multi Chain
Multichain Addresses
1 address found via
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Erc721bombardmen... | 14994344 | 347 days 8 hrs ago | IN | 0 ETH | 0.00205634 | ||||
Erc721bombardmen... | 14944067 | 356 days 35 mins ago | IN | 0 ETH | 0.08771365 | ||||
Erc721bombardmen... | 14942470 | 356 days 7 hrs ago | IN | 0 ETH | 0.01110878 | ||||
Erc721bombardmen... | 14942411 | 356 days 7 hrs ago | IN | 0 ETH | 0.05711427 | ||||
Erc721bombardmen... | 14941874 | 356 days 9 hrs ago | IN | 0 ETH | 0.08895282 | ||||
Erc721bombardmen... | 14938114 | 357 days 1 hr ago | IN | 0 ETH | 0.08555506 | ||||
Erc721bombardmen... | 14930284 | 358 days 9 hrs ago | IN | 0 ETH | 0.06171875 | ||||
Erc721bombardmen... | 14909169 | 361 days 23 hrs ago | IN | 0 ETH | 0.04014577 | ||||
Erc721bombardmen... | 14902415 | 363 days 3 hrs ago | IN | 0 ETH | 0.01446732 | ||||
Erc721bombardmen... | 14900744 | 363 days 9 hrs ago | IN | 0 ETH | 0.09088433 | ||||
Erc721bombardmen... | 14895599 | 364 days 5 hrs ago | IN | 0 ETH | 0.06570037 | ||||
Erc721bombardmen... | 14889870 | 365 days 4 hrs ago | IN | 0 ETH | 0.28860141 | ||||
0x60806040 | 14858105 | 370 days 8 hrs ago | IN | Create: AirdropNFT | 0 ETH | 0.006253 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
AirdropNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-28 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol) // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address, address, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC721Received.selector; } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } contract AirdropNFT is Ownable, ERC721Holder { constructor() {} function erc721bombardment( address tokenAddress, address[] calldata accounts, uint256[] calldata ids ) external onlyOwner { require(accounts.length == ids.length, "accounts != ids"); IERC721 token = IERC721(tokenAddress); for (uint256 index = 0; index < accounts.length; ++index) { token.safeTransferFrom(address(this), accounts[index], ids[index]); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"erc721bombardment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6105fb8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063150b7a021461005c578063715018a6146100985780638da5cb5b146100a2578063d3526b38146100bd578063f2fde38b146100d0575b600080fd5b61007a61006a366004610388565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6100a06100e3565b005b6000546040516001600160a01b03909116815260200161008f565b6100a06100cb3660046104b0565b610122565b6100a06100de366004610531565b61026b565b6000546001600160a01b031633146101165760405162461bcd60e51b815260040161010d90610553565b60405180910390fd5b6101206000610306565b565b6000546001600160a01b0316331461014c5760405162461bcd60e51b815260040161010d90610553565b82811461018d5760405162461bcd60e51b815260206004820152600f60248201526e6163636f756e747320213d2069647360881b604482015260640161010d565b8460005b8481101561026257816001600160a01b03166342842e0e308888858181106101bb576101bb610588565b90506020020160208101906101d09190610531565b8787868181106101e2576101e2610588565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561023957600080fd5b505af115801561024d573d6000803e3d6000fd5b505050508061025b9061059e565b9050610191565b50505050505050565b6000546001600160a01b031633146102955760405162461bcd60e51b815260040161010d90610553565b6001600160a01b0381166102fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161010d565b61030381610306565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461036d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561039e57600080fd5b6103a785610356565b93506103b560208601610356565b925060408501359150606085013567ffffffffffffffff808211156103d957600080fd5b818701915087601f8301126103ed57600080fd5b8135818111156103ff576103ff610372565b604051601f8201601f19908116603f0116810190838211818310171561042757610427610372565b816040528281528a602084870101111561044057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008083601f84011261047657600080fd5b50813567ffffffffffffffff81111561048e57600080fd5b6020830191508360208260051b85010111156104a957600080fd5b9250929050565b6000806000806000606086880312156104c857600080fd5b6104d186610356565b9450602086013567ffffffffffffffff808211156104ee57600080fd5b6104fa89838a01610464565b9096509450604088013591508082111561051357600080fd5b5061052088828901610464565b969995985093965092949392505050565b60006020828403121561054357600080fd5b61054c82610356565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016105be57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220309222ca82fb0fdfaf0352b9deadcc82091d34977bc1d051f1b87e6d2bda7cd164736f6c634300080d0033
Deployed ByteCode Sourcemap
10646:519:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5635:207;;;;;;:::i;:::-;-1:-1:-1;;;5635:207:0;;;;;;;;;;-1:-1:-1;;;;;;1629:33:1;;;1611:52;;1599:2;1584:18;5635:207:0;;;;;;;;3337:103;;;:::i;:::-;;2686:87;2732:7;2759:6;2686:87;;-1:-1:-1;;;;;2759:6:0;;;1820:51:1;;1808:2;1793:18;2686:87:0;1674:203:1;10722:440:0;;;;;;:::i;:::-;;:::i;3595:201::-;;;;;;:::i;:::-;;:::i;3337:103::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;1631:10;2906:23;2898:68;;;;-1:-1:-1;;;2898:68:0;;;;;;;:::i;:::-;;;;;;;;;3402:30:::1;3429:1;3402:18;:30::i;:::-;3337:103::o:0;10722:440::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;1631:10;2906:23;2898:68;;;;-1:-1:-1;;;2898:68:0;;;;;;;:::i;:::-;10896:29;;::::1;10888:57;;;::::0;-1:-1:-1;;;10888:57:0;;3860:2:1;10888:57:0::1;::::0;::::1;3842:21:1::0;3899:2;3879:18;;;3872:30;-1:-1:-1;;;3918:18:1;;;3911:45;3973:18;;10888:57:0::1;3658:339:1::0;10888:57:0::1;10980:12:::0;10956:13:::1;11004:151;11028:23:::0;;::::1;11004:151;;;11077:5;-1:-1:-1::0;;;;;11077:22:0::1;;11108:4;11115:8;;11124:5;11115:15;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;11132:3;;11136:5;11132:10;;;;;;;:::i;:::-;11077:66;::::0;-1:-1:-1;;;;;;11077:66:0::1;::::0;;;;;;-1:-1:-1;;;;;4392:15:1;;;11077:66:0::1;::::0;::::1;4374:34:1::0;4444:15;;;;4424:18;;;4417:43;-1:-1:-1;11132:10:0::1;::::0;;::::1;;;4476:18:1::0;;;4469:34;4309:18;;11077:66:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;11053:7;;;;:::i;:::-;;;11004:151;;;;10877:285;10722:440:::0;;;;;:::o;3595:201::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;1631:10;2906:23;2898:68;;;;-1:-1:-1;;;2898:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3684:22:0;::::1;3676:73;;;::::0;-1:-1:-1;;;3676:73:0;;4953:2:1;3676:73:0::1;::::0;::::1;4935:21:1::0;4992:2;4972:18;;;4965:30;5031:34;5011:18;;;5004:62;-1:-1:-1;;;5082:18:1;;;5075:36;5128:19;;3676:73:0::1;4751:402:1::0;3676:73:0::1;3760:28;3779:8;3760:18;:28::i;:::-;3595:201:::0;:::o;3956:191::-;4030:16;4049:6;;-1:-1:-1;;;;;4066:17:0;;;-1:-1:-1;;;;;;4066:17:0;;;;;;4099:40;;4049:6;;;;;;;4099:40;;4030:16;4099:40;4019:128;3956:191;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:127::-;253:10;248:3;244:20;241:1;234:31;284:4;281:1;274:15;308:4;305:1;298:15;324:1138;419:6;427;435;443;496:3;484:9;475:7;471:23;467:33;464:53;;;513:1;510;503:12;464:53;536:29;555:9;536:29;:::i;:::-;526:39;;584:38;618:2;607:9;603:18;584:38;:::i;:::-;574:48;;669:2;658:9;654:18;641:32;631:42;;724:2;713:9;709:18;696:32;747:18;788:2;780:6;777:14;774:34;;;804:1;801;794:12;774:34;842:6;831:9;827:22;817:32;;887:7;880:4;876:2;872:13;868:27;858:55;;909:1;906;899:12;858:55;945:2;932:16;967:2;963;960:10;957:36;;;973:18;;:::i;:::-;1048:2;1042:9;1016:2;1102:13;;-1:-1:-1;;1098:22:1;;;1122:2;1094:31;1090:40;1078:53;;;1146:18;;;1166:22;;;1143:46;1140:72;;;1192:18;;:::i;:::-;1232:10;1228:2;1221:22;1267:2;1259:6;1252:18;1307:7;1302:2;1297;1293;1289:11;1285:20;1282:33;1279:53;;;1328:1;1325;1318:12;1279:53;1384:2;1379;1375;1371:11;1366:2;1358:6;1354:15;1341:46;1429:1;1424:2;1419;1411:6;1407:15;1403:24;1396:35;1450:6;1440:16;;;;;;;324:1138;;;;;;;:::o;1882:367::-;1945:8;1955:6;2009:3;2002:4;1994:6;1990:17;1986:27;1976:55;;2027:1;2024;2017:12;1976:55;-1:-1:-1;2050:20:1;;2093:18;2082:30;;2079:50;;;2125:1;2122;2115:12;2079:50;2162:4;2154:6;2150:17;2138:29;;2222:3;2215:4;2205:6;2202:1;2198:14;2190:6;2186:27;2182:38;2179:47;2176:67;;;2239:1;2236;2229:12;2176:67;1882:367;;;;;:::o;2254:847::-;2385:6;2393;2401;2409;2417;2470:2;2458:9;2449:7;2445:23;2441:32;2438:52;;;2486:1;2483;2476:12;2438:52;2509:29;2528:9;2509:29;:::i;:::-;2499:39;;2589:2;2578:9;2574:18;2561:32;2612:18;2653:2;2645:6;2642:14;2639:34;;;2669:1;2666;2659:12;2639:34;2708:70;2770:7;2761:6;2750:9;2746:22;2708:70;:::i;:::-;2797:8;;-1:-1:-1;2682:96:1;-1:-1:-1;2885:2:1;2870:18;;2857:32;;-1:-1:-1;2901:16:1;;;2898:36;;;2930:1;2927;2920:12;2898:36;;2969:72;3033:7;3022:8;3011:9;3007:24;2969:72;:::i;:::-;2254:847;;;;-1:-1:-1;2254:847:1;;-1:-1:-1;3060:8:1;;2943:98;2254:847;-1:-1:-1;;;2254:847:1:o;3106:186::-;3165:6;3218:2;3206:9;3197:7;3193:23;3189:32;3186:52;;;3234:1;3231;3224:12;3186:52;3257:29;3276:9;3257:29;:::i;:::-;3247:39;3106:186;-1:-1:-1;;;3106:186:1:o;3297:356::-;3499:2;3481:21;;;3518:18;;;3511:30;3577:34;3572:2;3557:18;;3550:62;3644:2;3629:18;;3297:356::o;4002:127::-;4063:10;4058:3;4054:20;4051:1;4044:31;4094:4;4091:1;4084:15;4118:4;4115:1;4108:15;4514:232;4553:3;4574:17;;;4571:140;;4633:10;4628:3;4624:20;4621:1;4614:31;4668:4;4665:1;4658:15;4696:4;4693:1;4686:15;4571:140;-1:-1:-1;4738:1:1;4727:13;;4514:232::o
Swarm Source
ipfs://309222ca82fb0fdfaf0352b9deadcc82091d34977bc1d051f1b87e6d2bda7cd1
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.
[ 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.