File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
contracts/nft/erc721m/clones Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ contract ERC721MagicDropCloneable is ERC721MagicDropMetadataCloneable {
104
104
/// @notice Emitted when the payout recipient is set.
105
105
event PayoutRecipientSet (address newPayoutRecipient );
106
106
107
+ /// @notice Emitted when a token is minted.
108
+ event TokenMinted (address indexed to , uint256 tokenId , uint256 qty );
109
+
107
110
/*==============================================================
108
111
= ERRORS =
109
112
==============================================================*/
@@ -179,6 +182,8 @@ contract ERC721MagicDropCloneable is ERC721MagicDropMetadataCloneable {
179
182
if (stage.price != 0 ) {
180
183
_splitProceeds ();
181
184
}
185
+
186
+ emit TokenMinted (to, _totalMinted (), qty);
182
187
}
183
188
184
189
/// @notice Mints tokens during the allowlist stage.
You can’t perform that action at this time.
0 commit comments