Skip to content

Commit

Permalink
fix: total supply
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Dec 9, 2024
1 parent 10a2333 commit 669d67b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ethereum/contracts/Deferred.sol
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ contract Deferred is ERC721, Ownable {
return tokensBoughtByBuyer[_contractId];
}

/// @notice Get the total supply of tokens
/// @return totalSupply The total supply of tokens
function totalSupply() public view returns (uint256) {
return nextTokenId;
}

// ERC721 overrides

/// @notice Get balance of a token owner
Expand Down

0 comments on commit 669d67b

Please sign in to comment.