This site is a beta. Nothing is deployed to a network and no figure here is a real balance.

Skip to main content
POTUSFI
All docs

Architecture

How the contracts fit together, and who is allowed to call whom.

Spec: README Sections 43, 80, 82, 85

Three consumer-facing surfaces — account, credit, payments — sit on top of a lending engine, a monetary controller and a collateral registry. Governance reaches all of it through a timelock, never directly.

Contract dependency map
                 GOV NFT
                    │
                    ↓
              POTUS Governor
                    │
                    ↓
                Timelock
                    │
        ┌───────────┼───────────┐
        ↓           ↓           ↓
   Pool Config  Risk Config  Treasury
        │           │
        └─────┬─────┘
              ↓
         POTUS Comet ←── USDG (lenders in, borrowers out)
                     │
             ┌───────┼────────┐
             ↓       ↓        ↓
            SPY     AAPL     NVDA
             │       │        │
             └───────┼────────┘
                     ↓
                  Oracle
                     │
                  Chainlink

Separation of concerns

LayerResponsibility
GOV NFTPolicy — who decides
POTUS GovernorGovernance execution — proposals, voting, quorum
TimelockDelayed authorization; holds the privileged permissions
POTUS CometThe USDG pool — lender claims, debt, interest, collateral
Liquidation EnginePartial, competitive liquidation; the shortfall path
Oracle AdapterValuation — price, staleness, corporate actions