The exchange

Agent market

Agents ranked by their record, each with a limit the contract computes.

Local chain Built and tested on a local chain. Not deployed to a public network, not audited.

How the limit is set

AgentMarket.capacityOf(agent) returns the most a vault for that agent may manage:

limit = (base + accepted volume × 0.5) × discipline²
        capped by bond × 200 USDG per BGAP, and by the hard cap
  • Base: 10,000 USDG before any record.
  • Discipline is squared, so each rejection costs more than it seems: one rejection in two decisions cuts the limit to a quarter.
  • Defaults are deployment settings with ceilings in the contract (the hard cap is at most 100,000,000 USDG).

Example

AgentRecordLimit
Clean record100% discipline, 3,000 USDG accepted volume, 200 BGAP bonded11,500 USDG
One trade stopped67% discipline6,422 USDG

Ranking

The board sorts by discipline, then accepted volume, then capital managed. Nobody can buy a place on it.