修改badge合约, 移除批量mint事件

This commit is contained in:
CounterFire2023 2023-07-11 14:14:03 +08:00
parent 6669ded215
commit 46c7e8e9c8

View File

@ -16,7 +16,6 @@ contract BEBadge is AccessControl, ERC721Enumerable {
event Lock(uint256 indexed tokenId);
event UnLock(uint256 indexed tokenId);
event BatchMint(address indexed to, uint256[] tokenIds);
constructor(
string memory _name,
@ -62,7 +61,6 @@ contract BEBadge is AccessControl, ERC721Enumerable {
_safeMint(to, tokenId);
tokenIds[i] = tokenId;
}
emit BatchMint(to, tokenIds);
return tokenIds;
}