From edcde7c56003220b353cfd77fe696f25ee5a8df9 Mon Sep 17 00:00:00 2001 From: Yash <72552910+kumaryash90@users.noreply.github.com> Date: Sat, 28 Jan 2023 01:30:20 +0530 Subject: [PATCH] fix dependencies in contract-kit (#321) --- contracts/eip/ERC721AVirtualApprove.sol | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contracts/eip/ERC721AVirtualApprove.sol b/contracts/eip/ERC721AVirtualApprove.sol index d1868f760..89edc0ae4 100644 --- a/contracts/eip/ERC721AVirtualApprove.sol +++ b/contracts/eip/ERC721AVirtualApprove.sol @@ -7,11 +7,11 @@ pragma solidity ^0.8.4; ////////// CHANGELOG: turn `approve` to virtual ////////// import "./interface/IERC721A.sol"; -import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; -import "@openzeppelin/contracts/utils/Address.sol"; -import "@openzeppelin/contracts/utils/Context.sol"; -import "@openzeppelin/contracts/utils/Strings.sol"; -import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; +import "./interface/IERC721Receiver.sol"; +import "../lib/TWAddress.sol"; +import "../openzeppelin-presets/utils/Context.sol"; +import "../lib/TWStrings.sol"; +import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including @@ -24,8 +24,8 @@ import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { - using Address for address; - using Strings for uint256; + using TWAddress for address; + using TWStrings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex;