Skip to content

Treasury USDM Movement

This section is the USDM conservation proof for the audited interval.

The report treats the opening USDM state as an explicit initial condition. For this May lattice, the opening state is 0 USDM. The queries then integrate all in-interval inflows, outflows, and terminal state from the graph.

opening USDM + incoming USDM - outgoing USDM = terminal USDM

What Must Hold

The accounting gap must be zero, and the semantic classes must agree:

  • incoming USDM is produced by SundaeSwap V3 order consumers returning USDM to network_compliance,
  • outgoing USDM is paid by network_compliance to the CAG payee bridge,
  • terminal USDM is held by unspent network_compliance outputs.

Query Roles

flowchart LR
  opening[Opening USDM]
  incoming[Swap receipts]
  outgoing[CAG payments]
  terminal[Terminal USDM]
  gap[Accounting gap]

  opening --> equation[Conservation equation]
  incoming --> equation
  outgoing --> equation
  terminal --> equation
  equation --> gap