_baseURI() :
This function returns the baseURI of the contract. The baseURI is a string that is used to identify the contract and is set when the contract is deployed. It is an internal view function, meaning that it can be accessed from within the contract, but not from outside. It is also a virtual override, meaning that it can be overridden by a derived contract. (autogenerated documentation)
mint(uint256) :
This function allows the owner of the contract to mint a certain amount of Non-Fungible Tokens (NFTs). It requires that the contract is not paused, that the amount of NFTs to be minted is greater than 0, that the amount of NFTs to be minted does not exceed the maximum mint amount per session, and that the total supply of NFTs does not exceed the maximum supply. If the sender is not the owner, it also requires that the sender is whitelisted, that the sender has not exceeded the maximum NFTs per address limit, and that the sender has sent enough funds to cover the cost of the NFTs. Finally, it calls the _safeMint (autogenerated documentation)
isWhitelisted(address) :
This function checks if a given address is whitelisted. It takes an address as an argument and returns a boolean value. It does this by looping through an array of whitelisted addresses and checking if the given address matches any of the addresses in the array. If it does, it returns true, otherwise it returns false. (autogenerated documentation)
walletOfOwner(address) :
This function returns an array of uint256 values that represent the token IDs owned by a given address. It does this by first getting the number of tokens owned by the address using the balanceOf() function, then looping through each token and adding the token ID to the array using the tokenOfOwnerByIndex() function. (autogenerated documentation)
tokenURI(uint256) :
This function returns a URI for a given tokenId. It first checks if the tokenId exists, and if it does, it checks if the token has been revealed. If the token has been revealed, it returns a URI composed of the baseURI, the tokenId, and the baseExtension. If the token has not been revealed, it returns the notRevealedUri. (autogenerated documentation)
reveal() :
This function allows the owner of the contract to set the boolean variable "revealed" to true. This can be used to reveal the contents of a contract, such as the address of the owner, or any other information that was previously hidden. (autogenerated documentation)
setNftPerAddressLimit(uint256) :
This function sets the maximum number of NFTs that can be owned by a single address. It is only accessible to the contract owner, and takes a uint256 value as an argument. This value is then stored in the nftPerAddressLimit variable. (autogenerated documentation)
setCost(uint256) :
This function allows the owner of the contract to set the cost of the contract. It takes in a uint256 value as an argument and sets the cost of the contract to that value. (autogenerated documentation)
setmaxMintAmount(uint256) :
This function allows the owner of the contract to set the maximum amount of tokens that can be minted. It takes in a uint256 value as an argument and sets the maxMintAmount variable to that value. This ensures that the total supply of tokens does not exceed the maximum amount set by the owner. (autogenerated documentation)
setBaseURI(string) :
This function allows the owner of the contract to set a new base URI. The base URI is a string that is stored in the contract's memory and is used to identify the contract. The function takes in a string as an argument and sets the baseURI variable to the new string. (autogenerated documentation)
setBaseExtension(string) :
This function allows the owner of the contract to set a new base extension for the contract. The base extension is a string that is used to identify the contract. The function takes in a string memory as an argument and sets the baseExtension variable to the value of the argument. (autogenerated documentation)
setNotRevealedURI(string) :
This function allows the owner of the contract to set the notRevealedUri variable to a given string. This variable is used to store a URI that is not revealed to the public. (autogenerated documentation)
pause(bool) :
This function allows the owner of the contract to pause or unpause the contract. When the contract is paused, no further transactions can be made. The function takes a boolean parameter, which is used to set the paused state of the contract. If the parameter is set to true, the contract is paused, and if it is set to false, the contract is unpaused. (autogenerated documentation)
setOnlyWhitelisted(bool) :
This function allows the owner of the contract to set a boolean value that determines whether or not only whitelisted addresses can interact with the contract. If the boolean is set to true, only whitelisted addresses can interact with the contract, and if it is set to false, anyone can interact with the contract. (autogenerated documentation)
whitelistUsers() :
This function allows the owner of the contract to whitelist a list of users. It takes an array of addresses as an argument and sets the whitelistedAddresses variable to the array of addresses. This allows the owner to control who can interact with the contract. (autogenerated documentation)
withdraw() :
This function allows the owner of the contract to withdraw funds from the contract. It does this by first calling the payable function of the address 0x943590A42C27D08e3744202c4Ae5eD55c2dE240D with 5% of the balance of the contract. If this call is successful, it then calls the payable function of the owner with the remaining balance of the contract. If this call is successful, the owner can withdraw the funds. (autogenerated documentation)