Skip to content

Rename new_pool → inactive_pool - #1

Open
0xSoju2 wants to merge 1 commit into
mainfrom
rename-new-pool-to-inactive
Open

Rename new_pool → inactive_pool#1
0xSoju2 wants to merge 1 commit into
mainfrom
rename-new-pool-to-inactive

Conversation

@0xSoju2

@0xSoju2 0xSoju2 commented May 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

The risk we want to price isn't "this pool was just created", it's "this pool has no swap activity keeping it balanced". A 15-minute swap-free window captures both freshly-created pools and dormant ones equally — same slippage risk, same range.

Engine wiring (in MeteoraAg dlse repo)

  • New CH view `active_pools_15m` lists every pool with a swap in the last 15 minutes.
  • `ActivePoolsTracker` polls it every 30s into a `DashSet`.
  • Engine marks any pool absent from the set as `inactive_pool` and selects this range.

Test plan

🤖 Generated with Claude Code

The risk we're pricing isn't 'pool was just created', it's 'pool has no
swap activity to keep it balanced'. A 15-minute swap-free window applies
the same regardless of pool age — captures both fresh pools that haven't
traded yet and dormant pools that have gone stale.

Engine-side: ActivePoolsTracker polls a CH view (active_pools_15m) every
30s and the engine marks any pool absent from that set as inactive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant