Untitled
<aside>
💡 Overview
How to Use
Input Parameters
Function
Events
Code
</aside>
How to Use
To interact with the Doodles contract, users can perform the following operations:
- If the user is on the allow list, they can mint a specified number of tokens by calling the
mintAllowList
function and sending the required amount of Ether.
- During the public sale, users can mint a limited number of tokens by calling the
mint
function and sending the required amount of Ether.
- Users can view the number of tokens available for them to mint by calling the
numAvailableToMint
function.
- Token owners can approve another address to manage their tokens by calling the
approve
function.
- Token owners can transfer their tokens to another address by calling the
transferFrom
or safeTransferFrom
functions.
- Users can query various information about the contract and tokens, such as the total supply, token URI, and owner of a specific token.
The contract owner has additional capabilities, including:
- Activating or deactivating the allow list by calling the
setIsAllowListActive
function.
- Adding or updating addresses on the allow list by calling the
setAllowList
function.
- Reserving a specified number of tokens by calling the
reserve
function.
- Updating the base URI for token metadata by calling the
setBaseURI
function.
- Setting the provenance of the NFT collection by calling the
setProvenance
function.
- Starting or stopping the public sale by calling the
setSaleState
function.
- Withdrawing the Ether balance of the contract by calling the
withdraw
function.
<aside>
🚀 Sign Up to Decipher Waitlist! And be among the first to try it
</aside>
<aside>
💁♀️ This document was generated by DeCipher from the Doodle smart contract source code.
</aside>