When does an alert fire?
The rules use observed prices, pool value, and flow. ruleVersion tells you which rule made an event.
| Type | Current rule |
|---|---|
PREMIUM_SPIKE | Gap is at least 3% and rose at least 1 pp in 15 minutes. Main pool value must be at least $5,000. Higher tiers start at 10% and 25%. |
DISCOUNT_ARB | Gap is at most -2%. Warn starts at -5%. |
FLOAT_DRAIN | Main-pool tokens fell at least 20% in 15 minutes, and swaps took out at least 10% of the old count. Hot starts at a 40% fall. |
NEW_MEME_POOL | A new meme pool has at least $2,000 in seed value. Warn starts at $50,000. |
SQUEEZE_END | After a tier 2 or 3 spike, the gap came back below 3%. |
Price and drain rules cool down for 30 minutes. A higher spike tier can break that cool-down. SQUEEZE_END cools down for one hour.
Price alerts need at least $5,000 in main pool value. The quote must be new. A halted quote is left out.
Float drain
Section titled “Float drain”A main pool can lose tokens. A pull of pool funds can cause it. FLOAT_DRAIN also needs swap proof. This keeps the two cases apart.
Sample
Section titled “Sample”Main-pool tokens fall by 22%. Swaps took out 12% of the old count. If pool value is at least $5,000, this can fire FLOAT_DRAIN.