更新nftmall, 增加nftholder

This commit is contained in:
CounterFire2023 2023-08-31 13:37:05 +08:00
parent c12e4afe53
commit ea0c6e8da8
3 changed files with 7282 additions and 6499 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,6 +6,7 @@ import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "../core/HasSignature.sol"; import "../core/HasSignature.sol";
import "../interfaces/IBEERC1155.sol"; import "../interfaces/IBEERC1155.sol";
import "../utils/TimeChecker.sol"; import "../utils/TimeChecker.sol";
@ -16,7 +17,8 @@ contract BENftMallTrans is
MallBase, MallBase,
ReentrancyGuard, ReentrancyGuard,
HasSignature, HasSignature,
TimeChecker TimeChecker,
ERC721Holder
{ {
using SafeERC20 for IERC20; using SafeERC20 for IERC20;
using UInt for uint256; using UInt for uint256;

View File

@ -141,6 +141,6 @@
"name": "BENftMallTrans", "name": "BENftMallTrans",
"type": "logic", "type": "logic",
"json": "assets/contracts/BENftMallTrans.json", "json": "assets/contracts/BENftMallTrans.json",
"address": "0x9A41d4D09B2fa6334c49f87ee4Ab0095C4dd8D1E" "address": "0x24e08D7c3109A945a33c1ff737f34Dd80b27c723"
} }
] ]