Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
OrdinalJPGFace Ordinal JPG Face Generator
copy icon
ERC721
NFT
ERC721A
Royalty

OrdinalJPGFace Ordinal JPG Face Generator

OrdinalJPGFace is a unique NFT project that allows users to mint one-of-a-kind JPG faces with ordinal numbers, creating a collectible and exclusive digital art piece. (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
balanceOf(address) :
Returns the number of tokens in `owner`'s account.
getApproved(uint256) :
Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.
isApprovedForAll(address,address) :
Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}.
name() :
Returns the token collection name.
owner() :
Returns the address of the current owner.
ownerOf(uint256) :
Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.
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.
royaltyInfo(uint256,uint256) :
Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
safeTransferFrom(address,address,uint256) :
Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
setApprovalForAll(address,bool) :
Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.
symbol() :
Returns the token collection symbol.
tokenURI(uint256) :
Returns the Uniform Resource Identifier (URI) for `tokenId` token.
totalSupply() :
Returns the total number of tokens in existence. Burned tokens will reduce the count. To get the total number of tokens minted, please see {_totalMinted}.
transferFrom(address,address,uint256) :
Transfers `tokenId` from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.
transferOwnership(address) :
Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
publicMint(uint256) :
This function allows users to mint a specified quantity of tokens at a set price during the public sale phase, with optional signature verification. (autogenerated documentation)
publicMintWithoutSignature(uint256) :
This function allows the public to mint tokens without a signature, as long as they meet certain conditions such as quantity and price. (autogenerated documentation)
reserve(address,uint256) :
This function mints new tokens and sends them to a specified address, as long as the total supply does not exceed the maximum limit. (autogenerated documentation)
verifySignature(string) :
This function verifies a signature by recovering the signer's address from a hashed message and compares it to a stored address. (autogenerated documentation)
numberMinted(address) :
This function returns the number of tokens minted for a given account. It simply calls the internal function _numberMinted. (autogenerated documentation)
_startTokenId() :
This function returns the starting token ID for a contract and is implemented as an internal pure override function. (autogenerated documentation)
_baseURI() :
This function returns the base URI for the token metadata. It is an internal view function that overrides the baseURI function. (autogenerated documentation)
contractURI() :
This function returns the URI for the contract metadata. It is a read-only function that does not modify the contract state. (autogenerated documentation)
supportsInterface(bytes4) :
This function checks if the contract supports a given interface by calling the supportsInterface functions of ERC721A and ERC2981. (autogenerated documentation)
requestRandomStartingIndex() :
This function requests a random starting index for a collection and stores the request ID for later use. (autogenerated documentation)
fulfillRandomWords(uint256,uint256[]) :
This function fulfills a request for random words by setting a starting index based on the input, and marking the request as fulfilled. (autogenerated documentation)
getRequestStatus(uint256) :
This function returns the status of a request, including payment amount, fulfillment status, and an array of random words. (autogenerated documentation)
setSignerAddress(address) :
This function sets the signer address and checks if it's not zero. Only the contract owner can call it. (autogenerated documentation)
setSignatureEnable(bool) :
This function sets a boolean variable to enable or disable signature functionality, and can only be called by the contract owner. (autogenerated documentation)
setBaseTokenURI(string) :
This function sets the base URI for token metadata. It can only be called by the contract owner. (autogenerated documentation)
setContractMetadataURI(string) :
This function sets the metadata URI for the contract and can only be called by the contract owner. (autogenerated documentation)
setWithdrawAddress(address) :
This function sets the withdraw address for the contract owner. It checks if the address is not zero and then sets it. (autogenerated documentation)
setWithdrawLinkAddress(address) :
This function sets the withdrawal link address and checks if it's not a zero address. Only the owner can call it. (autogenerated documentation)
setRoyaltyInfo(uint96) :
This function sets the royalty percentage for a specific address and ensures it is not set to a zero address. (autogenerated documentation)
setSaleState(uint256) :
This function sets the sale state to a specified value and emits an event. Only the contract owner can call it. (autogenerated documentation)
setProvenanceHash(string) :
This function sets the provenance hash for the contract and can only be called by the contract owner. (autogenerated documentation)
setMaxSupply(uint256) :
This function sets the maximum supply of a token and can only be called by the owner of the contract. (autogenerated documentation)
setPublicMintPrice(uint256) :
This function sets the price for public minting and can only be called by the contract owner. (autogenerated documentation)
setPublicLimit(uint256) :
This function sets the public limit for a certain action and can only be called by the contract owner. (autogenerated documentation)
withdraw() :
This function withdraws the contract's balance to a specified address using a low-level call function. (autogenerated documentation)
withdrawLink() :
This function withdraws all LINK tokens from the contract and transfers them to the contract owner's address. (autogenerated documentation)
setApprovalForAll(address,bool) :
This function sets the approval status for an operator to manage all tokens owned by the sender. It calls the parent function. (autogenerated documentation)
approve(address,uint256) :
This function approves an operator to manage a specific token by calling the parent function and checking for operator approval. (autogenerated documentation)
transferFrom(address,address,uint256) :
This function transfers a token from one address to another, with permission from the current owner. It checks if the caller is an allowed operator. (autogenerated documentation)
safeTransferFrom(address,address,uint256) :
This function transfers a token from one address to another, while ensuring that the operator is authorized to do so. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i OrdinalJPGFace
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.