The Syfin (SYF) Price Oracle Contract uses the Chainlink FTM/USD aggregator 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
Returns FTM Price in USD formatted for / 1e8
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.