# AaveV2

## Website

<https://aave.com/>

## Type

Lending, Yield Farming

## Description

AaveV2 is a decentralized, money market protocol that allows users to lend and borrow tokens on Ethereum. Depositors lend tokens to earn APY from protocol borrowers. Borrowers can borrow tokens against deposited collateral and pay APY.

Each token has different liquidation and collateral parameters. If the borrower's loan ever exceeds the required collateral factor, the borrower's position can be liquidated to maintain protocol solvency. During liquidation, the liquidator repays the borrower's loan in exchange for a percentage of the borrower's original position.

Currently, lenders and borrowers passively earn stkAAVE (Staked AAVE) tokens which can be unwrapped into AAVE.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oh.finance/protocol/defi-protocols/aavev2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
