The eight programs
payment-rails
payment rails
credit-gate
credit gate
auction-engine
auction engine
liquidity-facility
liquidity facility
How it fits together
- Asset & compliance. NPCS is a default-frozen Token-2022 mint. Token ACL routes thaw decisions to credit-gate, which reads SAS attestations and enforces the holder cap, lot seasoning and the block-list.
- Pricing. mark-engine publishes NAV; auction-engine runs sealed-bid sessions against the mark taken at session open and publishes the clearing print back.
- Queue & liquidity. queue-claim tokenizes redemption requests; liquidity-facility advances against them.
- Risk transfer. tranche-engine splits a pool into senior and junior books; npcs-treasury mints and redeems NPCS against the USDC sleeve.
- Cash. payment-rails holds every USDC and asset escrow, settles DvP, and admits engines through an
EngineGrant.
Who can touch the money
The operator that drives a live fill reports reveals and chooses the matching, but cannot redirect value. The seller is paid only into its own account, the buyer receives only into its own, and fees and reserve go only to accounts recorded at session open. For every fill to_seller + fee + to_reserve == gross, computed in u128 and checked against real balances.
On devnet, the upgrade authority of payment-rails and credit-gate, and the NPCS mint authorities, sit with a Squads v4 2-of-2 multisig behind a 48-hour timelock; the engine programs are still upgraded by a single devnet deployer key. The live authority map is on the app's admin page. NUNDINA never holds the asset's freeze or permanent-delegate authority for issuer purposes, NAV publication, or custody of client assets.
Details: Program Map & Accounts, Deployment, Governance & Ops.
