Folks Feed Oracle
  • Introduction
  • FOLKS FEED ORACLE
    • Overview
    • Server
    • Provider
    • Smart contract
  • Developers
    • Introduction
    • SDK
      • Python
      • PyTEAL
    • Contract
    • Feeds
  • OTHERS
    • Socials
    • Brand assets
    • Make a request
    • Glossary
Powered by GitBook
On this page
  1. FOLKS FEED ORACLE

Provider

Folks Feed Provider is a Python server that allows Folks Feed Server the integration of Algorand assets price feeds.

We can consider the server divided into 3 services running simultaneously:

  • Search for new pools: this routine searches, within the supported DEXs, for pools that include the desired token. A pool is considered valid if the pair is between the desired token and one among ALGO, USDC, USDt, GOUSD, gALGO as well the pool holds a minimum TVL of $5000.

  • Prices generation: for each token as many prices will be generated as there are valid pools, rechecking the pool's TVL and saving it. Each generated price is calculated by performing a TWAP on the price of the pool itself.

  • Request response: the server will expose an API for the FFO server, this will send the desired token prices. Every token price will be generated by calculating a weighted average on the TVL of the pools.

PreviousServerNextSmart contract

Last updated 1 year ago