> For the complete documentation index, see [llms.txt](https://docs.mangrove.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mangrove.exchange/dev/strat-lib/technical-references/api-preferences/strats/src/strategies/vendor/aave/v3/contracts/interfaces/ipriceoraclegetter.md).

# IPriceOracleGetter

Interface for the Aave price oracle.

## BASE\_CURRENCY

```solidity
function BASE_CURRENCY() external view returns (address)
```

Returns the base currency address

*Address 0x0 is reserved for USD as base currency.*

### Return Values

| Name | Type    | Description                        |
| ---- | ------- | ---------------------------------- |
| \[0] | address | Returns the base currency address. |

## BASE\_CURRENCY\_UNIT

```solidity
function BASE_CURRENCY_UNIT() external view returns (uint256)
```

Returns the base currency unit

*1 ether for ETH, 1e8 for USD.*

### Return Values

| Name | Type    | Description                     |
| ---- | ------- | ------------------------------- |
| \[0] | uint256 | Returns the base currency unit. |

## getAssetPrice

```solidity
function getAssetPrice(address asset) external view returns (uint256)
```

Returns the asset price in the base currency

### Parameters

| Name  | Type    | Description              |
| ----- | ------- | ------------------------ |
| asset | address | The address of the asset |

### Return Values

| Name | Type    | Description            |
| ---- | ------- | ---------------------- |
| \[0] | uint256 | The price of the asset |
