📌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

Burns a specific token.

Parameters

NameTypeDescription

_tokenId

uint256

ID of the token to burn.

mint

Mints a new token.

Parameters

NameTypeDescription

_issuee

address

Recipient of the new token.

_uri

string

URI for the new token.

preSaleIssue

Mints a token during the pre-sale period for whitelisted addresses.

Parameters

NameTypeDescription

uri

string

URI for the new token.

perWalletPreSaleIssue

Mints a token during pre-sale with per-wallet limits for whitelisted addresses.

Parameters

NameTypeDescription

uri

string

URI for the new token.

setScheduleDropMintTime

Sets the start and end time for scheduled drops.

Parameters

NameTypeDescription

_startDropTime

uint256

Start time for the drop.

_endDropTime

uint256

End time for the drop.

scheduledDropMint

Mints a token during a scheduled drop.

Parameters

NameTypeDescription

uri

string

URI for the new token.

updateTokenURI

Updates the URI of a specific token.

Parameters

NameTypeDescription

tokenId

uint256

ID of the token to update.

uri

string

New URI for the token.

airdropNFTs

Distributes tokens to a list of recipients.

Parameters

NameTypeDescription

recipients

address[]

Array of recipient addresses.

uris

string[]

URIs for each token to be airdropped.

addToWhitelist

Manages the whitelist for pre-sale and other privileged activities.

Parameters

NameTypeDescription

accounts

address[]

Addresses to be added or removed from the whitelist.

removeFromWhitelist

Manages the whitelist for pre-sale and other privileged activities.

Parameters

NameTypeDescription

accounts

address[]

Addresses to be added or removed from the whitelist.

whitelistMint

Mints a token for a whitelisted address.

Parameters

NameTypeDescription

uri

string

URI for the new token.

isWhitelisted

Checks if an address is on the whitelist.

Parameters

NameTypeDescription

account

address

Address to check.

Returns

NameTypeDescription

whitelisted

bool

Indicates if the address is whitelisted.

setTokenUri

Sets the URI for a specific token. Restricted to the contract owner.

Parameters

NameTypeDescription

tokenId

uint256

Token ID.

uri

string

New URI for the token.

pause

Toggles the paused state of the contract.

unpause

Toggles the paused state of the contract.

tokenURI

Retrieves the URI for a specific token.

Parameters

NameTypeDescription

tokenId

uint256

Token ID.

Returns

NameTypeDescription

URI

string

URI of the specified token.

setTwitterProfile

Sets the Twitter profile link for the contract.

Parameters

NameTypeDescription

_twitterProfile

string

URL of the Twitter profile.

setTelegramChannel

Sets the Telegram channel link for the contract.

Parameters

NameTypeDescription

_telegramChannel

string

URL of the Telegram channel.

setWebsiteURL

Sets the website URL for the contract.

Parameters

NameTypeDescription

_websiteURL

string

URL of the website.

Last updated