A vault is an Ethereum smart contract scaling solution that allows users to deposit and withdraw funds from a pool of investable assets.
When a user deposits funds, they are issued a share of the vault, represented by an
fASSET. These user's funds are then made available for the pre-defined "strategy" to deposit at a 3rd party protocol(s) specified by the strategy code published by the Harvest community developers. Whenever a deployed strategy generates revenue (or losses), the total amount of assets in the Vault is updated, however the number of existing
fASSETshares does not change. As a result, the value of each
fASSETshare increases with every successful and profitable harvest. When a user withdraws
fASSETshares from the vault, the
fASSETis burned and the user receives funds proportional to the growth or decline of the asset pool since their deposit.
Most of Harvest's strategies function by depositing the underlying assets into incentivized liquidity pools for various 3rd party protocols. Harvest smart contracts automatically compound the users deposits by selling any earned rewards into more of the underlying vault asset and redepositing it. While harvest may show that your deposit is "farming" some particular token, you will only receive the token you deposited, unless otherwise specified.
User funds are protected in vaults by a number of mechanisms:
- 1.The owners of the vault can only move the underlying funds in and out of the pre-defined investment strategy.
fASSETshares can only be minted by depositing funds into the vault, and are destroyed when the user withdraws funds.
Harvest Vaults do not track the wallet addresses of depositors. Instead,
fASSETshares are represented by fungible ERC-20 tokens that can be transferred between accounts and traded on secondary markets. Users that trade away or lose their
fASSETshares will not have access to their deposited funds.
Because Ethereum gas usage is defined by the number of contracts interacted with and the complexity of the interactions, depositing tokens through the Vault smart contract and minting new
fASSETshares requires significantly more gas than than the token trading that most Ethereum users may be used to. Users should take care to monitor gas expenses, as they may reduce or even overwhelm the profitability of smaller scale investments (<$1000), especially when network activity is high.