📄️ Depositable Position
The two key methods exposed from DepositablePosition are deposit and withdraw
📄️ Separation of Concerns: Data vs Execution
The Node DeFi stack allows for an "integrate one and integrate all" approach. The intricacies of integrations are deferred to our APIs, standardizing integration across three key areas: yield farms, liquidity pools, and lending markets.
📄️ Lending Market
Lending Markets are platforms that allow users to lend out their cryptocurrency assets to borrowers. These borrowers are typically institutions or other users who use the borrowed assets for various purposes, such as trading or margin lending. In return for lending out their assets, users receive interest on their loans in the form of the asset they lent or a different asset.
📄️ Yield Farms
The YieldFarm class represents a yield farming position, where users can earn rewards for providing liquidity to a liquidity pool. This class extends the DepositablePosition class, which provides methods for depositing and withdrawing from the farming opportunity.
📄️ DepositablePosition
@node-fi/sdk-core / Exports / DepositablePosition