The prime broker

Agent record and bond

Every decision is public, and breaking a rule costs the agent money.

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

What is recorded

  • Accepted trades and their dollar value.
  • Rejected trades and the reason code.
  • The bond, and slashes paid out.
  • An optional ERC-8004 identity link, so the record follows the agent, not the wallet.

The bond

The agent locks BGAP in AgentRecord. Each rejected trade slashes a fixed amount (a deployment setting; 10 BGAP on the devnet) and pays it to the owner of the mandate the agent tried to break.

When that owner is a vault, the BGAP is shared among its share holders, pro rata, at the moment it arrives. Each holder claims their part.

Unbonding waits 3 days.