# UpgradableNFTContract

## Overview

`UpgradeableNFTContract` utilizes OpenZeppelin's upgradeable contract patterns, providing an ERC721 NFT contract that can be upgraded post-deployment.

## Methods

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

Initializes the contract with a name and symbol for the NFT collection.

### Parameters

| Name      | Type     | Description                   |
| --------- | -------- | ----------------------------- |
| `_name`   | `string` | Name of the NFT collection.   |
| `_symbol` | `string` | Symbol of the NFT collection. |

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

Mints a new NFT to a specified address.

### Parameters

| Name | Type      | Description                       |
| ---- | --------- | --------------------------------- |
| `to` | `address` | Recipient address of the new NFT. |


---

# 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/upgradablenftcontract.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.
