# Supported UDFs

This document outlines the supported User-Defined Functions (UDFs) for the ACI Network. You can incorporate these UDF classes into your projects to build custom UDFs using these pre-configured or pre-built components.

### 1. User Profile (on Ethereum)

| **Feature**                | **Detail**                                      |
| -------------------------- | ----------------------------------------------- |
| Account age                | Calculated in years (e.g., 6.8 years)           |
| Smart contracts deployed   | Count and details (e.g., 3 contracts)           |
| Initial gas funding source | Address of the initial funder                   |
| ERC20 balance              | Token ticker and balance for each token         |
| Token transfers            | Sent and received transactions with details     |
| Large token transfers      | Significant transfers with frequency and amount |
| Transaction count          | Total incoming and outgoing transactions        |
| Gas consumption            | Total gas used                                  |
| Token transfer count       | Total token transfers (in/out)                  |

### 2. UniswapV3 Trading

| **Feature**          | **Detail**                                   |
| -------------------- | -------------------------------------------- |
| Number of trades     | Total count of trades                        |
| Trade details        | Individual trade information (buy/sell/swap) |
| Unique traded assets | List of unique tokens traded                 |
| Total trading volume | Cumulative value of all trades in USD        |
| Average trade value  | Average size of trades in USD                |

### 3. UniswapV3 Liquidity

| **Feature**                   | **Detail**                             |
| ----------------------------- | -------------------------------------- |
| Liquidity provision frequency | Number of times liquidity was provided |
| Liquidity actions             | Details of adding/removing liquidity   |
| Number of liquidity pools     | Count of unique pools participated in  |
| Total LP value                | Total value of liquidity provided      |
| Pool details                  | Specific pool information and amounts  |
| Liquidity provision history   | First provision date and duration      |

### 4. ENS (Ethereum Name Service)

| **Feature**             | **Detail**                                   |
| ----------------------- | -------------------------------------------- |
| ENS domain holdings     | List of owned ENS domains                    |
| ENS actions             | Registration, renewal, and transfer details  |
| First registration time | Date of first ENS registration               |
| Primary ENS name        | The main ENS name for the address            |
| Resolved ENS domains    | List of ENS domains resolving to the address |

### 5. Bridge (Deposit) to L2

| **Feature**            | **Detail**                                               |
| ---------------------- | -------------------------------------------------------- |
| Bridge usage frequency | Number of times bridged to L2                            |
| Destination chains     | List of L2 chains bridged to                             |
| Bridged assets         | Details of assets bridged (chain, bridge, token, amount) |
| Bridge transactions    | Specific bridge transaction details                      |

### 6. OpenSea NFT Trading

| **Feature**            | **Detail**                               |
| ---------------------- | ---------------------------------------- |
| NFT trading count      | Total number of NFT trades               |
| NFT trading volume     | Total, buy, sell, and swap volumes       |
| NFT transactions       | Details of individual NFT trades         |
| Unique NFT collections | List of different NFT collections traded |

### 7. EigenLayer Restaking

| **Feature**            | **Detail**                                                |
| ---------------------- | --------------------------------------------------------- |
| Total restaking amount | Cumulative amount restaked                                |
| Restaking actions      | Details of restaking, withdrawal initiation, and claiming |
| First restaking time   | Date of first restaking action                            |

### 8. AAVE Lending

| **Feature**           | **Detail**                        |
| --------------------- | --------------------------------- |
| Collateral value      | Total value of collateral added   |
| Collateral actions    | Details of adding collateral      |
| First collateral time | Date of first collateral addition |
| Borrowed value        | Total value of assets borrowed    |
| Borrowing actions     | Details of borrowing transactions |
| First borrowing time  | Date of first borrowing action    |

These UDFs provide comprehensive insights into user activities, covering various aspects such as general account information, DeFi interactions, NFT trading, and cross-chain activities. They enable detailed analysis of wallet behaviors and patterns across different protocols.


---

# 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.thehemera.com/udfs-user-defined-functions/supported-udfs.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.
