Skip to content

chore: branch protection docs, treasury pagination, ABI explorer, CODEOWNERS#133

Merged
levoski1 merged 2 commits into
WHEELBACK:mainfrom
onoja24cash-code:chore/branch-protection-docs-treasury-abi-codeowners
Jun 25, 2026
Merged

chore: branch protection docs, treasury pagination, ABI explorer, CODEOWNERS#133
levoski1 merged 2 commits into
WHEELBACK:mainfrom
onoja24cash-code:chore/branch-protection-docs-treasury-abi-codeowners

Conversation

@onoja24cash-code

@onoja24cash-code onoja24cash-code commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

closes #37
closes #38
closes #39
closes #40

Summary

Four chores bundled together:

1. CONTRIBUTING.md — Branch Protection section

Documents required CI status checks (contract-build, contract-tests, abi-snapshot-hygiene, markdown-lint, frontend-build), the 1-approval rule (2 for mainnet-related changes), and that direct pushes to main are not allowed.

2. Treasury — paginated get_pending_settlements

Replaces the stub with a real implementation that iterates all settlement IDs, filters to SettlementStatus::Pending, and applies offset/limit pagination (default cap 100). Read-only, no state mutations.

3. Frontend — ABI Explorer page

New ABIExplorer component at /abi that lists all deployed contract functions (invoice, treasury, compliance) in collapsible per-contract sections. Read-only, sourced from committed ABI metadata.

4. .github/CODEOWNERS

Assigns @dreamgeneX as required reviewer for contracts/, scripts/, docs/, frontend/, and comebackhere-frontend/.

…EOWNERS

- CONTRIBUTING.md: add Branch Protection section documenting required CI
  checks (contract-build, contract-tests, abi-snapshot-hygiene,
  markdown-lint, frontend-build), 1-approval rule and 2-approval rule
  for mainnet-related changes, and no direct pushes to main
- treasury/src/lib.rs: replace stub get_pending_settlements with
  paginated version accepting offset/limit (default cap 100), filters
  on SettlementStatus::Pending
- frontend: add ABIExplorer component (read-only, collapsible per
  contract) and wire /abi route in App.tsx
- .github/CODEOWNERS: assign @dreamgeneX to contracts/, scripts/,
  docs/, frontend/, and comebackhere-frontend/
@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@onoja24cash-code 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

@levoski1 levoski1 merged commit 0035d47 into WHEELBACK:main Jun 25, 2026
0 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

2 participants