IColleCollection
This interface includes the necessary methods for managing ColleCollection NFTs.
PermanentURI
Emitted when a token is minted, we freeze the URI per OpenSea's metadata standard.
SecondaryMetadataIPFS
Emitted when the off-chain metadata for a token has been updated.
mint
Mints a new NFT.
Parameters
_uri
string
The URI of the NFT's metadata.
_receiver
address
The address to receive the minted NFT.
updateSaleMetadata
Updates the sale metadata of a specific NFT.
Parameters
_tokenId
uint256
The ID of the NFT to update.
_uri
string
The new URI of the sale metadata.
getSaleMetadata
Gets the sale metadata of a specific NFT.
Parameters
_tokenId
uint256
The ID of the NFT to query.
Return Values
[0]
string
The URI of the sale metadata.
isSaleMetadataSet
Checks if the sale metadata of a specific NFT is set.
Parameters
_tokenId
uint256
The ID of the NFT to query.
Return Values
[0]
bool
True if the sale metadata is set, false otherwise.
permitApprove
Allows a signer to approve a transfer on their behalf using a signature.
Parameters
_to
address
The address to approve.
_tokenId
uint256
The ID of the token to approve.
_signature
struct Signature
The signature from the approving address, the 'from', including deadline
permitSetApprovalForAll
Approves an address to transfer any tokens owned by the sender.
Parameters
_operator
address
The address to approve.
_approve
bool
Whether to approve or revoke approval
_signature
struct Signature
The signature, deadline and signer from the owner of the token.
permitSafeTransfer
Allows a signer to transfer a NFT on their behalf using a signature.
Parameters
_to
address
The address to receive the token.
_tokenId
uint256
The ID of the token to transfer.
_signature
struct Signature
The signature, deadline and signer from the owner of the token.
Last updated