Skip to content

Commit

Permalink
remove totalSupply
Browse files Browse the repository at this point in the history
  • Loading branch information
Deewai committed Aug 6, 2024
1 parent ef7eca5 commit b07d9fd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions edition-nft/contracts/AllDaySeasonal.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ access(all) contract AllDaySeasonal: NonFungibleToken {
// Publicly readable contract state
//------------------------------------------------------------
// totalSupply
// The total number of NFTs that in circulation.
//
access(all) var totalSupply: UInt64

// totalEditions
// The total number of editions that have been created.
Expand Down Expand Up @@ -146,7 +142,6 @@ access(all) contract AllDaySeasonal: NonFungibleToken {
let nft <- create NFT(
editionID: self.id,
)
AllDaySeasonal.totalSupply = AllDaySeasonal.totalSupply + 1
// Keep a running total (you'll notice we used this as the serial number)
self.numMinted = self.numMinted + 1 as UInt64

Expand Down Expand Up @@ -544,7 +539,6 @@ access(all) contract AllDaySeasonal: NonFungibleToken {
self.AdminStoragePath = /storage/AllDaySeasonalAdmin

// Initialize the entity counts
self.totalSupply = 0
self.totalEditions = 0
self.nextEditionID = 1

Expand Down

0 comments on commit b07d9fd

Please sign in to comment.