Repayment With Collateral Tokens on AAVE

    Aave V2 allows you to repay your debt/loans with your deposited collateral. Before V2, if a user wanted to use part of their collateral to repay a loan, they had to first withdraw the collateral, use it to buy the borrowed asset, and then finally repay the debt and unlock the deposited collateral. This requires at least 4 transactions across multiple protocols, costing time and money and making for an overall not-so-seamless experience. This new feature allows users to close their loan positions by paying directly with their collateral in just 1 transaction — smooth and simple.