Skip to content

feat: resolve frontend issues - #399

Merged
Mikey-222 merged 4 commits into
Hel-Phone:mainfrom
ProBuidler:main
Aug 27, 2026
Merged

feat: resolve frontend issues#399
Mikey-222 merged 4 commits into
Hel-Phone:mainfrom
ProBuidler:main

Conversation

@ProBuidler

Copy link
Copy Markdown
Contributor

All 4 issues resolved and committed:

Closes #171 (0051f29): Admin dashboard at /admin

Owner-only access control via contract admin pubkey comparison
Contract overview showing admin address and payout amount
UI to update Aegis Vault payout amount
UI to upgrade contract verification key (WASM hash)
Admin functions added to contract.js

Closes #172 (2f20c34): Humanity circuit at circuits/src/humanity.nr

New Noir circuit verifying external identity provider signatures
Poseidon2-based nullifier generation from provider_secret + external_nullifier
Schnorr-style signature verification against on-chain provider pubkey
Tests for valid proof, nullifier mismatch, and zero nullifier cases
generateHumanityProof() and buildHumanityPublicInputsBytes() added to zk.js

Closes #175 (b3c6ed8): DAO governance at contracts/helphone_dao/

Soroban contract with proposal creation, voting, and execution
Token snapshot mechanics (balance checked at proposal creation ledger)
Governance params: 3-day voting, 1-day timelock, 20% quorum, 50% pass threshold
Proposal types: ProtocolUpgrade, FundAllocation, ParameterChange, General
Admin functions: set_governance_token, transfer_admin

Closes #180 (6349e6c): Vault dashboard at /vault

Campaign lookup by ID with balance and claim status
Fund campaign UI for donors
CampaignCard component with balance, per-claim payout, remaining claims
Vault status overview and wallet connection

- Add Admin.jsx page with owner-only access control
- Contract overview showing admin address and current payout
- UI to update Aegis Vault payout amount
- UI to upgrade contract verification key (WASM hash)
- Quick actions for app navigation and wallet reconnection
- Add admin functions to contract.js: getAegisAdmin, getAegisPayoutAmount,
  setAegisPayoutAmount, getAegisCampaignBalance, getAegisIsClaimed,
  upgradeAegisVault, withdrawProtocolFees
- Add /admin route to main.jsx
- New Noir circuit humanity.nr verifying external identity provider signatures
- Poseidon2-based nullifier generation (provider_secret, external_nullifier)
- Schnorr-style signature verification against on-chain provider pubkey
- Nullifier prevents double-registration without revealing identity
- Tests for valid proof, nullifier mismatch, and zero nullifier cases
- Add generateHumanityProof() to zk.js for in-browser proving
- Add buildHumanityPublicInputsBytes() for on-chain verification
- Add isHumanityProverReady() prover status check
…hots

- New helphone_dao contract with proposal creation, voting, and execution
- Token snapshot mechanics: balance checked at proposal creation ledger
- Governance parameters: 3-day voting, 1-day timelock, 20% quorum, 50% pass
- Proposal types: ProtocolUpgrade, FundAllocation, ParameterChange, General
- Vote directions: For, Against, Abstain with token-weighted tallies
- finalize_proposal checks quorum and pass threshold after voting ends
- execute_proposal enforces timelock before execution
- cancel_proposal for proposer or admin
- Admin functions: set_governance_token, transfer_admin
- Events: ProposalCreated, VoteCast, ProposalExecuted
- Basic unit tests for types and governance parameters
- New VaultDashboard page at /vault route
- Campaign lookup by ID with balance and claim status display
- Fund campaign UI with USDC amount input
- CampaignCard component showing balance, per-claim payout, remaining claims
- Vault status overview with payout amount and campaign count
- Wallet connection integration for contributors
- Visual status indicators (ACTIVE, CLAIMED, EMPTY)
- Add /vault route to main.jsx
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

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

@Mikey-222
Mikey-222 merged commit 370795a into Hel-Phone:main Aug 27, 2026
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