A vault, in decentralised finance (DeFi), is a smart contract that accepts deposits of crypto assets and manages them according to fixed rules. The term covers two main kinds. Yield vaults, popularised by Yearn Finance, pool users' tokens and automatically move them between lending markets, liquidity pools or staking to seek a return; depositors receive a share token representing their claim on the pool.
Collateral vaults lock a user's assets as security for a loan. In the Maker Protocol, for example, users lock collateral in a vault and mint the DAI stablecoin against it; if the collateral's value falls below a required ratio, the position faces liquidation. Such positions are also known as collateralised debt positions. Risks include bugs in the vault code, failures in the protocols it uses, faulty price oracles and sharp market moves. A DeFi vault has nothing to do with a physical bank vault.
Ref 1070001298