> 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

FiraSolvencyOracle is the top layer of the fixed-rate lending oracle pipeline, providing collateral pricing to the FiraLendingMarket.

{% 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](https://docs.fira.money/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
