📌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
burn
Burns a specific token.
Parameters
Name | Type | Description |
---|---|---|
_tokenId | uint256 | ID of the token to burn. |
mint
mint
Mints a new token.
Parameters
Name | Type | Description |
---|---|---|
_issuee | address | Recipient of the new token. |
_uri | string | URI for the new token. |
preSaleIssue
preSaleIssue
Mints a token during the pre-sale period for whitelisted addresses.
Parameters
Name | Type | Description |
---|---|---|
uri | string | URI for the new token. |
perWalletPreSaleIssue
perWalletPreSaleIssue
Mints a token during pre-sale with per-wallet limits for whitelisted addresses.
Parameters
Name | Type | Description |
---|---|---|
uri | string | URI for the new token. |
setScheduleDropMintTime
setScheduleDropMintTime
Sets the start and end time for scheduled drops.
Parameters
Name | Type | Description |
---|---|---|
_startDropTime | uint256 | Start time for the drop. |
_endDropTime | uint256 | End time for the drop. |
scheduledDropMint
scheduledDropMint
Mints a token during a scheduled drop.
Parameters
Name | Type | Description |
---|---|---|
uri | string | URI for the new token. |
updateTokenURI
updateTokenURI
Updates the URI of a specific token.
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | ID of the token to update. |
uri | string | New URI for the token. |
airdropNFTs
airdropNFTs
Distributes tokens to a list of recipients.
Parameters
Name | Type | Description |
---|---|---|
recipients | address[] | Array of recipient addresses. |
uris | string[] | URIs for each token to be airdropped. |
addToWhitelist
addToWhitelist
Manages the whitelist for pre-sale and other privileged activities.
Parameters
Name | Type | Description |
---|---|---|
accounts | address[] | Addresses to be added or removed from the whitelist. |
removeFromWhitelist
removeFromWhitelist
Manages the whitelist for pre-sale and other privileged activities.
Parameters
Name | Type | Description |
---|---|---|
accounts | address[] | Addresses to be added or removed from the whitelist. |
whitelistMint
whitelistMint
Mints a token for a whitelisted address.
Parameters
Name | Type | Description |
---|---|---|
uri | string | URI for the new token. |
isWhitelisted
isWhitelisted
Checks if an address is on the whitelist.
Parameters
Name | Type | Description |
---|---|---|
account | address | Address to check. |
Returns
Name | Type | Description |
---|---|---|
whitelisted | bool | Indicates if the address is whitelisted. |
setTokenUri
setTokenUri
Sets the URI for a specific token. Restricted to the contract owner.
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID. |
uri | string | New URI for the token. |
pause
pause
Toggles the paused state of the contract.
unpause
unpause
Toggles the paused state of the contract.
tokenURI
tokenURI
Retrieves the URI for a specific token.
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID. |
Returns
Name | Type | Description |
---|---|---|
URI | string | URI of the specified token. |
setTwitterProfile
setTwitterProfile
Sets the Twitter profile link for the contract.
Parameters
Name | Type | Description |
---|---|---|
_twitterProfile | string | URL of the Twitter profile. |
setTelegramChannel
setTelegramChannel
Sets the Telegram channel link for the contract.
Parameters
Name | Type | Description |
---|---|---|
_telegramChannel | string | URL of the Telegram channel. |
setWebsiteURL
setWebsiteURL
Sets the website URL for the contract.
Parameters
Name | Type | Description |
---|---|---|
_websiteURL | string | URL of the website. |
Last updated