relevant tag icon
Simple ERC1155 NFT
copy icon
Cookbook
• version 1.0.7
NFT
ERC1155
Deployable

Simple ERC1155 NFT

ERC1155 NFT, the basic standard multi-token, with the following features: -Create multiple NFT collections with the same contract.

*Visit desktop site to download or deploy

Version

1.0.7

Creator

Cookbook

Recent Use

🍞 0x8597 deployed
🥐 0xFd1b deployed
🥖 0x77eA downloaded
🥨 0x362b saved

Last Publish

9/6/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
balanceOf(address,uint256) :
See {IERC1155-balanceOf}. Requirements: - `account` cannot be the zero address.
balanceOfBatch(address[],uint256[]) :
See {IERC1155-balanceOfBatch}. Requirements: - `accounts` and `ids` must have the same length.
exists(uint256) :
Indicates whether any token exist with a given id, or not.
isApprovedForAll(address,address) :
See {IERC1155-isApprovedForAll}.
mint(address,uint256,uint256,bytes) :
A method for the owner to mint new ERC1155 tokens.
mintBatch(address,uint256[],uint256[],bytes) :
A method for the owner to mint a batch of new ERC1155 tokens.
owner() :
Returns the address of the current owner.
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.
safeBatchTransferFrom(address,address,uint256[],uint256[],bytes) :
See {IERC1155-safeBatchTransferFrom}.
safeTransferFrom(address,address,uint256,uint256,bytes) :
See {IERC1155-safeTransferFrom}.
setApprovalForAll(address,bool) :
See {IERC1155-setApprovalForAll}.
setURI(string) :
Updates the base URI that will be used to retrieve metadata.
supportsInterface(bytes4) :
See {IERC165-supportsInterface}.
totalSupply(uint256) :
Total amount of tokens in with a given id.
transferOwnership(address) :
Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
uri(uint256) :
See {IERC1155MetadataURI-uri}. This implementation returns the same URI for *all* token types. It relies on the token type ID substitution mechanism https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. Clients calling this function must replace the `\{id\}` substring with the actual token type ID.

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i simple-multi-collection-nft
copy icon

Bytecode

Download

Verification

Download

Recent Use

🍞 0x8597 deployed
🥐 0xFd1b deployed
🥖 0x77eA downloaded
🥨 0x362b saved

Last Publish

9/6/2022

Solidity Compiler

0.8.12+commit.f00d7308

Version

1.0.7

Creator

Cookbook

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