Storing overall statistics
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