# Blue Tranche

<figure><img src="https://1325009965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhjH78RcYPfXK7KIyONQb%2Fuploads%2Fdfx1L49tiCFt9AUJ0QpA%2FGq_iA-yW8AA5_Wd.jpeg?alt=media&#x26;token=2b4594f5-e3ae-4de1-85c9-c70f0ef511dc" alt=""><figcaption></figcaption></figure>

#### **Main Smart Contract**

* **GreenTrancheVault**:
  * Accepts deposits in $Tranche tokens and a risk score.
  * Diversifies investments into asset classes via MCP Funds Manager, according to the score-based allocation logic.
  * Tracks all user investments, updates logs on every deposit/withdraw/claim.
  * Exposes functions: deposit, withdraw, claim, recordUpdate.

#### Subcontracts

* **MCP Funds Manager**:
  * Receives instructions from BlueTrancheVault to allocate funds.
  * Interacts with asset class contracts and GreenSwap for conversions.
  * Calls back recordUpdate on B;ueTrancheVault after actions.
* **Swap MCP**:
  * Handles token swaps using DEX (e.g., Uniswap).
  * Supports single and double swaps.
* **Asset Classes**:
  * **GenesisLaunches**: Invests in VIrtuals Genesis Launche to let you earn points.
  * **IDOIGO**: Invests in early stage projects on permissionless launchpad like pinksale, unicrypt, GameFi.org and many others.
  * **ICO**: Invest on coinlists using massive voluem to secure position and distribute profit based on pool share.&#x20;
  * **CopyTrading**: Integrate existing trading bots like AIXBT and many others.&#x20;
  * **BasisTrading**: Hold short position on perpetual and long position on spots

<mark style="color:red;">**Note:**</mark> <mark style="color:red;"></mark><mark style="color:red;">All operations will be executed by our smart agent using its dedicated wallet, ensuring minimal human involvement and a more autonomous system.</mark>
