Skip to main content

Overview

The forum system includes specialized integration for DUNA (Decentralized Unincorporated Nonprofit Association) with dedicated components for quarterly reports and document management.
DUNA is a legal framework for DAOs to operate as unincorporated nonprofit associations. The forum provides specialized tools for DUNA compliance and reporting.

DUNA Category

Category Configuration

DUNA categories are marked with a special flag:

Get DUNA Category

src/lib/actions/forum/categories.ts

Quarterly Reports

Quarterly reports are forum topics in the DUNA category with specialized handling.

Create Quarterly Report

Reports are created as regular topics but in the DUNA category:

Report Structure

Quarterly reports follow a standard structure:

Comment on Reports

Community members can comment on quarterly reports:

Document Management

Upload DUNA Documents

DUNA documents are attached to the DUNA category:
src/lib/actions/forum/attachments.ts

Get DUNA Documents

src/lib/actions/forum/attachments.ts

Financial Statements

Financial statements are marked with a special flag:

Timed Document Releases

DUNA documents support scheduled releases:

Query Logic for Timed Documents

DUNA Administration

Admin-Only Topics

DUNA categories typically restrict topic creation to admins:

Permission Checks

src/lib/actions/forum/topics.ts

UI Components

While the source code doesn’t include DUNA-specific UI components in the provided files, the system supports these component types:

Report Card

Document Upload

Data Structure

Best Practices

Set adminOnlyTopics: true on DUNA categories to ensure only authorized users can post official reports.
Use the isFinancialStatement flag for proper categorization and compliance tracking.
Use revealTime for scheduled quarterly releases to maintain consistent reporting schedules.
Never hard delete DUNA documents - use archiving instead to maintain compliance records.
Allow community comments on reports for transparency and engagement.

Compliance Considerations

DUNA compliance requires proper documentation and timely reporting. Ensure:
  • Quarterly reports are published on schedule
  • Financial statements are accurate and complete
  • All documents are permanently stored on IPFS
  • Community has opportunity to review and comment
  • Admin actions are logged for audit trail

Next Steps

Attachments

Learn more about IPFS file storage

Moderation

Set up admin controls and permissions