ERC721NFTCollection
ERC721NFTCollection
The ERC721 contract for a L2 collection of ISC NFTs, as defined in IRC27. Implements the ERC721 standard and extends the ERC721NFTs contract. For more information about IRC27, refer to: https://github.com/iotaledger/tips/blob/main/tips/TIP-0027/tip-0027.md
_balanceOf
function _balanceOf(struct ISCAgentID owner) internal view virtual returns (uint256)
Returns the balance of the specified owner.
Parameters
Name | Type | Description |
---|---|---|
owner | struct ISCAgentID | The address to query the balance of. |
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | The balance of the specified owner. |
collectionId
function collectionId() external view virtual returns (IotaObjectID)
Returns the ID of the collection.
Return Values
Name | Type | Description |
---|---|---|
[0] | IotaObjectID | The ID of the collection. |
name
function name() external view virtual returns (string)
Returns the name of the collection.
Return Values
Name | Type | Description |
---|---|---|
[0] | string | The name of the collection. |