Skip to content

feat(yearn): use $200k large-flow threshold on L2s - #399

Merged
spalen0 merged 1 commit into
mainfrom
feat/yearn-l2-flow-threshold
Oct 1, 2026
Merged

spalen0 merged 1 commit into
mainfrom
feat/yearn-l2-flow-threshold

Conversation

@spalen0

@spalen0 spalen0 commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Base, Arbitrum and Katana large-flow alerts now fire at >= $200k for both deposits and withdrawals.
  • Replaces the Katana-only $50k withdrawal override (KATANA_WITHDRAWAL_THRESHOLD_USD) with L2_CHAIN_IDS + L2_THRESHOLD_USD.
  • Mainnet unchanged at the $500k --threshold-usd default; that flag now only affects mainnet.
  • Updated monitoring.yaml and protocols/yearn/README.md.
Chain Before (dep / wd) After (dep / wd)
Mainnet $500k / $500k $500k / $500k
Base $500k / $500k $200k / $200k
Arbitrum $500k / $500k $200k / $200k
Katana $500k / $50k $200k / $200k

Test plan

  • ruff format / ruff check
  • pytest tests/test_monitoring_config.py

🤖 Generated with Claude Code

Base, Arbitrum and Katana deposits and withdrawals now alert at >= $200k.
Replaces the Katana-only $50k withdrawal override. Mainnet keeps the
$500k --threshold-usd default.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@spalen0
spalen0 merged commit 2ad4bdc into main Oct 1, 2026
3 checks passed
@spalen0
spalen0 deleted the feat/yearn-l2-flow-threshold branch October 1, 2026 09:34
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