# PriceFeed contract

This contract is a proxy for requests to oracle for getting actual pair prices.

{% hint style="info" %}
Yupana PriceFeed proxy uses [Harbinger](https://github.com/tacoinfra/harbinger) as oracle.
{% endhint %}

More info about oracle here.

{% embed url="<https://github.com/tacoinfra/harbinger>" %}

### Entrypoints

* [getPrice](/yupana-document-portal/developer-space/pricefeed-contract/getprice.md) - asks for a price from Oracle.
* [receivePrice](/yupana-document-portal/developer-space/pricefeed-contract/receiveprice.md) - sends the price from Oracle to the **yToken** contract.

### Admin methods

There are some `admin` methods for setup proxy described in a separate section.

{% content-ref url="/pages/Lj97edh4PFJk4gSVyt4E" %}
[Admin methods](/yupana-document-portal/developer-space/pricefeed-contract/admin-methods.md)
{% endcontent-ref %}


---

# 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://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract.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.
