Skip to content

Commit

Permalink
add update total minted per minter
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian committed Mar 15, 2024
1 parent ab31199 commit db2116b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit db2116b

Please sign in to comment.