feat(indexer): DeFiLlama UTC-day volume and fees API (#631) #1143
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!1143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "631-feat-list-cl8y-dex-dex-cl8y-com-on-defillama-tvl-volume-fees-"
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
GET /api/v1/defillama/daily?timestamp=as a UTC calendar-day rollup (hybrid L10 volume, PFee/L7 fees,#562gem exclude). GET is O(1) + 60s cache; invalid timestamp → 400; missing day → 404; idle →"0"; activity + unpriced →null.scripts/defillama/(TVL is factoryPool {}raw balances only — never indexer USD or CGliquidity_in_usd).docs/DEFILLAMA.md,docs/indexer-invariants.md, andskills/AGENTS_DEFILLAMA.md. Regression:make verify-issue-631.Related to #631. Does not close the issue: upstream DefiLlama / dimension-adapter GitHub PRs and the Coolify live daily check remain operator follow-ups.
Test plan
make verify-issue-631(docs + gem lockstep + lib + integration + node helpers) — passed twiceGET https://indexer.dex.cl8y.com/api/v1/defillama/daily?timestamp=<00:00_utc>scripts/defillama/(node test.js projects/cl8y-dex,pnpm test dexs cl8y-dex,pnpm test fees cl8y-dex)dex.cl8y.commarked this merge request as ready
changed the description
mentioned in issue #631
Filed the upstream Llama adapters (operator follow-up from this MR):
node test.js→ terra $13.28k (cLUNC→uluna, cUSTC→uusd). Unpriced CW20s (UST1/USTR/CL8Y/gems) omitted on Llama's side.GET https://indexer.dex.cl8y.com/api/v1/defillama/dailyis still 404 until this MR is on Coolify.After Coolify ships the daily route, confirm yesterday UTC, then mark #8987 ready and paste
pnpm test dexs cl8y-dex/pnpm test fees cl8y-dex.added 15 commits
main9f06e241- feat(indexer): add DeFiLlama UTC-day volume and fees APIbfa18802- docs: link filed DeFiLlama adapter PRs and wrap 1:1 map796b647e- merge origin/main into feat/631-defillamaCompare with previous version
mentioned in commit
1ae62ca38fmentioned in issue #629
mentioned in issue #638
mentioned in issue #630
mentioned in issue #632
mentioned in issue #627
mentioned in issue #526
mentioned in merge request !1146
mentioned in merge request !1147