Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
OrdinalDoodles Doodle Auction
copy icon
ERC721
NFT
ERC721A

OrdinalDoodles Doodle Auction

OrdinalDoodles.sol is a smart contract that allows users to mint unique and rare digital art pieces, providing a decentralized and secure platform for artists and collectors to interact and trade. (autogenerated description)

*Visit desktop site to download or deploy

Last Publish

3/17/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
approve(address,uint256) :
See {IERC721-approve}.
balanceOf(address) :
See {IERC721-balanceOf}.
getApproved(uint256) :
See {IERC721-getApproved}.
isApprovedForAll(address,address) :
See {IERC721-isApprovedForAll}.
name() :
See {IERC721Metadata-name}.
owner() :
Returns the address of the current owner.
ownerOf(uint256) :
See {IERC721-ownerOf}.
renounceOwnership() :
Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
safeTransferFrom(address,address,uint256) :
See {IERC721-safeTransferFrom}.
safeTransferFrom(address,address,uint256,bytes) :
See {IERC721-safeTransferFrom}.
setApprovalForAll(address,bool) :
See {IERC721-setApprovalForAll}.
supportsInterface(bytes4) :
See {IERC165-supportsInterface}.
symbol() :
See {IERC721Metadata-symbol}.
tokenURI(uint256) :
See {IERC721Metadata-tokenURI}.
totalSupply() :
Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
transferFrom(address,address,uint256) :
See {IERC721-transferFrom}.
transferOwnership(address) :
Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
updateFreeMintCount(address,uint256) :
This function updates the free mint count for a specific minter by adding the provided count to their existing count. (autogenerated documentation)
_baseURI() :
This function returns the base URI for the contract, which is a string used to construct the unique URI for each token. (autogenerated documentation)
setPrice(uint256) :
This function sets a custom price for a product/service and can only be called by the owner of the contract. (autogenerated documentation)
lowerMaxSupply(uint256) :
This function lowers the maximum supply of a token and checks if the new value is valid. Only the owner can call this function. (autogenerated documentation)
setBaseURI(string) :
This function sets a custom base URI for metadata and can only be called by the contract owner. (autogenerated documentation)
setFreeMintAllowance(uint256) :
This function sets the maximum number of free tokens that can be minted per wallet and can only be called by the contract owner. (autogenerated documentation)
setMaxMintPerTx(uint256) :
This function sets the maximum amount of tokens that can be minted per transaction and can only be called by the contract owner. (autogenerated documentation)
setSaleActive(bool) :
This function sets the sale active status to a boolean value, only accessible by the contract owner. (autogenerated documentation)
setFreeMintAllowedUntil(uint256) :
This function sets the deadline for allowing free minting of tokens and can only be called by the contract owner. (autogenerated documentation)
freezeMetadata() :
This function freezes the metadata and prevents any further changes. Only the owner can call this function. (autogenerated documentation)
mint(uint256) :
This function mints new tokens for a given amount, deducts free mint allowance if applicable, and checks if the sale is active and if the user has sufficient funds to pay for the tokens. (autogenerated documentation)
mintOwner(address,uint256) :
This function mints new tokens and assigns them to the owner's address, with a specified amount. It uses a modifier to ensure compliance with minting rules. (autogenerated documentation)
withdraw() :
This function withdraws the contract's balance and sends it to payoutAddress1 using the sendValue method. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i OrdinalDoodles
copy icon

Bytecode

Download

Verification

Download

Last Publish

3/17/2023

Solidity Compiler

v0.8.17+commit.8df45f5f

Version

1.0.0

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.