feat: add protocol pool TVL and 24h/30d liquidity change (#569) #1102
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/569-protocol-liquidity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
total_liquidity_usd) to/protocolGlobal stats, plus 24h and 30d percent change vs indexer snapshots.global_stats_24hsoGET /overviewstays an O(1) rollup read (no livepair_reservesjoin or snapshot walk on the request path).$0.Closes #569.
What changed
protocol_tvl.rs+global_liquidity_snapshots+ additive overview JSON.protocol-global-statswithformatProtocolPct(em-dash on missing / non-finite).AGENTS.md.make verify-issue-569.Test plan
make verify-issue-569make verify-issue-550andmake verify-issue-556still green/protocolshows Total liquidity + 24h% + 30d% next to volume; hub card still after stats--fresh: Δ% is em-dash, not0%or Infinityliquidity_in_usdCloses #569
marked this merge request as ready
added 18 commits
maincfda26fc- Merge origin/main into feat/569-protocol-liquidity.2db2d42b- Keep Protocol liquidity StatBoxes visible with trailing-window volume copy.Compare with previous version
mentioned in commit
91aed331f1mentioned in issue #569
mentioned in issue #583