# Pass Contract

## Purpose

`Pass` extends from `ERC721` (an OpenZeppelin implementation of the ERC721 standard for NFTs), [`AffiliateMember`](/smartcontracts-description/pass-contract/affiliate-member.md), and `ReentrancyGuard`. Its main functionality is to mint NFT passes for members of the affiliate system, ensuring unique ownership and adherence to specific conditions set by the affiliate system.

The Pass NFT is a soulbound (non-transferable and non-burnable) token that acts as a permanent membership card. It is mandatory for betting, depositing, and inviting others.

## Functions Summary

| Function                    | Access                  | Description                                                         |
| --------------------------- | ----------------------- | ------------------------------------------------------------------- |
| Constructor                 | Constructor             | Sets up the ERC721 token name, symbol, and admin role.              |
| `mint`                      | External / NonReentrant | Mints a new pass for a member, ensuring various conditions are met. |
| `disableMint`, `enableMint` | Public                  | Allows a member to disable or enable minting for their account.     |


---

# 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.celestium.digital/smartcontracts-description/pass-contract.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.
