Request form
Azuki ERC721A NFT Sale
  • ERC721
  • NFT
  • ERC721A
  • No-Code Deploy
  • Docs
    Source
    ChefGPT

    Azuki ERC721A NFT Sale

    This smart contract is an extension of the ERC721A standard. It allows users to purchase and mint NFTs, with a maximum supply and wallet limit. The owner can reserve NFTs, withdraw proceeds, and control the sale's activity, price, and wallet limit. It also enables the owner to update the base URI for NFT metadata.

    approve(address,uint256) :
    See {IERC721-approve}.
    balanceOf(address) :
    See {IERC721-balanceOf}.
    getApproved(uint256) :
    See {IERC721-getApproved}.
    isApprovedForAll(address,address) :
    See {IERC721-isApprovedForAll}.
    mint(uint256) :
    An external method for users to purchase and mint NFTs. Requires that the sale is active, that the minted NFTs will not exceed the `MAX_SUPPLY`, and that a sufficient payable value is sent.
    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. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.
    reserve(address,uint256) :
    A way for the owner to reserve a specifc number of NFTs without having to interact with the sale.
    safeTransferFrom(address,address,uint256) :
    See {IERC721-safeTransferFrom}.
    safeTransferFrom(address,address,uint256,bytes) :
    See {IERC721-safeTransferFrom}.
    setApprovalForAll(address,bool) :
    See {IERC721-setApprovalForAll}.
    setBaseURI(string) :
    Updates the baseURI that will be used to retrieve NFT metadata.
    setCurrentPrice(uint256) :
    Sets the price of each NFT during the initial sale.
    setSaleIsActive(bool) :
    Sets whether or not the NFT sale is active.
    setWalletLimit(uint256) :
    Sets the maximum number of NFTs that can be sold to a specific address.
    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.
    withdraw() :
    A way for the owner to withdraw all proceeds from the sale.
    ERC721a-limited.sol
    Ownable.sol
    Context.sol
    ERC721Enumerable.sol
    ERC721.sol
    IERC721.sol
    IERC165.sol
    IERC721Receiver.sol
    IERC721Metadata.sol
    Address.sol
    Strings.sol
    Math.sol
    SignedMath.sol
    ERC165.sol
    IERC721Enumerable.sol
    ERC721A.sol
    ABI:
    Bytecode:

    471 downloads

    Solidity Version

    0.8.10

    Creator

    Chiru-Labs
    Chiru-Labs / Azuki ERC721A NFT Sale
  • ERC721
  • NFT
  • ERC721A
  • No-Code Deploy
  • Source
    ChefGPT
    Expand
    Share

    Azuki ERC721A NFT Sale

    This smart contract is an extension of the ERC721A standard. It allows users to purchase and mint NFTs, with a maximum supply and wallet limit. The owner can reserve NFTs, withdraw proceeds, and control the sale's activity, price, and wallet limit. It also enables the owner to update the base URI for NFT metadata.

    approve(address,uint256) :
    See {IERC721-approve}.
    balanceOf(address) :
    See {IERC721-balanceOf}.
    getApproved(uint256) :
    See {IERC721-getApproved}.
    isApprovedForAll(address,address) :
    See {IERC721-isApprovedForAll}.
    mint(uint256) :
    An external method for users to purchase and mint NFTs. Requires that the sale is active, that the minted NFTs will not exceed the `MAX_SUPPLY`, and that a sufficient payable value is sent.
    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. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.
    reserve(address,uint256) :
    A way for the owner to reserve a specifc number of NFTs without having to interact with the sale.
    safeTransferFrom(address,address,uint256) :
    See {IERC721-safeTransferFrom}.
    safeTransferFrom(address,address,uint256,bytes) :
    See {IERC721-safeTransferFrom}.
    setApprovalForAll(address,bool) :
    See {IERC721-setApprovalForAll}.
    setBaseURI(string) :
    Updates the baseURI that will be used to retrieve NFT metadata.
    setCurrentPrice(uint256) :
    Sets the price of each NFT during the initial sale.
    setSaleIsActive(bool) :
    Sets whether or not the NFT sale is active.
    setWalletLimit(uint256) :
    Sets the maximum number of NFTs that can be sold to a specific address.
    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.
    withdraw() :
    A way for the owner to withdraw all proceeds from the sale.
    ERC721a-limited.sol
    Ownable.sol
    Context.sol
    ERC721Enumerable.sol
    ERC721.sol
    IERC721.sol
    IERC165.sol
    IERC721Receiver.sol
    IERC721Metadata.sol
    Address.sol
    Strings.sol
    Math.sol
    SignedMath.sol
    ERC165.sol
    IERC721Enumerable.sol
    ERC721A.sol
    ABI:
    Bytecode:

    Get Cookin'
    star icon471

    471 downloads

    Solidity Version

    0.8.10

    Creator

    Chiru-Labs