# Smart Contracts

## Legacy Smart Contracts that are a part of the 4thTech OCC Protocol v.1;

> `[Mails]` - used for encrypted data exchange over the blockchain; \
> `[Chat]` - used for encrypted short message exchange over the blockchain; \
> `[Users]` - used for the management of user-related on-chain data, and;\
> `[AppFeeManager]` - used for the management of application and fee-related data.

### 4P Smart Contracts;

> `[FOUR]` - ERC-20 token framework Smart Contract;\
> `[RTA]` - FOUR token right-to-access model Smart Contract.

### Decentralized storage NFT smart contracts;

> `[PX]` - Used to sync the key storage usage metrics.


---

# 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.the4thpillar.io/developers/architecture-by-layers/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.
