# For Managers

## Create Fund

Creating a fund on DeFunds is very simple - anyone can do it by paying a nominal [fee](https://defunds.gitbook.io/defunds/fees#create-fund-fee) in USDT + a small amount in base network currency for the gas.

During fund creation, the manager needs to specify:

* Fund info - name, description and image
* [SF](https://defunds.gitbook.io/defunds/fees#subscription-fee) and [PF](https://defunds.gitbook.io/defunds/fees#performance-fee) fee rates
* Reporting period
* Allowed [tokens](https://defunds.gitbook.io/defunds/security#allowed-tokens) and [services](https://defunds.gitbook.io/defunds/security#allowed-services)
* [Indent](https://defunds.gitbook.io/defunds/for-investors#indent) period
* [Manager address](#appointment-of-a-manager) and [manager share](#appointment-of-a-manager)
* Is [High-Water Mark (HWM)](https://defunds.gitbook.io/defunds/fees#performance-fee) enabled or not
* Is fund [private](#private-funds) or not

{% hint style="warning" %}
Note: updating fund's allowed tokens and services takes a considerable amount of time. We recommend you to plan the fund settings in advance. You can find more details in [updating settings](#updating-settings) section.
{% endhint %}

The final step for fund owner is to confirm transaction in his wallet. Once done, the new Trade contract is deployed, which means that the fund is created. Additionally, a separate instance of the ERC20 token [**ITKN**](https://defunds.gitbook.io/defunds/technical-overview#itkn) is deployed for each created fund. Owning this token means ownership of shares in the fund. [**ITKN**](https://defunds.gitbook.io/defunds/technical-overview#itkn) tokens are allocated to the investor upon [deposit](https://defunds.gitbook.io/defunds/for-investors#making-an-investment) into the fund and burned upon [withdrawal](https://defunds.gitbook.io/defunds/for-investors#withdraw) from the fund.

## Fund Manager

Important details:

* The Manager's share — the percentage of **all the subscription fees and performance fees** during each reporting period.
* By default, the fund manager is its owner.
* Only the manager will have access to **Trade** capabilities within the fund.&#x20;

## Making an Investment

Owners and managers can invest in their DeFunds as usual [investors](https://defunds.gitbook.io/defunds/for-investors).&#x20;

## Trading

As a prerequisite to trading, your fund needs to have non-zero balance. For example, you can [invest](https://defunds.gitbook.io/defunds/for-investors#making-an-investment) some amount of money into your fund, and wait for the next [report](https://defunds.gitbook.io/defunds/reporting). Once deposit is done, manager is authorized to execute set of operations on the Trade contract, related to trading activities with ERC20 tokens. Operations can differ depending on the network, but in general they are:

* Changing tokens on exchanges
* Staking
* Futures trading

## One Click Trading

With **One Click Trading** feature, the manager can reduce the number of signing pop-ups from the wallet, thus speeding up trades.

After finishing the process, you will get you **Subaccount** generated:

1. The subaccount is used to pay commissions without wallet signature popups.
2. The subaccount's private key is kept on the client and is never sent anywhere. However, for security reasons, it's not recommended to keep large amounts of money on the subaccount.

## Private Funds

You can make your fund **private** during fund creation.&#x20;

* Only the fund owner is allowed to invest in private fund.
* Private fund isn't visible on the 'Market' page but still can be accessed via link.
* Privacy can be changed in the settings.
* Users still can withdraw from private funds.

## Closing Fund

Manager is always able to close the fund - it is needed to just press the **Close** button on the fund's page, and complete transaction in the wallet. Closing a fund entails the following:

* An unplanned [report](https://defunds.gitbook.io/defunds/reporting) happens
* All positions in the fund are automatically closed
* Indent stops working
* The fund is removed from the market page

## Transfer of Ownership

Fund owner can transfer ownership of the fund to another address. The previous fund owner loses access to fund management; this action cannot be undone.&#x20;

All [commissions](https://defunds.gitbook.io/defunds/fees)  earned by the previous fund owner will be withdrawn to their address at the same time as ownership is transferred.

## Trade Lock

The fund owner can lock the trade for the manager for the custom period of time. A manager with a trade lock does not have access to trading. The fund owner can also cancel the trade lock at any time.

## User Roles Permissions

Users have access to different functionality, depending on their role and the fund status:

| Function                                                                                         | Opened                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Closed                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Blocked                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Investing](https://defunds.gitbook.io/defunds/for-investors)                                    | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/263a/path" alt=":relaxed:" data-size="line"> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [Withdrawal](https://defunds.gitbook.io/defunds/for-investors#withdraw)                          | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/263a/path" alt=":relaxed:" data-size="line"> | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/263a/path" alt=":relaxed:" data-size="line"> | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/263a/path" alt=":relaxed:" data-size="line"> |
| [Opening positions](#trading)                                                                    | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line">                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [Closing positions](#trading)                                                                    | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                    | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                    | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                    |
| [Closing the fund](#closing-fund)                                                                | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 |
| [Editing whitelists and services](https://defunds.gitbook.io/defunds/security#updating-settings) | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 |
| [Editing the manager's share](https://defunds.gitbook.io/defunds/fees#manager-share)             | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 |
| Blocking the fund                                                                                | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Re-opening the fund](#create-fund)                                                              | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       |
| [Transfer of Ownership](#transfer-of-ownership)                                                  | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 |
| [Changing manager](#fund-manager)                                                                | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line">                                                                                                                                                                                                                                                                                                                 |
| [Fire the manager (owner becomes manager)](#fund-manager)                                        | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                                                                                                                                                                       |
| <p></p><p><a href="#trade-lock">Trade lock</a></p>                                               | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     |
| [Cancel trade lock](#trade-lock)                                                                 | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     | <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"><img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line">                                                                                                                                                                     |
| [Indentation on withdrawal](https://defunds.gitbook.io/defunds/for-investors#indent)             | Enabled                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Disabled                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Disabled                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

**Explanaition:**

* <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f947/path" alt=":first_place:" data-size="line"> - fund owner
* <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f935-200d-2642-fe0f/path" alt=":man_in_tuxedo:" data-size="line"> - manager
* <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/1f916/path" alt=":robot:" data-size="line"> - trigger-server
* <img src="https://quanthill.atlassian.net/gateway/api/emoji/44a1c0b9-cc60-4470-929c-38713ea55cf3/263a/path" alt=":relaxed:" data-size="line"> - investor
