Repository navigation
project-x: use the last completed day for volume and apy - #3283
takinanton wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
The project-x adapter exports pools: Test Suites: 1 passed, 1 total |
The fee apy is annualized from the newest poolDayData bucket which is the UTC day still in progress, so it drops to almost nothing after midnight and climbs back all day. WHYPE-USDC 0.05% was listed at 0.06% with $54k volume early today while the subgraph has $70.5M for Nov 27. I pointed the query at the bucket of the last completed UTC day, same idea as uniswap-v4 after #3098. Ran
npm run test --adapter=project-xaround 8am UTC and that pool went from 13.4% on $12.5M volume to 75.6% on $70.2M. All 258 tests pass and tvl is unchanged.🤖 Generated with Claude Code
Summary by CodeRabbit