Skip to content

Commit bcd90b0

Browse files
feat: support burning on all erc721M contracts
1 parent 4d7357b commit bcd90b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contracts/ERC721M.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
88
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
99
import "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol";
1010
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
11+
import "erc721a/contracts/extensions/ERC721ABurnable.sol";
1112
import "./IERC721M.sol";
1213

1314
/**
@@ -20,7 +21,7 @@ import "./IERC721M.sol";
2021
* - crossmint support
2122
* - anti-botting
2223
*/
23-
contract ERC721M is IERC721M, ERC721AQueryable, Ownable, ReentrancyGuard {
24+
contract ERC721M is IERC721M, ERC721ABurnable, ERC721AQueryable, Ownable, ReentrancyGuard {
2425
using ECDSA for bytes32;
2526

2627
// Whether this contract is mintable.
@@ -640,4 +641,4 @@ contract ERC721M is IERC721M, ERC721AQueryable, Ownable, ReentrancyGuard {
640641
}
641642
return chainID;
642643
}
643-
}
644+
}

0 commit comments

Comments
 (0)