Sy.Finance
  • About Sy.Finance
  • WraithSwap
    • WRA (Wraith Token)
      • xWRA
    • SYF (Syfin Token)
    • Wraith Fields
    • API
  • SYF Dapp
  • SYF NFT Market
  • SYF NFT Market Likes & IcedNFTs
  • SYF Price Oracle
  • Contracts
  • SYF LP Staking
  • Fantom RPC Node
Powered by GitBook
On this page

Was this helpful?

SYF Price Oracle

SYF Price and FTM/USD Price Feed

PreviousSYF NFT Market Likes & IcedNFTsNextContracts

Last updated 3 years ago

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.

0x8fBE84d284D1614eaDc50EE69120Ec4f7f98cEd8
Chainlink FTM/USD aggregator
https://syfin.art