Dagur Valberg Johannsson
6e0a56e33b
Add traded sats delta to pool history entry
...
Will make it faster to calculate volume.
2025-08-15 22:26:03 +02:00
Dagur Valberg Johannsson
dc0457de9f
Remove duplicate code; make use of pool visitor
2025-07-18 17:09:56 +02:00
Dagur Valberg Johannsson
8284b03528
Improve TVL queries
...
Fixes #8
2025-07-18 14:13:08 +02:00
Dagur Valberg Johannsson
7d9352cf53
Fix clippy issues
2025-07-16 13:52:46 +02:00
Dagur Valberg Johannsson
460a1fc7f1
Add arbitrary int support
2025-07-16 09:30:17 +02:00
Dagur Valberg Johannsson
84ea84f4be
Filter tokens with no liquidity
2025-02-17 21:10:16 +01:00
Dagur Valberg Johannsson
4bf31c0131
Don't trigger parallel cache updates
2025-02-17 21:07:26 +01:00
Dagur Valberg Johannsson
0b4da0287d
bug: Fix tvl in token list
2024-11-28 10:27:35 +01:00
Dagur Valberg Johannsson
39131d4670
bug: Fix current price calculation
2024-11-28 08:45:21 +01:00
Dagur Valberg Johannsson
1f3ffa42a2
rpc: Add pool owner/token to history
2024-11-13 13:24:06 +01:00
Dagur Valberg Johannsson
b1e88ff261
rpc: Add pool history call
2024-11-13 11:28:27 +01:00
Dagur Valberg Johannsson
058f751a21
Improve querying for active pools
...
By using new field in the pool history entry table, we can improve the
query time for finding active cauldron pools.
This change also fixes a datatype issue in the table where TEXT was used
instead of INT.
2024-10-25 14:45:37 +02:00
Dagur Valberg Johannsson
19b3a3d3ea
Update tests for new table layout
...
Also rewrote tests to use insert functions
2024-10-24 09:12:12 +02:00
Dagur Valberg Johannsson
e4e7ec3b71
Add aggregated APY endpoint
...
Add an endpoint that gives a APY value across multiple micro-pools
2024-10-23 16:54:06 +02:00
Dagur Valberg Johannsson
3abbdbc177
Add timestamp to pools table
...
To speed up historical price queries, add timestamp to pools.
This denormalizes the database a bit for improved query performance.
2024-10-08 17:22:37 +02:00
Dagur Valberg Johannsson
e38eaaa26c
Add BCMR indexer
...
This adds BCMR indexer, including downloading and parsing the actual
BCMR files.
2024-05-27 11:56:35 +02:00