> For the complete documentation index, see [llms.txt](https://syfinance.gitbook.io/sy-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://syfinance.gitbook.io/sy-finance/syf-price-oracle.md).

# SYF Price Oracle

SYF Price and FTM/USD Price Feed

**SYF Price Oracle Contract:** [**0x8fBE84d284D1614eaDc50EE69120Ec4f7f98cEd8**](https://ftmscan.com/address/0x8fBE84d284D1614eaDc50EE69120Ec4f7f98cEd8#readContract)

The Syfin (SYF) Price Oracle Contract uses the [Chainlink FTM/USD aggregator](https://ftmscan.com/address/0xf4766552D15AE4d256Ad41B6cf2933482B0680dc#code) on **Fantom** and provides two publicly available and useable functions. The contract is verified on FTMscan for easy understanding. We use this Price Oracle Contract for displaying price information on <https://syfin.art>

**`getLatestFTMPrice().call()`**

`Returns FTM Price in USD formatted for / 1e8`

**`getLatestTokenPrice(pairaddress, amount).call()`**

`Returns token 0 current amount vs token 1 from the Liquidity Pool address and amount of coin, recommended 1. Any LP pair address that is based off Uniswap V2 can be queried from this function.`
