πSoulbound
Overview
This contract is built on ERC4973, and introduces a Soulbound token system with features like pre-sales, scheduled drops, airdrops, and social media link integration.
It focuses on unique NFT issuance with options for whitelisting and minting limits.
Methods
burn
burnBurns a specific token.
Parameters
_tokenId
uint256
ID of the token to burn.
mint
mintMints a new token.
Parameters
_issuee
address
Recipient of the new token.
_uri
string
URI for the new token.
preSaleIssue
preSaleIssueMints a token during the pre-sale period for whitelisted addresses.
Parameters
uri
string
URI for the new token.
perWalletPreSaleIssue
perWalletPreSaleIssueMints a token during pre-sale with per-wallet limits for whitelisted addresses.
Parameters
uri
string
URI for the new token.
setScheduleDropMintTime
setScheduleDropMintTimeSets the start and end time for scheduled drops.
Parameters
_startDropTime
uint256
Start time for the drop.
_endDropTime
uint256
End time for the drop.
scheduledDropMint
scheduledDropMintMints a token during a scheduled drop.
Parameters
uri
string
URI for the new token.
updateTokenURI
updateTokenURIUpdates the URI of a specific token.
Parameters
tokenId
uint256
ID of the token to update.
uri
string
New URI for the token.
airdropNFTs
airdropNFTsDistributes tokens to a list of recipients.
Parameters
recipients
address[]
Array of recipient addresses.
uris
string[]
URIs for each token to be airdropped.
addToWhitelist
addToWhitelistManages the whitelist for pre-sale and other privileged activities.
Parameters
accounts
address[]
Addresses to be added or removed from the whitelist.
removeFromWhitelist
removeFromWhitelistManages the whitelist for pre-sale and other privileged activities.
Parameters
accounts
address[]
Addresses to be added or removed from the whitelist.
whitelistMint
whitelistMintMints a token for a whitelisted address.
Parameters
uri
string
URI for the new token.
isWhitelisted
isWhitelistedChecks if an address is on the whitelist.
Parameters
account
address
Address to check.
Returns
whitelisted
bool
Indicates if the address is whitelisted.
setTokenUri
setTokenUriSets the URI for a specific token. Restricted to the contract owner.
Parameters
tokenId
uint256
Token ID.
uri
string
New URI for the token.
pause
pauseToggles the paused state of the contract.
unpause
unpauseToggles the paused state of the contract.
tokenURI
tokenURIRetrieves the URI for a specific token.
Parameters
tokenId
uint256
Token ID.
Returns
URI
string
URI of the specified token.
setTwitterProfile
setTwitterProfileSets the Twitter profile link for the contract.
Parameters
_twitterProfile
string
URL of the Twitter profile.
setTelegramChannel
setTelegramChannelSets the Telegram channel link for the contract.
Parameters
_telegramChannel
string
URL of the Telegram channel.
setWebsiteURL
setWebsiteURLSets the website URL for the contract.
Parameters
_websiteURL
string
URL of the website.
Last updated