Request form
Simple ERC1155 NFT
  • NFT
  • ERC1155
  • No-Code Deploy
  • Docs
    Source
    ChefGPT

    Simple ERC1155 NFT

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

    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.
    simple-multi-collection-nft.sol
    ERC1155.sol
    Ownable.sol
    Pausable.sol
    ERC1155Burnable.sol
    ERC1155Supply.sol
    IERC1155.sol
    IERC1155Receiver.sol
    IERC1155MetadataURI.sol
    Address.sol
    Context.sol
    ERC165.sol
    IERC165.sol
    ABI:
    Bytecode:

    22 downloads

    Solidity Version

    0.8.12

    Creator

    Cookbook
    Cookbook / Simple ERC1155 NFT
  • NFT
  • ERC1155
  • No-Code Deploy
  • Docs
    Source
    ChefGPT
    Expand
    Share

    Simple ERC1155 NFT

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

    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.
    simple-multi-collection-nft.sol
    ERC1155.sol
    Ownable.sol
    Pausable.sol
    ERC1155Burnable.sol
    ERC1155Supply.sol
    IERC1155.sol
    IERC1155Receiver.sol
    IERC1155MetadataURI.sol
    Address.sol
    Context.sol
    ERC165.sol
    IERC165.sol
    ABI:
    Bytecode:

    Get Cookin'
    star icon22

    22 downloads

    Solidity Version

    0.8.12

    Creator

    Cookbook