# Technology

## Technology Stack

* Blockchain: Solana.
* Smart Contracts: Rust-based Solana programs.
* Data & Integrity: Structured, time series, and document storage for performance, fees, reputation, and RWA.
* Frontend Layer: Next.js / React / Typescript interface with multi wallet support and real time strategy / credit pool dashboards.
* Monitoring & Risk: Continuous event ingestion and anomaly detection
* Security & Resilience: Non custodial design, redundant infrastructure, audit-ready data trail, progressive decentralization roadmap.

## Smart Contract Architecture&#x20;

Modules:

* Vault Core Program: Handles deposits, withdrawals, pay fund investors, pay rwa investors and trading.
* Fee Module:
* Management Fee: Continuous accrual (block-time prorated).
* Performance Fee: Crystallized periodically (e.g., monthly).

Security Principles:

* Minimal trusted roles (multisig for upgrades).
* Defense-in-depth: audits, formal verification candidates (Phase 2), bug bounty program.
* &#x20;

12\. Fee & Performance Mechanics

* Net Asset Value (NAV) Calculation: real-time indicative NAV from pricing feed.
* Performance Fee Example:
* Crystallization Epoch: 30 days.
* If NAV > HWM → fee = (NAV - HWM) \* performance\_rate.
* Fees minted/distributed in SOL.
* Management Fee: (AUM \* annual\_rate) \* (time\_elapsed / seconds\_in\_year).


---

# 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://defunds-finance.gitbook.io/whitepaper/technology.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.
