> For the complete documentation index, see [llms.txt](https://eigenphi-1.gitbook.io/classroom/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eigenphi-1.gitbook.io/classroom/mev-types/liquidation/liquidation-transaction-with-aave-v2-involved.md).

# Liquidation transaction with Aave V2 involved

Let's look at a simple liquidation transaction.

This transaction involves Aave V2, so we can see that transfers within the Aave protocol are all grouped together.&#x20;

To get the collateral, the liquidator have to cover the debt for the borrower. In the sixth step, the liquidator settled the debt of 6299 BUSD for the borrower.&#x20;

In the second step, we can see that 6,299 virtual debt BUSD has been burned, you can think of it as the IOU of the borrower in Aave.&#x20;

In return, the liquidator got the borrower's collateral, 4.1587 WETH.&#x20;

Correspondingly, the same amount aWETH, the collateral certificate, was burned from the borrower in the 5th step.&#x20;

<figure><img src="/files/HXlf46DAopN4RMvwc4hX" alt=""><figcaption></figcaption></figure>
