# 🛠️ For Developers (Technical Details)

#### Smart Contract ABIs

The platform interacts with several smart contracts. Their ABIs (Application Binary Interfaces) are crucial for understanding their functions and events.

* `vaultec-core-abi.ts`: ABI for the main Vaultec protocol contract(s).
* `vaultec-trading-abi.ts`: ABI for contracts related to trading in Community Vaults.
* `personal-vault-trading-abi.ts`: ABI for contracts related to trading in Personal Vaults.
* `erc20-abi.ts`: Standard ABI for ERC20 token interactions.

#### Key Hooks (Frontend Logic)

The frontend application utilizes custom React hooks to manage state and interactions with smart contracts:

* `useVaultecCore`: Interacting with core protocol functions.
* `useVaultecTrading`: Handling trading logic for Community Vaults.
* `usePersonalVaultTrading`: Handling trading logic for Personal Vaults.
* `useTokenBalance`: Fetching and displaying token balances.
* `useCustomTokens`: Managing user-added custom tokens.
* `useUniswapRouter`: Interacting with Uniswap or a similar DEX router.
* `useAiContext` & `useAiActions`: Managing state and actions for the AI features.


---

# 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.vaultec.network/for-developers-technical-details.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.
