From 3b75c537e8710bd60ab9f3db3120e629e1bc3a25 Mon Sep 17 00:00:00 2001
From: yuhuajing <18852897525@163.com>
Date: Thu, 25 Apr 2024 15:51:17 +0800
Subject: [PATCH 1/2] replace duplicated Bitmaps with an powerful already
importd one
---
.idea/.gitignore | 8 ++++++++
.idea/IMXcontracts.iml | 9 +++++++++
.idea/inspectionProfiles/Project_Default.xml | 6 ++++++
.idea/modules.xml | 8 ++++++++
.idea/vcs.xml | 6 ++++++
contracts/token/erc721/abstract/ERC721Hybrid.sol | 2 +-
contracts/token/erc721/abstract/ImmutableERC721Base.sol | 2 +-
7 files changed, 39 insertions(+), 2 deletions(-)
create mode 100644 .idea/.gitignore
create mode 100644 .idea/IMXcontracts.iml
create mode 100644 .idea/inspectionProfiles/Project_Default.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/vcs.xml
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 00000000..13566b81
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/IMXcontracts.iml b/.idea/IMXcontracts.iml
new file mode 100644
index 00000000..5e764c4f
--- /dev/null
+++ b/.idea/IMXcontracts.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 00000000..03d9549e
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..a95e05df
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/contracts/token/erc721/abstract/ERC721Hybrid.sol b/contracts/token/erc721/abstract/ERC721Hybrid.sol
index 5580030a..d24cbe49 100644
--- a/contracts/token/erc721/abstract/ERC721Hybrid.sol
+++ b/contracts/token/erc721/abstract/ERC721Hybrid.sol
@@ -3,7 +3,7 @@
pragma solidity 0.8.19;
import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
-import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol";
+import {BitMaps} from "solidity-bits/contracts/BitMaps.sol";
import {ERC721Psi, ERC721PsiBurnable} from "../erc721psi/ERC721PsiBurnable.sol";
// Errors
import {IImmutableERC721Errors} from "../../../errors/Errors.sol";
diff --git a/contracts/token/erc721/abstract/ImmutableERC721Base.sol b/contracts/token/erc721/abstract/ImmutableERC721Base.sol
index da41a13f..5947f100 100644
--- a/contracts/token/erc721/abstract/ImmutableERC721Base.sol
+++ b/contracts/token/erc721/abstract/ImmutableERC721Base.sol
@@ -10,7 +10,7 @@ import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol";
import {OperatorAllowlistEnforced} from "../../../allowlist/OperatorAllowlistEnforced.sol";
// Utils
-import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol";
+import {BitMaps} from "solidity-bits/contracts/BitMaps.sol";
import {AccessControlEnumerable, MintingAccessControl} from "../../../access/MintingAccessControl.sol";
/*
From 2f24a4829eb77aa1a0f5d0d5ceda8e5b84c295d0 Mon Sep 17 00:00:00 2001
From: yuhuajing <18852897525@163.com>
Date: Mon, 6 May 2024 10:46:51 +0800
Subject: [PATCH 2/2] delete .dea
---
.gitignore | 1 +
.idea/.gitignore | 8 --------
.idea/IMXcontracts.iml | 9 ---------
.idea/inspectionProfiles/Project_Default.xml | 6 ------
.idea/modules.xml | 8 --------
.idea/vcs.xml | 6 ------
6 files changed, 1 insertion(+), 37 deletions(-)
delete mode 100644 .idea/.gitignore
delete mode 100644 .idea/IMXcontracts.iml
delete mode 100644 .idea/inspectionProfiles/Project_Default.xml
delete mode 100644 .idea/modules.xml
delete mode 100644 .idea/vcs.xml
diff --git a/.gitignore b/.gitignore
index 5d3779bc..e60238dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
node_modules
.env
+.idea
coverage
coverage.json
typechain
diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 13566b81..00000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Editor-based HTTP Client requests
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
diff --git a/.idea/IMXcontracts.iml b/.idea/IMXcontracts.iml
deleted file mode 100644
index 5e764c4f..00000000
--- a/.idea/IMXcontracts.iml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
deleted file mode 100644
index 03d9549e..00000000
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index a95e05df..00000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 35eb1ddf..00000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file