Enbank docs
Markets
Preview desks for private credit, encrypted cash, dark-pool matching, and lending.
Market list
The markets view is a fixed catalog. Allocating debits the preview vault and updates a position. It does not submit an order to a venue.
| Market | Kind | Asset | Shown rate |
|---|---|---|---|
| Encrypted USDC | Lending | USDC | 4.8% preview rate |
| SOL / USDC | Dark pool | USDC | Size and side hidden |
| Aureum Credit | Private credit | USDC | 7.1% preview rate |
| eUSD Vault | Cash | eUSD | 3.6% preview rate |
The catalog copy describes the production intent: supply stays encrypted, a dark pool matches without a public book, and collateral value is an MXE input. The rates above are constants in the client.
Allocate
allocate takes market, kind, asset, and amount. It uses the same balance check as send. On success it:
- Subtracts the rounded amount from the asset balance.
- If a position already has that market name, increments
totalandmovesTodayand sets status toQueued. - Otherwise prepends a position with
movesToday: 1,total: 1, statusQueued,roundTrip: "—", andspan: "month". - Prepends an activity row with
kind: "allocate", the market as the title, the kind as the detail, and statusQueued.
The toast is "Allocation sealed on this desk." Allocate does not update transit.
Positions
The seed desk includes four positions so the table is readable before you allocate.
| Name | Desk | Status | Round trip | Span |
|---|---|---|---|---|
| Aureum Desk | Private credit | Ongoing | — | month |
| Harbor Vault | Encrypted cash | Ongoing | 6h | month |
| Northline Pool | Dark pool | Settled | 2h | year |
| Cinder Yield | Private lending | Queued | 18h | year |
movesToday and total are counters, not token amounts. Adding a position from the vault uses crypto.randomUUID(), status Queued, and zero moves. Archiving filters that id out of the array. Search matches name and desk as a case-insensitive substring. It does not search amounts.
Position status is one of Ongoing, Settled, or Queued. Activity status is a different enum, below.
Rates
In the production model, a lending rate would be computed inside the MXE over sealed supply, so the balance behind the rate is not a public account. A dark-pool match would compare encrypted size and side and publish a fill without the ticket. Those circuits are not in this repository. The percentages in the table are labels for the preview cards.
Activity statuses
Activity rows use a separate pair of enums.
kind: "shield" | "receive" | "send" | "allocate"
status: "Shielded" | "Queued" | "Settled"The seed includes a shielded vault row with a null amount, a settled inbound of 12,400 USDC from a shortened counterparty, and two queued allocations (5,000 and 1,800 USDC). settle can mark any row Settled. That write is local. Export behavior, including the sealed amount column, is on the preview ledger page.
