liquidity icon indicating copy to clipboard operation
liquidity copied to clipboard

Storing overall statistics

Open Hyung-bharvest opened this issue 4 years ago • 0 comments

Reasoning

  • it is very useful if we have direct API endpoints for simple overall statistics for pools

List of Necessary Statistics

  • swap amount
    • accumulated swap amount in each pool (in each reserve token)
    • accumulated swap amount executed by takers in each pool (in each reserve token)
    • accumulated swap amount executed by makers in each pool (in each reserve token)
    • accumulated swap amount executed by pool in each pool (in each reserve token)
  • swap fees
    • accumulated swap fee paid by takers
    • accumulated swap fee paid/received by makers
    • accumulated swap fee received by the pools

Hyung-bharvest avatar May 23 '21 14:05 Hyung-bharvest