Skip to Content

Work Package #5

Name

WP5 — Revenue Allocation & Treasury Management

High-Level Description

This work package implements the revenue allocation layer — the mechanism by which network surplus (S = I − O) is computed, apportioned between team payouts and the LP surplus share (S_LP = lambda * S), and routed to the appropriate treasury and holding accounts. It covers the on-chain accounting logic, the solvency constraints enforced at the contract level (total payouts cannot exceed available funds), and the treasury management interfaces for hub-network operators. This work package is closely coupled with WP3 (which determines team-level weights) and WP4 (which provides the demand signals that inform inflow totals), and feeds directly into WP6 (certificate redemption).

(max 10,000 characters)


Core Objectives

  • Implement the surplus computation logic (S = I − O) drawing on demand signal totals from WP4 and team payout records from WP3.
  • Implement the LP surplus allocation mechanism (S_LP = lambda * S) with governance-configurable lambda parameter.
  • Build the treasury and holding account structures on Cardano for hub-network, hub, and LP surplus pools.
  • Enforce the solvency constraint (total payouts ≤ available funds) at the contract level.
  • Provide hub-network operators with treasury dashboards for balance visibility, inflow/outflow tracking, and governance parameter management.
  • Integrate with WP6 to make LP surplus available for certificate redemption.

(max 10,000 characters)


Expected Value — Why does this matter to Cardano?

Revenue allocation is the moment the protocol’s financial promise is made good: surplus generated by real economic activity is transparently apportioned and directed to the correct accounts. Correctly implemented, this layer demonstrates that revenue-linked participation is not theoretical — it is an auditable, automated process. For Cardano, this establishes a model for programmable, multi-party treasury management at hub-network scale, with hard solvency guarantees enforced on-chain.

(max 4,000 characters)


Success Metrics

  • Surplus computation produces correct results across at least 5 test scenarios with known inputs, including edge cases at the solvency boundary.
  • Lambda parameter configurable by governance and correctly applied to LP surplus pool on testnet.
  • Treasury accounts for at least one simulated hub-network deployed and operational on testnet.
  • Solvency constraint verified to prevent any distribution that would exceed available funds.
  • Integration with WP6 confirmed — LP surplus pool accessible for redemption processing.

(max 4,000 characters)


Initiative Type

[x] New initiative

Primary Nature of Work

[x] Technical

Milestones

Milestone #1
FieldDetails
Milestone NameM5.1 — Surplus Computation & Allocation Logic
DeliverablesSurplus computation service; LP allocation module; lambda governance parameter; solvency constraint enforcement.
Acceptance CriteriaCorrect outputs across all defined test scenarios; solvency constraint cannot be bypassed.
Estimated Duration5 weeks
Milestone #2
FieldDetails
Milestone NameM5.2 — Treasury Accounts & Operator Interface
DeliverablesOn-chain treasury and holding account structures; hub-network operator dashboard.
Acceptance CriteriaTreasury accounts deployed on testnet; operator interface shows correct balances and flows.
Estimated Duration4 weeks
Milestone #3
FieldDetails
Milestone NameM5.3 — Integration & End-to-End Test
DeliverablesIntegration with WP3, WP4, WP6; full end-to-end allocation test on testnet.
Acceptance CriteriaSurplus flows correctly from demand signal totals through to LP surplus pool and team accounts without discrepancy.
Estimated Duration3 weeks

Budget Breakdown — Work Package #5

Cost CategoryResources (Labour)Item DescriptionQuantityUnit Cost (ADA)Total Cost (ADA)
DevelopmentPlutus Smart Contract EngineerTreasury contracts, solvency constraints, allocation logic1110,000110,000
DevelopmentBackend EngineerSurplus computation service and governance module180,00080,000
DevelopmentFrontend EngineerOperator treasury dashboard150,00050,000
TOTAL240,000

Supporting Materials

[To be added]
Last updated on