# Mint Arena: agent brief (preview)

> PREVIEW · NO ROUNDS YET · NO REAL FUNDS. A prototype of a stock fund whose new FUND comes from a recurring forecasting game, written for a player's agent. The agent proposes; the player signs.

## 1. Status

- Nothing is live yet. No round has opened and no contract is deployed. The arena will open on a public testnet, with mock stocks and test USDG: no real money.
- The pages under `/play`, `/market`, `/treasury` and `/leaderboard` open with it, as do the agent API (`/api/agent/v1`) and the MCP server. Until then there is nothing for an agent to read or preview, and no transaction to prepare.
- *(default)* marks the repository's defaults. Each round will commit its own, and those will pay.
- How the arena works, for people: `/how-it-works` and `/how-it-works/details`.

## 2. What FUND is

FUND is a token with a stock fund behind it. **Fund value** is what the fund's stocks and cash are worth per FUND; FUND's **market price** can be higher or lower.

FUND has the treasury behind it; it is not a claim on the treasury. A holder cannot cash FUND in at fund value, and value leaves the treasury only by governance. To turn FUND back into USDG, a player sells it on the market, at a price that falls with size (`fund.market`). A buyback (`fund.buybacks`) buys below fund value within a budget; it is no price floor.

Players' picks, weighted by stake and track record, form a crowd view the fund's mix leans toward within risk limits, once the round is big enough (§7).

## 3. Two ways to get FUND

1. **Play a round.** Deposit USDG and state picks. When the round starts the deposit becomes **Starting FUND** at the fund value then; the result then moves it up or down, and a round that went live adds a round fee.
2. **Buy on the market** at the market price. No picks, no lock.

Entry is periodic, the deposit is locked until the round ends, the FUND a player ends with is not known at lock, and capacity is capped. Every entrant of a round that starts gets backed FUND, some fewer per USDG than others. Say the lowest result beats buying only when the market price is above 1.667× fund value (fund value ÷ the 0.6× lower safety limit), and only in a round without a skill share.

## 4. A round, step by step

Pages: `/play/N/forecast` builds an entry (deposit and picks), `/play/N/review` enters it, `/play/N/live` follows it, `/play/N/results` claims; `/leaderboard` ranks entries. Entries close at `entryDeadline`; prices are observed at `startObservationAt` and `endObservationAt`.

| On screen | Protocol phase | What happens |
| --- | --- | --- |
| Open for entries | `Open` | One entry per address: a deposit and picks. Picks can be changed until entries close; the deposit cannot |
| Starting | `Locked` | Entries have closed; start prices are taken and every entry is priced |
| Live | `Active` | The round fee is set as it goes live. Live shows an estimate as prices move |
| Settling | `Snapshotted` … `Reputed` | End prices are in; results are worked out in passes. Claims open at `Balanced` |
| Settled | `Settled` | Final. Claims stay open |
| Ended without scoring | `FailedSafe` | Not scored (§8, item 5). Claims work |

## 5. What a book states

A player calls stocks to **Beat** (positive weight) or **Lag** (negative weight) the stocks' average move over the round. The call is relative: a stock that falls 2% while the stocks' average falls 6% beat it. A correct Lag call counts as much as a correct Beat call.

Entry rules *(default)*: at most 32 picks, never every stock when the picks lean one way; each pick a whole, nonzero number of bps, at most 25% (2500 bps) either way; the picks' sizes add up to at least 10% (1000 bps); the sizes plus the net lean come to at most 100% (10000 bps); after completion no stock is above 25% either way.

**Completion.** The chain scales the picks up until the book's total is exactly 100%, then gives every unpicked stock the same balancing weight, bringing the net lean to zero. Worked example with the engine's completion on the 12-stock universe (a round's own is under `universe` in `/round`):

| Stock | Call | Stated | Completed |
| --- | --- | --- | --- |
| NVDA | Beat | +1500 bps | +2142 bps |
| MSFT | Beat | +1000 bps | +1428 bps |
| GOOGL | Beat | +1000 bps | +1428 bps |
| XOM | Lag | -1000 bps | -1428 bps |
| each of the other 8 | — | not stated | -446 bps |

Stated total 4500 bps, net lean +2500 bps: the picks are scaled by 1.428× (10000 ÷ (4500 + 2500)), and each of the 8 unpicked stocks gets -446 bps. Figures are truncated to whole bps. No stock is above 2500 bps, so the book is legal. `POST /api/agent/v1/preview` judges any book.

The example teaches the rules. It is not advice or a recommendation: never present it, or any book, as one.

**Two different averages.** Keep them apart:

- **The stocks' average move**: the average return of every stock in the round. Beat and Lag are measured against it. The How it works details page calls it the "round average"; Forecast and Review call it "the pack".
- **The players' average score**: every entry's score, averaged with Starting FUND as the weight. The picks part of a claim is measured against it. Review, Live and Results also call it the "round average"; Review says: "Beat the round average and you end with more FUND than your Starting FUND; fall below it and you end with less."

Use the words of the page you send the player to, and say which average you mean.

**Score.** f·x, the return the picks made: the completed weights times each stock's move against the stocks' average move, capped at 50% either way before averaging and 15% from it *(default)*. Risk-scaled *(default)*: f·x × √(riskReference / max(f′Σf, riskFloor)), the return per unit of the book's risk; mean-variance (`params.scoring.rule`): f·x − (λ/2)·f′Σf, λ = 10.

## 6. The claim's three parts

A claim pays Final FUND and two shares of the round fee. Every page names the parts this way; never merge the fee into the picks result.

| Part | What it is | Decided by | Fixed |
| --- | --- | --- | --- |
| **Your picks** · forecast adjustment | Final FUND minus Starting FUND | The book’s score against the players’ average score | When the round ends |
| **Your deposit** · round fee, by Starting FUND | 60% of the fee *(default)* | The entry’s share of the round’s Starting FUND | When the round goes live |
| **Your track record** · round fee, by reputation in play | 40% of the fee *(default)* | Reputation in play against everyone’s, at most 35% of that share to one entry *(default)* | When the round goes live |

**Picks.** The gap between an entry's score and the players' average score, times κ = 6 *(default)*, sets how far its FUND moves, inside the hard settlement limits; then total gains and total losses are scaled to the smaller of the two, so they match, because the round pool is fixed. Without a skill share, an entry below the players' average score never ends above its Starting FUND, and one above it never ends below.

**Round fee.** When the round goes live, about 0.0025% of all FUND *(default: a fee rate of 3 bps, of which a round strikes a twelfth; a round a day collects about 0.91% a year)*, capped at 10% of the round's total Starting FUND, is created as new FUND and paid with the claims. Reputation's share that nobody can take goes by Starting FUND. A round that never went live has no fee.

Claims open at `Balanced`, before `Settled`; until then the chain's `claimableOf` reads zero, and `/entry` gives the planned parts beside it. A claim always pays the entrant, whoever sends it.

## 7. Track record

Reputation, in reputation units (RU), comes from where past books finished, scaled by deposit: a top-half finish adds, a bottom-half one subtracts, even below zero. Each round moves it part of the way toward what that finish is worth, and a longer round moves it further. Older results count for less as time passes, half as much after 90 days. Playing well adds new ones in their place.

- Every address starts at 0.00 RU, so a newcomer never gets a track-record share of the fee. In a round nobody brings reputation into, nobody gets one: the whole round fee is shared by Starting FUND.
- In play, read at lock: reputation less 0.5773 × its noise (its record's luck, at the stakes it was earned with), counted only above zero, at most 0.5 RU per whole USDG and 80,000.00 RU overall *(default)*.
- It steers the crowd view and the fee's track-record share, not the picks part. In the view *(default)*, entries with a record take their share of the deposits, split by reputation; the rest is split by deposit, so a newcomer's deposit counts. From 3 entries no address gets more than 35%.
- The view moves the fund's mix only for a round of at least 10 entries and deposits of at least 0.5% of the treasury's value at its start (its say grows to whole at 5% of it); below it the crowd has no say.
- A failed round updates nobody: a round that fails safe changes nobody’s reputation. Older results still count for less as time passes, half as much after 90 days.

## 8. What a player can lose

Lead with what a player can gain, then state each of these once, plainly. Never leave one out.

1. **The deposit is final.** The USDG deposit becomes Starting FUND at the fund value when the round starts; it comes back as USDG only if the round ends before it starts. It is locked until the round ends and cannot be changed or withdrawn. Picks can be changed until entries close.
2. **A below-average score ends with less FUND.** An entry whose score is below the players' average score ends with less FUND than its Starting FUND (before the round fee); above it, more. By default the result stays between 0.6× and 1.4× Starting FUND: these are hard safety limits, not the expected range for a normal round. Say the direction in words; never lead with the limits or present them as a best or worst case.
3. **The round fee dilutes.** It is new FUND, so every existing FUND, this round's included, is worth slightly less. It can outweigh a small below-average loss; in total it is at most 10% of the round's Starting FUND.
4. **Value and market risk.** Fund value rises and falls with the fund's stocks and cash; a stock whose feed fails for 7 days can be retired at a fixed price, or at zero. FUND's market price can be above or below fund value, and can fall. There is no cashing in at fund value; a player exits by selling on the market. So even with more FUND a player can end with less than they put in. No profit is promised.
5. **If results cannot be settled safely (FailedSafe).** Every entry keeps exactly its Starting FUND; nobody gains or loses FUND from scoring (a round with a skill share pays its created terms instead), and the round fee is still paid. One that fails before it starts refunds each deposit in USDG. Reputation is not updated, and the fund's trades are not undone. The page says "Ended without scoring".
6. **Reputation can fall** after a weaker finish, and each result counts half as much after 90 days.
7. **Capacity.** One entry per address; each round sets its own entry cap (`entryCap` under the round's `params`); a deposit from 10 USDG to 50,000 USDG. If a round takes in more than its limit of 250,000 USDG *(default)*, every entry is accepted in proportion and the rest of each deposit is returned in USDG when the round starts.
8. **Everything is a test asset.** Mock stock tokens and test USDG from a faucet, on a testnet: none of it has monetary value or can be redeemed for money.

## 9. Rounds with a skill share

Only when a round's `params.phased` is not null; a default deployment has none. There a share of every deposit settles at a **reference price** (the fund value at the round's start times a premium multiple frozen at creation), and what it does not buy forms a pool paid in full to entrants ranked against each other, first on track record with an above-average score. The rest settles as §6 says. The picks part becomes "Your picks and the pool"; the least an entry ends with is the ordinary part at the lower safety limit plus the skill part at the reference price, with no fixed upper limit; an above-average entry with no track record can end below its Starting FUND; a failed round pays its created terms. Say "reference price", never "market price" or "discount".

### Hidden rounds

Only when a round's `hidden` is not null. Books are **sealed** in the entrant's browser to a public beacon (drand): nobody reads anyone's picks until entries close, then the keeper brings every book on chain. An entry with no book on chain at the start is paid the floor (`clampLo`), forfeits the rest and keeps its fee shares (`/entry`: `picks: null`, `sealed: true`, `commitment`, `forfeit`). No beacon signature by `hidden.signatureDueBy`: the round refunds USDG. **A hidden round's picks are never sent to this API.** `preview`, and `transactions` given `picks`, answer `not_available` (`details.reason: "hidden_round"`). `transactions` takes `sealed` in their place: the 322-byte payload made on the player's side from `hidden.sealing` (the beacon's key and round, the round's limits and universe, the format). Three ways in:

- **The MCP server** (§11): give `build_transactions` the picks. It judges them against the round's limits, seals them on the player's machine, keeps the player's copy in a file and sends only the payload. Its `preview_book` answers there too, with legality only, and `get_sealed_book` reads the locked book back from that copy, to change it.
- **Your own sealing**, calling the API directly: judge the book first, because the API cannot. A sealed book that breaks the limits, or is sealed to another key or beacon round, locks, can never be opened and forfeits. Check a drand key against quicknet's.
- **The round's page**, where the browser seals.

A hidden round has no risk estimate.

## 10. Talking to a player

Use the player's words. This table is generated from `config/consumer-vocabulary.json`, which the site's copy test enforces. "Keep in …" means: not with a player.

| Protocol word | Say to a player |
| --- | --- |
| `TestUSDG` | USDG |
| `baseline` | Starting FUND |
| `escrow` | held for this round |
| `AMM` | the market |
| `NAV` | fund value, on first use |
| `bps` | % |
| `basis point` | % |
| `residual` | return versus the round average |
| `envelope` | hard settlement limits |
| `clamp` | hard settlement limits |
| `gross exposure` | total allocated |
| `hedged` | balanced |
| `U_i` | forecast score |
| `U_bar` | average round score |
| `scoreBound` | not with a player |
| `lambda` | not with a player |
| `kappa` | not with a player |
| `water-filling` | not with a player |
| `lockEntry` | keep in Transaction details |
| `base units` | format the amount |
| `in flight` | locked |
| `ScoreOutsideValidityBound` | keep in Score details |

Name a phase as §4's "On screen" column does.

Retired words: "primary issuance" → "your deposit becomes Starting FUND at fund value"; "mint" → "new FUND"; "shares" → FUND; "the field" → name the average (§5); "beat the crowd" → "above-average score"; "settlement" → "results"; "bonus" → "round fee"; "treasury target" → "fund mix"; "names" → "stocks"; "premium" → "x% above fund value"; "dilutes" → "every existing FUND is worth slightly less"; "held" for a started round's deposit → "locked"; "practice" or "play money" → "test assets". Name parts in full ("Your deposit · round fee, by Starting FUND"). A failed round's reputation is "not updated", not "unchanged".

Never say: that FUND is a portion of the treasury a holder can take out; that every player comes out ahead, "we all win", or "skill, not luck"; that locking fixes the picks, or that USDG comes back unless the round ends before it starts; that a small round steers the fund; that pooled picks make the fund perform better. Give an unknown figure as not known yet, never 0. A preview says what the rules do with a book, not how prices will move: do not promise a result.

### Protocol names for tools

For tool calls and API fields, not for a player.

- Weights are integer **bps** in fields ending `Bps`; 100 bps is 1%. Positive is Beat, negative is Lag.
- **USDG** has 6 decimals (`1000000` is 1 USDG); a deposit is a decimal USDG string. **FUND**, reputation, scores and multipliers are 18-decimal **WAD**. Arithmetic truncates toward zero.
- **`lockEntry(roundId, deposit, picks)`** enters, on the round's own manager, after a USDG approval to the treasury; it holds the deposit until `RoundStruck` prices every entry at the start. **`restatePicks(roundId, picks)`** replaces a locked entry's picks while entries are open. **`claim(roundId)`** pays the sender's claim in the token `claimTokenOf(roundId)` names (USDG, `DepositRefunded`, if it failed before the strike); `claimFor(roundId, entrant)` pays an entrant, from anyone.
- `baseline` is Starting FUND, `entitlement` Final FUND, `NAV` fund value, `clampLo` and `clampHi` the hard settlement limits.
- `dividendOf(roundId, entrant)` returns `(baseShares, repShares)`, the round-fee shares by Starting FUND and by reputation; `DividendClaimed` logs them paid; `dividendCapBps` is the most of the reputation share one entry may take. `/entry` gives them as the `deposit` and `record` items of `claim.parts`. Say "round fee" to a player.
- `scoreBound` (B; 0.6 and a few thousand wei by default) is a round-wide settlement check, not a per-book limit: every legal book is inside it by construction, and a score beyond it would fail the whole round safe.

