📌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

Name
Type
Description

_tokenId

uint256

ID of the token to burn.

mint

Mints a new token.

Parameters

Name
Type
Description

_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

Name
Type
Description

uri

string

URI for the new token.

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

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

Mints a token during a scheduled drop.

Parameters

Name
Type
Description

uri

string

URI for the new token.

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

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

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

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

Mints a token for a whitelisted address.

Parameters

Name
Type
Description

uri

string

URI for the new token.

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

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

Toggles the paused state of the contract.

unpause

Toggles the paused state of the contract.

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

Sets the Twitter profile link for the contract.

Parameters

Name
Type
Description

_twitterProfile

string

URL of the Twitter profile.

setTelegramChannel

Sets the Telegram channel link for the contract.

Parameters

Name
Type
Description

_telegramChannel

string

URL of the Telegram channel.

setWebsiteURL

Sets the website URL for the contract.

Parameters

Name
Type
Description

_websiteURL

string

URL of the website.

Last updated