TrussDocs

Curation

Choosing and changing a curator

How to appoint Truss Labs or another curator at deployment, how to change curators after launch without a gap, and how to watch what a curator does.

A curator is appointed by naming its keys when the vault is deployed, or by granting roles to its operator multicall later. Changing curators means granting the new one first and revoking the old one last. Everything a curator does is visible on chain, so the owner can watch it against the targets they agreed.

Key points

  • A curator whose keys are named at deployment can act from go-live.
  • After launch, a new settler acts at once, while a new allocator or trader waits the vault's HIGH grant delay before it pushes or trades.
  • Revoking a settler, allocator or trader is immediate.
  • Every action a curator takes emits events that anyone can watch.

Appointing a curator at deployment

The deployment lists the keys that hold each profile:

ListGives each key named
settlerOwnersThe Settler profile
allocatorOwnersThe Allocator profile
traderOwners, and each sub-account's own traderOwnersThe Trader profile, on each sub-account that names the key
donorOwnersThe Donor profile
vaultManagerOwnersThe VaultManager profile

The factory gives each key an operator multicall that the key owns. A key named in several of the first four lists gets one multicall for all of them, so a curator that settles, allocates and trades acts from one address, in one batch. A vault manager key gets a multicall of its own. Keys named at deployment act from go-live, with no grant delay.

The factory records every multicall in the vault's address book, in its VaultDeployed event. Read the curator's on-chain addresses there.

Changing curators after launch

Grant the new curator first and revoke the old one last, so the vault is never left without one:

  1. An operator multicall is deployed with the new curator's key as its owner. Anyone can deploy one.
  2. The VaultAdmin or a vault manager grants that multicall its roles. Settler and Donor roles act at once. A Trader returns at once but trades only after the HIGH grant delay, and an Allocator pushes only after it.
  3. Once the new curator can act, the VaultAdmin or a vault manager revokes the old multicall's roles, which is immediate.

In the first five days after go-live, a grant of a role with no delay acts at once, a trader's roles included. The grant delays hold from then on. A new VaultManager is the VaultAdmin's alone to grant, and acts only after the CRITICAL grant delay. Change curator gives the full steps.

A multicall added after deployment is not in the address book. Track it through the AccessManager's RoleGranted and RoleRevoked events.

Watching a curator

What to watchEvent
Each call a curator batchesExecuted(target, data, result) on its multicall
SettlementsSettled and RequestFilled on the vault
USDC sent to and brought back from sub-accountsPushedToSubAccount and AssetsReturned on the vault
A trade or loan on a tracked sub-accountExecuted on the sub-account
A call batch on an attested sub-accountCallsExecuted on the sub-account
Who holds which roleRoleGranted and RoleRevoked on the AccessManager

Compare what each sub-account holds with the targets agreed off chain, and watch how close each one is to its cap and rate limits. Reading vault state lists the views to read.

Truss Labs' curation service

To choose Truss Labs, the deployer names the keys Truss Labs provides in the profiles the service needs, and agrees the assets and targets with it. Truss Labs then holds no more access than any other curator would.

Where to read more

PageWhat it covers
Change curatorThe steps to replace a curator
Curator accessWhat each profile allows
Operator multicallsHow multicalls are set up, rotated and removed
Tiers and timelocksThe delay tiers and grant delays