# Smart Contracts

#### Treasury Contract

The Treasury smart contract is authorized to mint the stablecoins to supply to the Blend. This ensures the availability of stablecoins within their respective lending pools. The treasury can also provide flash loans to the dedicated pegkeeper in order to ensure the stablecoin has enough liquidity.

[Learn more about the Treasury contracts.](/technical-documentation/treasury.md)

#### **Bridge Oracle Contract**

The Bridge Oracle contract is responsible for providing a price feed to the Blend lending pool. The Treasury stablecoins do not have a price feed on creation, but are pegged to fiat currency. The Bridge Oracle will get the price of this fiat currency from a third party oracle and return the right price for the stablecoin.

[Learn more about the Bridge Oracle.](/technical-documentation/bridge-oracle.md)

#### Pegkeeper Contract

The PegKeeper. contract is designed to liquidate, settle debts of the blend pool, and trade on an AMM using flash-loaned tokens from the Treasury.

[Learn more about the PegKeepers.](/technical-documentation/pegkeeper.md)


---

# 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.orbitcdp.finance/protocol-overview/smart-contracts.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.
