> For the complete documentation index, see [llms.txt](https://mochibot.gitbook.io/mochi-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mochibot.gitbook.io/mochi-bot/functions/mochi-dao/mochi-vault.md).

# Mochi Vault

## Vault management

Introducing Mochi Vault, a crypto yield aggregator that automates the process of searching for and investing your cryptocurrency into various DeFi protocols to yield the highest returns. Even for those who are new to DeFi, Mochi Vault allows users to easily deposit their crypto into Launchpool, Simple Earn, and other projects while earning rewards along the way.

* `/vault new <name> <threshold>`: Set up a new vault

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FMwckHLqBfl3flI7rnujY%2Fimage.png?alt=media&amp;token=c5b22474-869a-4773-a176-6d651e5be80c" alt=""><figcaption></figcaption></figure>

* `/vault info`: Show current vault configurations

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FC93SBE5TKFxflROdY1m9%2Fimage.png?alt=media&amp;token=9d0c0f50-cfbd-41bf-8b5d-ac4d69bb4406" alt=""><figcaption></figcaption></figure>

* `/vault list`: Show the current vault list

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FvvNRkacRBIoC4k1C2H5J%2Fimage.png?alt=media&amp;token=780ea6b8-9ecf-4a15-bc31-12452fac3bab" alt=""><figcaption></figcaption></figure>

* `/vault config channel <channel>`: Set up a log channel for vault management

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FZyPz1fxMq5gKzABUIR9T%2Fimage.png?alt=media&amp;token=d6933474-6d0d-4466-bd81-789ef63463c1" alt=""><figcaption></figcaption></figure>

* `/vault config threshold <name> <threshold>`: Configure a threshold for the vault

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FITAnqYeW5Psrfp1NPx4o%2Fimage.png?alt=media&amp;token=6b2bb892-379f-4900-9b10-5b9c731b572a" alt=""><figcaption></figcaption></figure>

## Vault Treasurer

Introducing the Vault Treasurer - a crucial role for managing and overseeing tokens stored in a cryptocurrency vault. As a key figure responsible for the security of these vaults, it's important for us to choose the right person for the job.

With Mochi, admins can now add or remove a Vault Treasurer at any time, providing greater flexibility and control over vault management.

* `/vault treasurer add <vault_name> <username> <message>`: Add a treasurer to the vault

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FANh08urvtSMytxFdU2p4%2Fimage.png?alt=media&amp;token=a509c85f-c0b1-4d57-beef-8204037108fd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FXzuLVAqC5geu42wMuHzq%2Fimage.png?alt=media&amp;token=3a7528b1-d693-42ab-ab2c-87723bbccc95" alt=""><figcaption></figcaption></figure>

* `/vault treasurer remove <vault_name> <username> <message>`: Remove a treasurer from the vault

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FOcvZ4Nlrs55820DYIZul%2Fimage.png?alt=media&amp;token=0d338e98-dfae-4fca-b14d-9ded781a0544" alt=""><figcaption></figcaption></figure>

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2FcFmRzWkFCLMpZXxMX46u%2Fimage.png?alt=media&amp;token=3ac9837f-8dc3-4c0d-809c-26ca16cc6e0e" alt=""><figcaption></figcaption></figure>

* `/vault transfer`: transfer tokens between vaults or to a designated user. To execute the transfer, vault treasurers must unanimously approve the transaction request.

<figure><img src="https://528459403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnJ8qX0cEj5ph125HugiB%2Fuploads%2F2QoU1fnvKaC16U66JulC%2Fimage.png?alt=media&amp;token=f791e71c-1291-42a0-bfe9-d8d13ee2bcc2" alt=""><figcaption></figcaption></figure>
