- RangerVaultManager.initializeDriftStrategy(): derives all Drift PDAs
(strategy, vaultStrategyAuth, user, userStats, state) and calls
createInitializeStrategyIx with correct remaining accounts order and
the adaptor instruction discriminator per voltrxyz/drift-scripts
- Agent: harvest Ranger Earn manager fees every 24 cycles (~daily)
- Agent: expose live Ranger Earn vault state (TVL, share price) on /vault endpoint
- scripts/init-strategy.ts: one-time Drift strategy init script
- scripts/deposit-ranger-strategy.ts: fund strategy with idle vault USDC
- scripts/withdraw-ranger-strategy.ts: withdraw from Drift strategy back to vault
- Fix pre-existing TS strict error in scripts/utils/helper.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>