This is the Freemium contract.
Example: ERC-721Junior here.
<aside> 👨🏻‍🍳 Note: “Read Contract” on Etherscan allows the user to view or query pertinent information about the current state of the contract. ”Write Contract” is where the user is able to interact with blockchain itself on the contract level, in order to manipulate its state and behavior.
</aside>
Read Contract Function | Purpose |
---|---|
PROVENANCE | View the Provenance hash of a contract to verify authenticity |
allowListMintPrice | View the price for allowlist mints |
balanceOf | Query the token balance of any wallet |
baseURI | View the base URI where the NFT data is stored on IPFS |
currency | The contract address for the token used to mint an NFT from the contract |
getApproved | Internal ERC-721 function |
hashMessage | Internal ERC-721 utility |
isApprovedForAll | Queries if a token is approved to be used with this contract for this address |
maxAllowedMints | Maximum number of allowed mints per wallet |
maxPossibleSupply | Total max possible token supply |
mintPrice | Price for public mint |
mintStatus | 0-3 integer displaying the current status of the mint (0:Mint not live, 1:Premint Enabled, 2:Allowlist Enabled, 3:Public mint live, 4:Mint finished) |
name | Contract name |
nextOwnerToExplicitlySet | Internal ERC-721 function |
owner | When queried, will show the owner of the contract |
ownerOf | Allows you to query a token ID and get back the owner of the token |
paused | True/false if the contract is paused |
supportsinterface | Contract compatibility, if a contract can query another contract to show it supports ERC-721 |
symbol | Ticker symbol for token contract |
tokenByIndex | ERC-721 function that takes index and returns token ID |
tokenOfOwnerByIndex | ERC-721 function that takes index and returns ID of owner |
tokenURI | Shows IPFS location of a specific token |
totalMintsPerAddress | Query an address and find out the total mints it is allowed |
totalSupply | Current total supply of token |
Write Contract Function | Purpose |
---|---|
approve | Approve token for interacting with the contract |
changeMintStatus | Enter an integer (0,1,2,3,4) to change the current status of the mint |
flipPaused | Used to pause and unpause minting from the contract |
mintAllowList | Used to mint if your address is on the allowlist |
mintPublic | Used to public mint |
renounceOwnership | Called when the contract owner wants to renounce their ownership of the contract |
safeTransferFrom | Transfer a token from one account to another |
setApprovalForAll | Approve contract interaction for all tokens held by this address |
setBaseURI | Sets the location where the image data and metadata can be found in a decentralized file storage |
setProvenanceHash | Sets the hash that proves you created this contract at this specific time and place |
transferFrom | Transfer a token from one account to another with a field for additional bytecode |
transferOwnership | Transfer contract ownership from one account to another |
withdraw | Withdraw the default contract currency from the contract |
withdrawTokens | Withdraw tokens from the contract |