chore: update openzeppelin import path

This commit is contained in:
Zitao Xiong
2024-12-19 20:15:31 +08:00
parent a4825f55f5
commit 3b397aefdf
20 changed files with 45 additions and 45 deletions

View File

@@ -4,17 +4,17 @@ pragma solidity ^0.8.20;
import "forge-std/Test.sol";
import "forge-std/console.sol";
import "forge-std/Vm.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/token/ERC721/IERC721.sol";
import "@openzeppelin/token/ERC20/IERC20.sol";
import "../src/GiftedBox.sol";
import { GiftedAccount, IERC6551Account } from "../src/GiftedAccount.sol";
import "../src/GiftedAccountGuardian.sol";
import "../src/GiftedAccountProxy.sol";
import "../src/erc6551/evm/ERC6551Registry.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/token/ERC721/ERC721.sol";
import "@openzeppelin/token/ERC20/ERC20.sol";
import "@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import { ERC1967Proxy } from "@openzeppelin/proxy/ERC1967/ERC1967Proxy.sol";
import "../src/interfaces/ISwapRouter.sol";
import "../src/interfaces/IQuoter.sol";
import "../src/interfaces/IUnifiedStore.sol";

View File

@@ -4,20 +4,20 @@ pragma solidity ^0.8.20;
import "forge-std/Test.sol";
import "forge-std/console.sol";
import "forge-std/Vm.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/token/ERC721/IERC721.sol";
import "../src/GiftedBox.sol";
import { GiftedAccount, IERC6551Account } from "../src/GiftedAccount.sol";
import "../src/GiftedAccountGuardian.sol";
import "../src/GiftedAccountProxy.sol";
import "../src/erc6551/evm/ERC6551Registry.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/token/ERC721/ERC721.sol";
import "@openzeppelin/token/ERC1155/ERC1155.sol";
import "@openzeppelin-contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import { ERC1967Proxy } from "@openzeppelin/proxy/ERC1967/ERC1967Proxy.sol";
import "../src/Vault.sol";
import "../src/GasSponsorBook.sol";
import "../src/UnifiedStore.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/token/ERC20/ERC20.sol";
contract MockERC721 is ERC721 {
constructor() ERC721("MockERC721", "M721") { }

View File

@@ -3,8 +3,8 @@ pragma solidity ^0.8.20;
import "forge-std/Test.sol";
import "../src/NFTVault.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/token/ERC721/ERC721.sol";
import "@openzeppelin/token/ERC1155/ERC1155.sol";
contract MockERC721 is ERC721 {
constructor() ERC721("MockERC721", "M721") { }

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/token/ERC20/ERC20.sol";
import "../../src/interfaces/IWETH.sol";
contract MockWETH is ERC20, IWETH {