Skip to content

Commit c52692d

Browse files
clement-uxclaude
andauthored
Add OUSD rebalancer schedule (manual, disabled) (#2933)
Adds an `ousd_rebalancer` row to the Talos schedules seed so the OUSD Rebalancer action shows up in the Talos admin UI and can be triggered manually via "Run now". The hardhat task `ousdRebalancer` was already registered (and thus in the actions catalog), but with no `schedules` row it was neither listed nor runnable from the UI — the runner only dispatches by scheduleId (POST /runs/:scheduleId) and the ad-hoc arbitrary-command endpoint was removed. Seeded with enabled=false and the placeholder cron `0 0 1 1 *`, matching the existing manual-only rows (stake_validator, queue_proposal, ...), so it never fires on a schedule — only on an operator-initiated Run now. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c097f0c commit c52692d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

contracts/migrations/seed_schedules.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ INSERT INTO schedules (product, name, command, cron_expr, timezone, enabled, not
5454
('origin-dollar', 'module_rebase_mainnet', 'cd /app && pnpm hardhat permissionedRebase --network mainnet', '15 10,22 * * *', 'UTC', false, NULL),
5555
('origin-dollar', 'module_rebase_base', 'cd /app && pnpm hardhat permissionedRebase --network base', '15 10,22 * * *', 'UTC', false, NULL),
5656
('origin-dollar', 'module_rebase_sonic', 'cd /app && pnpm hardhat permissionedRebase --network sonic', '15 10,22 * * *', 'UTC', false, NULL),
57+
('origin-dollar', 'ousd_rebalancer', 'cd /app && pnpm hardhat ousdRebalancer --network mainnet', '0 0 1 1 *', 'UTC', false, 'Manual: Run now to rebalance OUSD Morpho strategies'),
5758
('origin-dollar', 'queue_proposal', 'cd /app && pnpm hardhat queueGovernorSixProposal --network mainnet', '0 0 1 1 *', 'UTC', false, 'Manual: add --propid then Run now'),
5859
('origin-dollar', 'execute_proposal', 'cd /app && pnpm hardhat executeGovernorSixProposal --network mainnet', '0 0 1 1 *', 'UTC', false, 'Manual: add --propid then Run now')
5960
ON CONFLICT (product, name) DO NOTHING;

0 commit comments

Comments
 (0)