Skip to content

build admin control panel#926

Merged
yahia008 merged 1 commit into
StellarCheckMate:mainfrom
henrypeters:feature/issue-743-build-admin-control-panel
Jun 27, 2026
Merged

build admin control panel#926
yahia008 merged 1 commit into
StellarCheckMate:mainfrom
henrypeters:feature/issue-743-build-admin-control-panel

Conversation

@henrypeters

@henrypeters henrypeters commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

What was added:

  • useAdminContract hook — reads contract state (admin, oracle, paused) and wraps all admin write operations
  • ConfirmDialog component — modal with a 10-second countdown before the confirm button becomes clickable, preventing accidental destructive actions
  • AdminPanel page — sections for pause/unpause toggle, token allowlist (add/remove), oracle rotation with current/new address preview, admin transfer, and a timestamped action log of all operations
    performed in the session
  • Route wired into App.tsx — no router dependency needed

Security properties:

  • Wallet must be connected and match the on-chain admin address; all other connected wallets see an access-denied message
  • Every state-changing action requires explicit confirmation through the countdown dialog
  • All actions are logged with timestamps in the session action log
    closes Build Admin Control Panel UI #743

@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@henrypeters 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

@yahia008 yahia008 merged commit 8263b77 into StellarCheckMate:main Jun 27, 2026
4 of 5 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

Development

Successfully merging this pull request may close these issues.

Build Admin Control Panel UI

2 participants