Skip to content

feat(automation): ousdSusdeV4Rebalance Talos action for the OUSD/sUSDe v4 position - #3033

Merged
clement-ux merged 1 commit into
masterfrom
clement/ousd-susde-v4-action
Oct 15, 2026
Merged

clement-ux merged 1 commit into
masterfrom
clement/ousd-susde-v4-action

Conversation

@clement-ux

@clement-ux clement-ux commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #3032. Retarget to master once #3032 is merged.

  • ousdSusdeV4Rebalance Talos action. It runs every 30 min; the schedule stays disabled until 009 is deployed and enabled on the Safe.
  • Each run reads the module's NAV floor and targets [ceil(floorTick), +--width], which gives [-2257, -2252] today.
  • It moves the range when the position bought sUSDe, sits below the target, or has drifted --max-drift ticks above it.
  • New position sized from --target-ousd, capped at what the Safe can fund. Every call is simulated first; --dryrun only logs.
  • ACTIONS.md and seed_schedules.sql are updated. Flags become editable in the Talos UI via oplabs/talos#55.
  • Tests: pnpm test:tasks green (15 new).

🤖 Generated with Claude Code

shahthepro
shahthepro previously approved these changes Oct 15, 2026
@clement-ux
clement-ux added this pull request to stack #3034 October 15, 2026 14:13
shahthepro
shahthepro previously approved these changes Oct 15, 2026
@clement-ux
clement-ux force-pushed the clement/ousd-susde-v4-action branch from 2cce87b to 333c1f3 Compare October 15, 2026 14:59
Base automatically changed from clement/ousd-susde-v4-module to master October 15, 2026 15:01
…e v4 position

Drives UniswapV4ERC4626RebalanceModule every 30 min (schedule disabled):
finds the live position from the module's latest Rebalanced event, targets
[ceil(floorTick), +--width] from navFloorX192 (the NAV less the module's
1 bp tolerance, -2257 today), and moves the range when the position sold
OUSD, sits below the target or drifted --max-drift ticks above it. The
reset runs only while the pool price is above the limit; the mint is sized
from --target-ousd and capped at what the Safe can fund. Every call is
simulated first; --dryrun only logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@clement-ux
clement-ux force-pushed the clement/ousd-susde-v4-action branch from 333c1f3 to a3ee082 Compare October 15, 2026 15:02
@clement-ux
clement-ux merged commit 5233df4 into master Oct 15, 2026
10 checks passed
@clement-ux
clement-ux deleted the clement/ousd-susde-v4-action branch October 15, 2026 15:02
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.

2 participants