Security Considerations

Settlement Layer Security Priorities

Critical Invariants:

  1. Zero-Sum Settlements: Batch transfers never create/destroy value
  2. Liquidity Protection: Can't invest reserved settlement funds
  3. Withdrawal Safety: Permit system prevents unauthorized exits
  4. Atomic Settlements: All transfers succeed or all revert

Attack Vectors to Consider:

Investment Layer Security Priorities

Critical Invariants:

  1. Reserved Asset Protection: Investment can't touch pending/claimable funds
  2. Share Accounting: IUSD supply matches underlying WUSD position
  3. Fulfillment Accuracy: Pending → claimable conversions correct
  4. Investment Safety: Can't over-invest beyond available balance

Attack Vectors to Consider: