You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type or category label that represents the activity for what the time is being tokenized.
availabilityFrom
uint256
Unix timestamp indicating start of availability. Zero if does not have lower bound.
availabilityTo
uint256
Unix timestamp indicating end of availability. Zero if does not have upper bound.
duration
uint256
The actual quantity of time you are tokenizing inside availability range. Measured in seconds.
royaltyBasisPoints
uint256
The royalty percentage measured in basis points. Each basis point represents 0.01%.
Returns
Name
Type
Description
_0
uint256
An integer representing the ID of the minted NFT.
name
function name() externalviewreturns (string)
See {IERC721Metadata-name}.
Returns
Name
Type
Description
_0
string
undefined
owner
function owner() externalviewreturns (address)
Returns the address of the current owner.
Returns
Name
Type
Description
_0
address
undefined
ownerOf
function ownerOf(uint256tokenId) externalviewreturns (address)
See {IERC721-ownerOf}.
Parameters
Name
Type
Description
tokenId
uint256
undefined
Returns
Name
Type
Description
_0
address
undefined
redeem
function redeem(uint256tokenId) external nonpayable
Redeems the token with the given tokenId.
Parameters
Name
Type
Description
tokenId
uint256
Token id of the NFT that you are redeeming.
renounceOwnership
function renounceOwnership() external nonpayable
Leaves the contract without owner. It will not be possible to call onlyOwner functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
royaltyInfo
function royaltyInfo(uint256tokenId, uint256salePrice) externalviewreturns (address, uint256)
Gets the royalty information of the token with the given tokenId.
Parameters
Name
Type
Description
tokenId
uint256
The id of the token that you are checking.
salePrice
uint256
The price of the NFT that should be used for royalty calculation.
Returns
Name
Type
Description
_0
address
The address who will receive the royalties and the royalty amount for the given price.
_1
uint256
undefined
safeTransferFrom
function safeTransferFrom(addressfrom, addressto, uint256tokenId, bytes_data) external nonpayable
See {IERC721-safeTransferFrom}.
Parameters
Name
Type
Description
from
address
undefined
to
address
undefined
tokenId
uint256
undefined
_data
bytes
undefined
setApprovalForAll
function setApprovalForAll(addressoperator, boolapproved) external nonpayable
See {IERC721-setApprovalForAll}.
Parameters
Name
Type
Description
operator
address
undefined
approved
bool
undefined
setSvgGenerator
function setSvgGenerator(addressnewSvgGenerator) external nonpayable
Sets the SVG generator for the NFT image.
Parameters
Name
Type
Description
newSvgGenerator
address
The address of a contract following the ISvgGenerator signature.
supportsInterface
function supportsInterface(bytes4interfaceId) externalviewreturns (bool)
Checks if the contract supports the specified interface.
Parameters
Name
Type
Description
interfaceId
bytes4
The interface id of the interface that you are querying.
Returns
Name
Type
Description
_0
bool
True if the interface is supported, false otherwise.
svgGenerator
function svgGenerator() externalviewreturns (address)
Returns
Name
Type
Description
_0
address
undefined
symbol
function symbol() externalviewreturns (string)
See {IERC721Metadata-symbol}.
Returns
Name
Type
Description
_0
string
undefined
toggleCurrencyAllowance
function toggleCurrencyAllowance(addresscurrency) external nonpayable
Toggles the payment allowance of the given currency.
Parameters
Name
Type
Description
currency
address
The address of the ERC-20 currency to toggle allowance. Use address(0) for native currency.
tokenURI
function tokenURI(uint256tokenId) externalviewreturns (string)
Returns the URI of the token with the given tokenId.