# Smart-Contracts

Core of our products is three smart contraсts:

### **Marketplace Contract**

Designed to support the operations of our marketplace. It facilitates both direct sales and auctions. Additionally, the contract deducts a percentage `N_TANPIN%` as a commission from each sale, directing it to the project development pool.&#x20;

Moreover, it empowers creators and game owners to embed royalties, earning a percentage `N_GAME_OWNER%` from each secondary market resale.

Our Marketplace contract facilitates decentralized and secure transactions, allowing users to buy, sell, and participate in auctions for NFTs.

### Other contracts

**ERC20** standard for Tanpin Token. Includes the permit. This function enhances the user experience by simplifying token approvals, providing a seamless process for transactions.

**ERC1155** standard for NFT, allowing us to work with both individual NFTs and entire groups. Examples of individual NFTs include unique vehicles, multiple in-game resources like trees and metals, etc.&#x20;

It also includes the implementation of a `total_supply` option. During the initial mint, total\_supply is set, serving as the maximum possible value for the issued NFTs.


---

# 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://whitepaper.tanpin.io/technical-insights/smart-contracts.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.
