Skip to main content

Custodian watch

How a custodian learns of privileged actions on tokens it holds, and why a factory upgrade of those tokens waits for the custodian's notice.

A custodian often holds tokens issued and administered by another organisation, whose wallets can freeze, force-transfer, mint, burn, pause, recover, change roles, or upgrade the token factory. Custodian watch alerts subscribed custodians whenever an external wallet performs those actions and holds token-factory upgrades until every affected custodian's notice period expires.

What the watch covers

Once an organisation subscribes, the watch tracks every token held by its watched custody addresses at the start of the watch window or received during it. It monitors seven on-chain action classes:

Action
What it does
Forced transfer
Moves tokens out of a holder's wallet.
Recovery
Moves a lost wallet's balance to its replacement.
Freeze and unfreeze
Locks or releases an address or part of a balance.
Mint and burn
Changes token supply.
Pause and unpause
Halts or resumes token transfers.
Role grant and revoke
Changes who may invoke privileged token actions.
Implementation upgrade
Replaces token contract logic via the token factory.

Only actions sent from wallets outside the custodian's organisation trigger alerts (excluding the organisation's participant wallets, smart-wallet controllers, and custody watch addresses). A freeze signed by the custodian itself raises nothing.

What a custodian receives

Each external action opens one operations case of kind Privileged action on a custodied token, naming the action, token, external sender, affected wallet, amount, and transaction. Forced transfers, recoveries, burns, and implementation upgrades open as critical, while all other actions open as warnings.

Cases appear in Business operations → Custody → Cases and emit operations.case.opened webhooks (event catalogue). Deduplication per on-chain log entry ensures retries never duplicate cases.

Monitoring begins at the chain head when you subscribe (without backfilling prior history) and polls every 15 seconds, resuming from the last checkpoint after any failed check.

Notice before an upgrade

Upgrading a token factory changes every token that factory deployed. While any subscribed custodian holds tokens from that factory, System updates blocks the upgrade until an upgrade has been scheduled and its notice window has elapsed:

  • Set notice period. Each custodian subscribes with 0 to 60 business days of notice (default 5, counted Monday to Friday UTC, excluding public holidays). Raising a notice period after scheduling extends the wait because execution re-checks active notice periods at run time.
  • Schedule upgrade. The issuer records the target factory address on that chain (invalid addresses return not found and notify no one). Every subscribed custodian holding its tokens immediately receives an “Upgrade scheduled for custodied tokens” case, and the earliest run time equals the longest notice period among them. Only one upgrade can be scheduled per factory at a time.
  • Run or cancel. Once the notice ends (or immediately if no custodian holds tokens), System updates permits the upgrade. Cancelling an unrun upgrade marks it cancelled and resolves custodians' cases.

Emergency upgrades

An emergency upgrade bypasses the notice period for urgent fixes such as key exposure. It requires a non-empty reason (at most 1,000 trimmed characters), executes immediately, and opens a critical notification case for every affected custodian.

Who can do what

Organisation owners and platform administrators manage subscriptions, notice periods, and scheduled or cancelled upgrades (subject to system-administration maker-checker approvals when enabled). Reading subscriptions or scheduled upgrades requires a system reporting role.

API endpoints live under reporting.custodianWatch (PUT /api/v2/reporting/custodian-watch and POST /api/v2/reporting/custodian-watch/scheduled-upgrades) in the API reference.

Was this page helpful?