mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
bba6bbe253f3333c5d4504c776691a9f8d15489d
Valuing the history fixed the protocol's total and left every pool reporting the window a pass had just read, so a landing page claimed $206,718 in all-time volume above a list of pools claiming $4,159. Two sums of the same trades, taken in different places over different sets, and the reader has no way to tell which is which. They are one question sliced two ways. The store groups the swap table by pool in a single scan — the pool column has been indexed since a pool's own trade history needed it — and the pass folds that: each pool takes its row, each token takes the rows of the pools holding it, and the protocol takes the sum. What the pass valued this time around stays in the log, where it says what the pass did rather than what the chain has done. Co-authored-by: Hanzo Dev <[email protected]>
Description
Single-binary GraphQL query layer for Lux blockchain — replaces The Graph's Graph Node
27 MiB
Languages
Go
99.9%
Dockerfile
0.1%