Skip to content

Show post-loop projected rates#131

Open
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-33-projected-rates
Open

Show post-loop projected rates#131
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-33-projected-rates

Conversation

@Sikkra
Copy link
Copy Markdown

@Sikkra Sikkra commented May 19, 2026

Summary

  • Returns projected utilization and projected pool totals from projectRates.
  • Labels the leverage preview as current net APY vs projected APY after the deposit/change.
  • Shows pool utilization before and after the proposed loop size.
  • Aligns the frontend kink math with reserve max_util and updates the Rust simulator net APY rows to use post-loop rates.
  • Keeps frontend typecheck working by enabling .ts imports and removing stale wallet modal params.

Verification

  • npm run build
  • npx tsc --noEmit
  • git diff --check
  • cargo build --bin simulate with CARGO_NET_GIT_FETCH_WITH_CLI=true and short Cargo paths after enabling git config --global core.longpaths true; build passed with one pre-existing dead-code warning for EmissionData.expiration.
  • Browser check on http://127.0.0.1:5196: accepted disclaimer, opened demo mode, verified current/projected APY and pool utilization render, verified values update after changing amount/leverage inputs, and current-page console logs contain no warnings/errors.

Closes #33

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.

B6: Post-loop projected rates

1 participant