How Leverage is Achieved

At a high level, the protocol’s smart contracts use borrowed funds to buy and lock more LP tokens, which are used as collateral for a second-layer loan, which can be used as further collateral to borrow even more.
Yamp uses a single interface to make this layering process easy and largely invisible to the borrower. Under the hood it manages numerous steps in a single transaction.