mellow-finance
mellow-vaults
Solidity

Trustless automatic DeFi strategies

Last updated Jul 1, 2026
82
Stars
27
Forks
0
Issues
0
Stars/day
Attention Score
44
Language breakdown
Solidity 60.6%
TypeScript 39.1%
JavaScript 0.3%
Handlebars 0.1%
Shell 0.0%
Files click to expand
README

Mellow Vaults

CI Docs Coverage Status

**We're buliding permissionless vaults ecosystem for trustless automatic DeFi strategies. The protocol is designed for implementing multi-token cross-protocol liquidity rebalancing.**

The Vault contracts hold the tokens and rebalance them both inside other protocols and between them. Strategy contracts interact with Vault contracts definig the rebalancing parameters.

Liquidity provider Users pick a strategy that fits their needs and allocate their assets into a vault to earn yield. When the assets are deposited, users get composable LP tokens (ERC-20).

Strategies Strategies are smart-contracts that implement the models to provide effective liquidity allocation. Different market events can trigger the strategies to initiate rebalance.

Vaults Vaults allocate multiple ERC-20 tokens into other DeFi protocols and rebalance the liquidity in accordance with Strategies inside and between the protocols.

Docs

Vaults design article – protocol design overview (A Medium article)

Protocol documentation – the most complete information about the contracts

Run unit tests

Required env variables (could be addred to .env file):

MAINNET_RPC=<ethereum rpc endpoint>
KOVAN_RPC=<ethereum rpc endpoint>

MAINNETRPC should be able to serve acrhive node api. E.g. Alchemy can do that.

yarn
yarn coverage

Tests coverage report

open coverage/index.html

Deploy

Required env variables (could be added to .env file):

MAINNET_RPC=<ethereum rpc endpoint>
KOVAN_RPC=<ethereum rpc endpoint>
MAINNETDEPLOYERPK=0x.... # for mainnet deploy
KOVANDEPLOYERPK=0x.... # for kovan deploy
yarn
yarn deploy:hardhat

or yarn deploy:kovan

or yarn deploy:mainnet

Check contract size

yarn
yarn size

Licensing

The primary license for the mellow-finance/mellow-vaults is the Business Source License 1.1 (BUSL-1.1), see LICENSE. The files which are NOT licensed under the BUSL-1.1 have appropriate SPDX headers.

© 2026 GitRepoTrend · mellow-finance/mellow-vaults · Updated daily from GitHub