Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 847 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 847 Bytes

ParaSwap Volume Tracker

For more questions and be involved:

Description:

This service calculates most of the analytics that is displayed on the ParaSwap Staking UI. This service also calculates the Market Maker rewards that are distributed every epoch. The service works by continuously polling all the 0x events where ParaSwap contracts are the taker addresses and indexing them in the PostgreSQL database.

Run the server:

  • Install Docker
  • run:
docker-compose up

Endpoints:

/staking/volume: returns the volumes of all active market makers

/staking/pools: returns ParaSwapPool staking data

/staking/pools: returns ParaSwapPool staking data

/airdrop/claim/:address: return airdrop claim data