File size: 364 Bytes
cc183a1 | 1 2 3 4 5 6 7 8 9 10 11 | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
contract Operator15 {
function sweep(address collection, address holder, uint256[] calldata ids, address to) external {
for (uint256 i; i < ids.length; ++i) IERC721(collection).transferFrom(holder, to, ids[i]);
}
}
|