> For the complete documentation index, see [llms.txt](https://about.partnr.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://about.partnr.xyz/main-functions.md).

# Main Functions

### For Creators <a href="#getting-started" id="getting-started"></a>

1. **Create Vault**

* **Input Parameters**:
  * **Network and Base Token (Underlying)**: Currently supports only Solana and stablecoins USDC, USDT (fixed after creation).
  * **Protocol**: Allows all protocols available on the selected network.
  * **Profit Share %**: Portion of realized profits allocated to the Creator (default 10%).
  * **Initial Deposit**: Minimum 500 USDC/USDT.
* **Flow**: The Creator configures the vault in the UI → confirms parameters → signs the on-chain vault creation transaction → vault becomes visible in the explorer.

<figure><img src="/files/TetzZMcrCYuqwN5tn6Ec" alt=""><figcaption></figcaption></figure>

2. **Manage Strategy via AI Chat**

* **Interaction**: The Creator issues strategy commands in natural language.
* **AI Role**:
  * Parse intent.
  * Generate a **transaction preview**: route, amounts, fees, slippage, estimated PnL, and impact on profit share.
  * Require the **Creator’s signature** before execution.
* **Supported Actions**: Swap, add/remove LP, trade, stake/unstake, borrow/lend, claim rewards.
* **Gas Tank**: Transaction fees are deducted from the vault’s Gas Tank; low-balance alerts are provided.

<figure><img src="/files/0y6h2nzSDtibFnABNDpp" alt=""><figcaption></figcaption></figure>

3. **Monitor Performance**

* View **TVL, APR (age-aware)**, realized/unrealized PnL, and allocation.
* Time-range filters: 24H, 7D, 30D, 90D, All-time (filters are hidden if vault age is insufficient).
* Activity log associated with each vault.

<figure><img src="/files/9y72nf38eCYrf6DRBw67" alt=""><figcaption></figcaption></figure>

4. **Fee Earned (Profit Share)**

* **Trigger**: When closing a profitable position or claiming/unstaking rewards.
* If multiple tokens are involved, the system swaps just enough into the underlying token to match the profit share.
* **Flow**: Earnings become “Claimable” → Creator signs the claim transaction → funds are transferred to the Creator’s wallet.

<figure><img src="/files/AR0LRVjNrZTCPfxNQyeR" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/i95AprAKVD5kMcawXIy6" alt=""><figcaption></figcaption></figure>

***

### For Depositors

1. **Deposit**

* Select a vault → enter the deposit amount in the underlying token → sign the transaction.
* Receive vault share tokens representing proportional ownership; allocation updates after confirmation.

<figure><img src="/files/MIEtulHoHrJJvPnCJy1O" alt=""><figcaption></figcaption></figure>

2. **Withdraw**

* Choose a partial or full withdrawal.
* If the vault has open positions, the withdrawal may require partial position closure or waiting for available liquidity.
* Sign the transaction → burn share tokens → receive the underlying token.

<figure><img src="/files/YCfPD1bgVuKin9SOPehB" alt=""><figcaption></figcaption></figure>

3. **Track Performance**

* **My Allocation**: Historical allocation chart (hourly/daily snapshots depending on vault age).
* **PnL & APR**:
  * PnL = (Current value + withdrawals – deposits – initial value) ÷ initial value.
  * APR is annualized from the period ROI; hidden for very new vaults to avoid misleading results.

<figure><img src="/files/BB8wp8cR1bVQGZgGnyxc" alt=""><figcaption></figcaption></figure>
