Reading the ledger as Agent
Demo mode. The server holds a testnet key for every party. Each action is still signed by the one account entitled to it.
Who sees whatReading the ledger as Agent
Administrative agent
Keep the register, fix the rate, request payments and settle trades. The books live in an enclave; the contract on NEAR checks every payout against what the borrower paid in, so a mistyped total cannot move money.
Every lender's principal and interest. Only the agent, the borrower and Northwind's auditor can open the register; each lender's envelope holds its own line and nothing else.
| Lender | Principal | Share | Accrues from | Due at period end |
|---|---|---|---|---|
| Alder | 39,750,000.00 | 39.75% | 15 Jul 2027 | 793,975.00 |
| Birch | 30,000,000.00 | 30.00% | 15 Jun 2027 | 598,000.00 |
| Cedar | 20,000,000.00 | 20.00% | 15 Jun 2027 | 398,666.66 |
| Delta | 10,000,000.00 | 10.00% | 15 Jun 2027 | 199,333.33 |
| fe0b…2de2 | 250,000.00 | 0.25% | 15 Jul 2027 | 3,358.33 |
The chain shows this request's total and what the borrower has paid in. The legs below are in the agent's envelope only. Settling credits every lender in one step, or none.
Interest to 15 Sept 2027 (USDC)
1,993,333.32
On the public chain: total 1,993,333.32, paid in 0.00.
| Lender | Due |
|---|---|
| Alder | 793,975.00 |
| Birch | 598,000.00 |
| Cedar | 398,666.66 |
| Delta | 199,333.33 |
| fe0b…2de2 | 3,358.33 |
An accepted trade settles cash against loan in one step, or not at all. At settlement the enclave screens the buyer against the borrower's DQ list. A buyer that fails is told only that the trade did not settle; the reason reaches the agent alone.
| Seller → buyer | Par | Price | Cash | Trade date | Status | Screening | Actions |
|---|---|---|---|---|---|---|---|
| Alder → fe0b…2de2 | 250,000.00 | 99.50 | 248,750.00 | 15 Jul 2027 | Settled | Cleared | |
| Alder → Delta | 10,000,000.00 | 99.50 | 9,950,000.00 | 14 Jan 2027 | Settled | Cleared | |
| Alder → Rival | 10,000,000.00 | 99.50 | 9,950,000.00 | 14 Jan 2027 | Not settled | The buyer is on the DQ list. |
One settlement credits every lender inside the books. A short payment pays every lender the same fraction; the rest stays owed.
| Payment | Lender | Due | Paid (USDC) |
|---|---|---|---|
| Interest to 15 Jun 2027 | Alder | 1,219,833.33 | 1,219,833.33 |
| Interest to 15 Jun 2027 | Birch | 890,500.00 | 890,500.00 |
| Interest to 15 Jun 2027 | Cedar | 593,666.66 | 593,666.66 |
| Interest to 15 Jun 2027 | Delta | 264,333.33 | 264,333.33 |
| Interest to 15 Mar 2027 | Alder | 845,000.00 | 422,500.00 |
| Interest to 15 Mar 2027 | Birch | 585,000.00 | 292,500.00 |
| Interest to 15 Mar 2027 | Cedar | 390,000.00 | 195,000.00 |
| Interest to 15 Mar 2027 | Delta | 130,000.00 | 65,000.00 |
| Interest to 15 Dec 2026 | Alder | 985,833.33 | 985,833.33 |
| Interest to 15 Dec 2026 | Birch | 591,500.00 | 591,500.00 |
| Interest to 15 Dec 2026 | Cedar | 394,333.33 | 394,333.33 |
This screen is Agent's envelope, opened with Agent's view key. Anyone can fetch the bytes below from the contract; without that key they are noise.
h40VNHRDgeSEe7E4gSyihWg55cmYJQ1XVucKBbm74yPq+d7pglTYQATm8FFwe32EJvJxGVYNcVAB0fGrGH67l6WAuaVtnz9XI94Wr8hmTrmrqFzXWoLy+6hciBYokiwFlQVHVG/z/lJMMrpArXypyQLaOP4GLE4SxnVhK3IKieAuhHQOizMd/nxdNU66MVQUfCFtRiOpB6X+DItJ4Xlm4Wpb+PsH9cRtJ0Furbbr9ErlMF7VmRmy5p3E3LML9HaC9D21CiZS6EQPnCUTnDa/uzBq…
3,158 bytes, written after action #40 to ledger.paridesk.testnet. The books' fingerprint on the chain is b19d411ef6…ce4d47.
Show one fact, and nothing else
Next to the envelope the chain holds a commitment, 9f837168e2…c3f66a: the enclave's hash over every fact inside. With it Agent can hand one fact to an outsider, a bank or a regulator, who checks it against NEAR with no key and learns nothing else.