> For the complete documentation index, see [llms.txt](https://docs.fira.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fira.money/developers/utility-contracts/oracles/solvency-oracle.md).

# Solvency Oracle

{% hint style="info" %}
**Source:** `src/fira_bonding/oracles/FiraSolvencyOracle.sol`
{% endhint %}

## Overview

The FiraSolvencyOracle provides collateral-to-loan-token pricing for fixed-rate lending markets. It sits at the top of a 3-layer oracle pipeline:

```
AaveToChainlinkAdapter → ChainlinkOracleV2 → FiraSolvencyOracle → FiraLendingMarket
```

## Oracle pipeline

| Layer                      | Purpose                                                            |
| -------------------------- | ------------------------------------------------------------------ |
| **AaveToChainlinkAdapter** | Adapts Aave/Pendle price feeds to a Chainlink-compatible interface |
| **ChainlinkOracleV2**      | Combines two Chainlink feeds to produce a collateral/USDC price    |
| **FiraSolvencyOracle**     | Adjusts the price for BT solvency and provides to lending market   |

## Deployed instances

| Market      | FiraSolvencyOracle                                                                         |
| ----------- | ------------------------------------------------------------------------------------------ |
| PT-USDe/BT  | [`0xeB30b33A...`](https://etherscan.io/address/0xeB30b33A1aC175e0305853636D0eF3898eb530f3) |
| PT-sUSDe/BT | [`0xB9bAA3D5...`](https://etherscan.io/address/0xB9bAA3D58E1431776218F39919fd21AeD3e69aBb) |
| PT-USDG/BT  | [`0x90d0d6fd...`](https://etherscan.io/address/0x90d0d6fdf9fe93777085e8b4baf3aab4285bac6b) |

## Related pages

* [Contract Deployments](/developers/deployment.md) — Full oracle pipeline addresses


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.fira.money/developers/utility-contracts/oracles/solvency-oracle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
