Add note about supply limit in ERC1155Supply

This commit is contained in:
Francisco Giordano
2023-01-31 17:27:05 -03:00
parent e919d96ff2
commit 2d05db171a

View File

@ -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;