Adapters

Adapters form the basis for making tokens of a Vault available in an external project and offer basic functionalities for interacting with it. A generic adapter interface has been created that implements basic functionalities (e.g., maxWithdraw, maxDeposit, totalAssets, deposit, withdraw).

Adapters can be added and removed within an Adapter vault by its owner. In principle, any type of protocol that provides atomic transactions can be integrated using adapters. Examples include lending markets, liquidity pools, vaults, and staking contracts. Tokens in the vault are distributed to the respective markets based on the currently active strategy.

Last updated