SYF Price Oracle
SYF Price and FTM/USD Price Feed
Last updated
Was this helpful?
SYF Price and FTM/USD Price Feed
Last updated
Was this helpful?
SYF Price Oracle Contract:
The Syfin (SYF) Price Oracle Contract uses the 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
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.