修改badge合约, 移除批量mint事件
This commit is contained in:
parent
6669ded215
commit
46c7e8e9c8
@ -16,7 +16,6 @@ contract BEBadge is AccessControl, ERC721Enumerable {
|
|||||||
|
|
||||||
event Lock(uint256 indexed tokenId);
|
event Lock(uint256 indexed tokenId);
|
||||||
event UnLock(uint256 indexed tokenId);
|
event UnLock(uint256 indexed tokenId);
|
||||||
event BatchMint(address indexed to, uint256[] tokenIds);
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
string memory _name,
|
string memory _name,
|
||||||
@ -62,7 +61,6 @@ contract BEBadge is AccessControl, ERC721Enumerable {
|
|||||||
_safeMint(to, tokenId);
|
_safeMint(to, tokenId);
|
||||||
tokenIds[i] = tokenId;
|
tokenIds[i] = tokenId;
|
||||||
}
|
}
|
||||||
emit BatchMint(to, tokenIds);
|
|
||||||
return tokenIds;
|
return tokenIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user