Skip to content

feat: vault yield layer tests, surge-fee scaling, admin moderation dashboard & share tooling - #355

Merged
PeterOche merged 3 commits into
degenspot:mainfrom
khalyaro:feature/khalyaro-vault-surge-fee-admin-share
Sep 1, 2026
Merged

feat: vault yield layer tests, surge-fee scaling, admin moderation dashboard & share tooling#355
PeterOche merged 3 commits into
degenspot:mainfrom
khalyaro:feature/khalyaro-vault-surge-fee-admin-share

Conversation

@khalyaro

Copy link
Copy Markdown
Contributor

Changes

Stellar Contracts (tests)

Frontend

Verification

  • \cargo test --workspace\ — 43 call_registry + 19 outcome_manager tests pass
  • \cargo clippy\ / \cargo fmt\ — clean
  • All new frontend components follow the project's existing component patterns

Closes #319
Closes #318
Closes #269
Closes #268

…shboard, share & OG metadata

Implements:
- SC-006: Phoenix-compatible vault yield layer tests (deposit on create/stake, withdraw on finalize, admin-auth guard, no-vault fallback)
- SC-005: Surge-fee scaling to 200bps boundary & property tests (9/10/19/20/299/300/301)
- FE-21: Admin moderation dashboard (flagged calls table, dispute queue)
- FE-20: Share & deep-link with OG metadata generator

Closes degenspot#319
Closes degenspot#318
Closes degenspot#269
Closes degenspot#268
@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@khalyaro Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@PeterOche

Copy link
Copy Markdown
Contributor

@khalyaro your pr is failing checks, please fix

…o fix frontend CI

The Frontend CI build was failing because the new admin and share
components imported Button, Card, and Tooltip from @/components/ui/
which did not exist in the repo.

Changes:
- Add components/ui/Button.tsx (CVA-based, supports ghost/outline/destructive/sm/icon variants)
- Add components/ui/Card.tsx (Card, CardHeader, CardTitle, CardContent)
- Add components/ui/Tooltip.tsx (Radix UI tooltip wrapper)
- Remove unused imports from admin page, FlaggedTable, and DisputeQueue
  to keep the frontend build lint-clean.
@khalyaro
khalyaro force-pushed the feature/khalyaro-vault-surge-fee-admin-share branch from 09127c3 to b280528 Compare August 31, 2026 14:57
Merge branch 'main' (upstream) to resolve the merge conflict on the PR.

Conflict resolution:
- call_registry/src/test.rs: took upstream/main as the base and re-added the
  PR's unique SC-005 (surge-fee boundary/property tests) and SC-006 (vault
  yield layer with MockVault) tests, adapted to the current lib.rs API
  (set_outcome_manager + vault_rebalance bool on finalize_call).
- components/ui/Button.tsx, Card.tsx, Tooltip.tsx: adopted upstream/main's
  canonical implementations (using cn from lib/utils) for consistency.

Verified: cargo test --workspace (all pass), cargo fmt --check, wasm release
build, and frontend next build all succeed.
@PeterOche
PeterOche merged commit 36358dd into degenspot:main Sep 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants