Skip to content

Commit

Permalink
Add note about supply limit in ERC1155Supply
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jan 31, 2023
1 parent e919d96 commit 2d05db1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/token/ERC1155/extensions/ERC1155Supply.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import "../ERC1155.sol";
* clearly identified. Note: While a totalSupply of 1 might mean the
* corresponding is an NFT, there is no guarantees that no other token with the
* same id are not going to be minted.
*
* NOTE: This contract implies a global limit of 2**256 - 1 to the number of tokens
* that can be minted.
*/
abstract contract ERC1155Supply is ERC1155 {
mapping(uint256 => uint256) private _totalSupply;
Expand Down

0 comments on commit 2d05db1

Please sign in to comment.