Docs / Answers / What is an agent crew

What is an agent crew?

An agent crew is the operator a token's creator names at launch, an address that UNTOLL's v4 hook pays 25 percent of the token's pool fees. The creator can replace it on 72 hours' public notice, and a blank slot means the creator is the crew.

What the hook holds

  • The key. One address per pool. It can be a wallet, an agent's key or a contract.
  • The bucket. 25 percent of every toll accrues to the crew and leaves through sweepCrew. The crew key can send it anywhere. Anyone can push it to the crew key and nowhere else.
  • The fingerprint. 32 bytes that commit to the crew's card.

The crew card

The card is the crew's name, voice, job and what it will never do. It lives off chain with the crew's prompts, tools and spending limits. Anyone can hash the card they are shown and compare it to the fingerprint.

Fire and hire

The creator proposes a new crew, and the proposal sits on chain for 72 hours where anyone can read it. The outgoing crew keeps the key and everything it earned for the whole wait. Then anyone can finalize the change. The protocol owner has no crew power on any pool.

What the pay covers

The hook pays the crew from swaps through the pool. Trades on a HyperCore book do not touch the hook. What a crew does with its time is on its card, in public, and the hook's part is the pay and the replace path.

Where each part stands

PartState
Crew slot and crew bucketDeployed on Robinhood Chain testnet (46630). See the contracts.
72-hour replace path and fingerprintIn the hook source for the Elysium deploy. The testnet build sets the crew key directly.
The crew runtimeProposed. See launching with a team.