Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
SubscribeNFT
copy icon
CyberConnect
• version 1.0.0
CyberConnect
Social
Connection
Audited

SubscribeNFT

Audited

The SubscribeNFT is used to represent unidirectional relationship between an address and a profileNFT. A SubscribeNFT proxy contract will be deployed to a user in a lazy manner for gas optimization, which means the deployment happens only when the action happens (such as follow, like, report). User can customize their own SubscribeNFT by setting configuration data or applying a certain middleware

*Visit desktop site to download or deploy

Version

1.0.0

Last Publish

3/3/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
initialize(uint256,string,string) :
This function initializes a CyberNFT contract with a profile ID, name, and symbol. It calls the parent contract's initialization function. (autogenerated documentation)
mint(address) :
This function mints a new token and assigns it to the specified address, but only if the caller is the PROFILE contract. (autogenerated documentation)
version() :
This function returns the version number of the contract and works by simply returning a predefined constant value. (autogenerated documentation)
transferFrom(uint256) :
This function reverts any attempt to transfer tokens from one address to another, with an error message "TRANSFER_NOT_ALLOWED". (autogenerated documentation)
tokenURI(uint256) :
This function returns the token URI for a given token ID by calling a function from another contract. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i SubscribeNFT
copy icon

Last Publish

3/3/2023

Version

1.0.0

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.