Browse Source

Remove documented requirement in IERC1155's `balanceOf` (#4847)

Andrew Fleming 1 năm trước cách đây
mục cha
commit
e5c63635e3
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      contracts/token/ERC1155/IERC1155.sol

+ 0 - 4
contracts/token/ERC1155/IERC1155.sol

@@ -44,10 +44,6 @@ interface IERC1155 is IERC165 {
 
     /**
      * @dev Returns the value of tokens of token type `id` owned by `account`.
-     *
-     * Requirements:
-     *
-     * - `account` cannot be the zero address.
      */
     function balanceOf(address account, uint256 id) external view returns (uint256);