Verified contractExactMIT
BulkAirdrop
Address0xa8ee5252ad4be60c1e1d2a5d8ba005b6d8efcecf
- Balance
0 ETH
- Transactions
7
- Compiler
solc 0.8.4
- Same code
Only this contract
Details
- Compiler
- solc 0.8.4+commit.c7e474f2
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 15,520,012
- Creation transaction
- 0x76aed83cec…df4e03857c
contracts/BulkAirdrop.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IERC721 {
function safeTransferFrom(address from, address to, uint256 tokenId) external;
}
contract BulkAirdrop {
function bulkAirdropERC721(IERC721 _token, address[] calldata _to, uint256[] calldata _id) public {
require(_to.length == _id.length, "Receivers and IDs are different length");
for (uint256 i = 0; i < _to.length; i++) {
_token.safeTransferFrom(msg.sender, _to[i], _id[i]);
}
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.