This is the premiere contract of the Omakasea platform and Premium membership.

Example: ERC-721DAO contract 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
daoDelegate The contract address that acts as a DAO delegate and enables voting/contract interaction
getAllVotings Returns all current proposals in the DAO
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
isDao Boolean T/F for if the contract has been converted to a DAO
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
percentToVote Shows the percent needed to pass a vote
percentToVoteFrozen Boolean statement on whether or not the percent to pass a vote can be changed
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
votingDuration Amount of time that a vote will stay open before closing
votingDurationFrozen Whether or not you can change the duration of the voting period
votings Alternative way to access all proposals
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
permanentlyConvertToDao When this is called, the contract ownership is transferred to the DAO, allowing it to own itself
preMint Function allowing contract owner to mint before enabling presale and 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
setDaoDelegate This is where the DAO delegate contract is set and it is upgradable in case you want to use a different contract than our DAO delegate
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