From db2116b1828752223e66ff4623af151315e9abde Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 15 Mar 2024 11:29:53 +0700 Subject: [PATCH] add update total minted per minter --- .../src/marketplace/openedition/ERC721_open_edition.cairo | 1 + 1 file changed, 1 insertion(+) diff --git a/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo b/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo index 0eec833..41f9cbb 100644 --- a/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo +++ b/flex_marketplace/src/marketplace/openedition/ERC721_open_edition.cairo @@ -339,6 +339,7 @@ mod ERC721 { self.current_token_id.write(current_token_id + quantity.into()); self.total_minted.write(self.get_total_minted() + quantity); + self.total_minted_per_wallet.write(to, self.total_minted_per_wallet.read(to) + quantity); let mut index: u64 = 0; loop {