# 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](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract/getprice) - asks for a price from Oracle.
* [receivePrice](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract/receiveprice) - 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="pricefeed-contract/admin-methods" %}
[admin-methods](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/pricefeed-contract/admin-methods)
{% endcontent-ref %}
