OwnableByERC721

Contract to make other contracts ownable by an ERC721 token for access control.

Functions

_setNFT

Sets the NFT factory address.

Params:

Name

Type

Description

nftAddress

address

Address of the NFT factory

nft

Returns the NFT factory address that created this NFT.

Returns:

Name

Type

Description

nftAddress

address

Address of the NFT factory

owner

Returns the owner of the NFT

Returns:

Name

Type

Description

ownerAddress

address

Address of the owner