Changelog entry
Bounty Board — Contract data model and escrow API (P3.4A)
2026-03-20
- Added `Contract` and `ContractClaim` data models to support the Bounty Board feature.
- Contracts let nations post bounties targeting a nation or alliance for a specific action (DECLARE_WAR, ATTACK_N_TIMES, WIN_WAR, BLOCKADE, SABOTAGE, SCOUT).
- Reward escrow (full reward amount) and a 5% listing fee are deducted from the poster's balance on creation.
- Abuse-prevention rules enforced: same-alliance targets blocked, active treaties block contract placement, minimum reward of 10,000, maximum of 5 active contracts per nation.
- Claims are non-exclusive: multiple nations may register intent to fulfil the same contract.
- New API endpoints: `POST /api/contracts/create`, `POST /api/contracts/claim`, `GET /api/contracts`.