TestNonFungibleToken
Inherits: ERC721
Functions
constructor
constructor() ERC721("Non-fungible", "NFT");
mint
Mint a non-fungible token for oneself.
function mint(uint256 tokenId) external;
Parameters
| Name | Type | Description |
|---|---|---|
tokenId | uint256 | The non-fungible token ID |
mint
Mint a non-fungible token.
function mint(address to, uint256 tokenId) external;
Parameters
| Name | Type | Description |
|---|---|---|
to | address | The account that will receive the token |
tokenId | uint256 | The non-fungible token ID |