# ERC721A

## Overview

This contract, an extension of ERC721A, introduces a system with a maximum mint limit, total supply cap, and a variable mint rate. It's designed to manage NFT minting in a more efficient and controlled manner, leveraging the efficiency of ERC721A with additional features for supply and rate management.

## Methods

## <mark style="color:blue;">`mint`</mark>

Mints a specified quantity of NFTs.

```solidity
function mint(uint256 quantity) external payable { }
```

### Parameters

| Name     | Type    | Description               |
| -------- | ------- | ------------------------- |
| quantity | uint256 | Number of tokens to mint. |

## <mark style="color:blue;">`withdraw`</mark>

Allows the contract owner to withdraw the contract's balance.

```solidity
function withdraw() external payable onlyOwner { }
```

## <mark style="color:blue;">`setMintRate`</mark>

Sets the rate at which tokens are minted.

```solidity
function setMintRate(uint256 _mintRate) public onlyOwner { }
```

### Parameters

| Name       | Type    | Description                   |
| ---------- | ------- | ----------------------------- |
| \_mintRate | uint256 | The new mint rate for tokens. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.volary.io/template-library/smart-contracts/erc721a.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
