Skip to content

Treasury Tent ​

The Treasury Tent provides a transparent view into the DAO's financial health. Members can see the current treasury balance, active escrows (visualized as "expeditions"), and recent transaction history.

Accessing the Treasury Tent ​

  1. Walk to the golden Treasury Tent building in the Camp Hub
  2. When within range, an interaction prompt appears ("Press E / Click")
  3. Press E or click to open the Treasury Tent panel

Overview ​

The Treasury Tent displays three main sections:

  • Treasury Balance - The current DOM token balance held by the DAO
  • Expeditions Tab - Active escrows funding community projects
  • Transactions Tab - Recent financial activity

Treasury Balance ​

The balance is prominently displayed at the top of the panel, showing the total DOM tokens currently held in the cooperative's treasury. This balance:

  • Updates every 30 seconds automatically while the panel is open
  • Reflects deposits, payouts, escrow funding, and milestone releases
  • Is displayed with thousands separators for readability (e.g., "1,250,000 DOM")

Expeditions (Active Escrows) ​

The Expeditions tab shows funded community projects. Each expedition represents an escrow - funds set aside for a specific contractor or initiative with milestone-based release.

Expedition Cards ​

Each card displays:

  • Contractor Name - The party receiving the funds
  • Description - What the project accomplishes
  • Progress Bar - Visual indicator of milestone completion
  • Milestones - Completed vs total milestones (e.g., "2/4 milestones")
  • Funding - Amount released vs total escrow (e.g., "20,000 / 50,000 DOM")

Understanding Progress ​

  • The progress bar shows milestone completion as a percentage
  • As milestones are completed, funds are released to the contractor
  • "Active" status means the escrow is ongoing
  • The remaining balance is held securely until future milestones

Transactions History ​

The Transactions tab shows recent financial activity in the treasury, newest first.

Transaction Types ​

TypeIconDescription
Deposit+Funds received (dues, grants, donations)
Payout-Operational expenses and disbursements
New Expedition~Escrow created for a new project
Milestone~Funds released upon milestone completion
Profit Share+Surplus distribution to members

Transaction Details ​

Each transaction shows:

  • Type indicator with color coding (green for incoming, red for outgoing)
  • Description explaining the transaction
  • Amount in DOM tokens
  • Time relative (e.g., "2h ago") or absolute date

Loading States ​

When data is being fetched:

  • A pulsing skeleton animation appears in place of content
  • The balance, expeditions, and transactions each have their own loading state
  • You can continue viewing previously loaded sections while others load

Error Handling ​

If data fails to load:

  • An error message explains what went wrong
  • A Retry button allows you to attempt fetching again
  • The system automatically retries with exponential backoff
  • Previously loaded data remains visible during retry attempts

Common Errors ​

ErrorCauseResolution
"Failed to fetch balance"Network issueClick Retry or wait
"Network connection error"Connectivity lostCheck internet, retry
"Request timed out"Slow responseWait and retry

Live Updates ​

The Treasury Tent automatically refreshes data:

  • Polling interval: Every 30 seconds while the panel is open
  • Cache TTL: Data is cached for 30 seconds to reduce network calls
  • Last updated: The timestamp shows when data was last fetched

When you close and reopen the panel:

  • If data is fresh (within 30s), it displays immediately from cache
  • Otherwise, fresh data is fetched from the treasury canister

Tips ​

  • Check the Treasury Tent periodically to stay informed about DAO finances
  • Watch expedition progress to see community projects advancing
  • Review transactions to understand how funds flow through the cooperative
  • The balance includes all treasury holdings minus active escrow commitments
  • Expedition milestone releases are tracked transparently on-chain

Hello World DAO