On a security token today, a court-ordered seizure into custody, a confiscation, a liquidation and a recovery can all reach the chain through one privileged call, forcedTransfer in ERC-7943 and ERC-3643. ERC-7943 chose that neutral name on purpose and leaves legal proofs to extensions, and ERC-8473, a new policy interface for ERC-7943 tokens, treats every forced transfer as FORCED by design. In law, though, they’re four different acts: a seizure can be released, while a confiscation ends the holder’s title for good. Anyone reading the chain afterwards (an exchange, a custodian, an indexer, an auditor) sees a ForcedTransfer and has to ask the issuer which act it was.
ERC-8319, an ERC standard in Draft status, draws on the published guidance of 15 authorities, from FATF and IOSCO to the FCA and MAS, to define six regulatory actions (FREEZE, SEIZE, CONFISCATE, LIQUIDATE, RESTRICT, RECOVER), each with a fixed reversibility, ownership effect and finality. The regulatory dynamics they induce are formally verified (machine-checked) for internal consistency in Isabelle/HOL, including that a confiscation is final and reachable from every other state, and that a seizure is never relaxed into a freeze:
It has no on-chain interface; when we opened its thread here, we left that to a later Standards Track proposal. This is that proposal.
ERC-TRUST runs each ERC-8319 action as its own typed command, and every applied command leaves a receipt that anyone can recompute. So a regulatory action on a token executes as the act ERC-8319 defines, and anyone can confirm from the chain alone which act ran, under which registered authority and in which case, without asking the issuer. Every conforming token records the same action the same way; that is the uniformity in the name.
Each command names the action, the authority and its epoch, the case it belongs to, the dependencies it was checked against, and a commitment to its provenance. Lifting a freeze or a restriction, or releasing a seizure, is a separate typed reversal (UNFREEZE, UNRESTRICT, RELEASE); a confiscation, a liquidation and a recovery have none. A command that’s rejected, or whose dependencies fail, reverts and changes nothing. The kernel’s abstract model is checked in Isabelle/HOL and mapped to the reference code through a ledger of the conditions its proofs depend on.
What changes, compared with today’s tokens
- Exchanges, custodians and indexers get a receipt for every applied command, carrying the command’s fields, the dependency root it was checked under, and commitments to the state before and after. Every conforming endpoint (the token or adapter that runs the kernel) stores it and computes it with the same formula.
- Issuers and transfer agents get an on-chain record that follows the legal act. A freeze comes off only through an UNFREEZE of that freeze. Seized tokens sit with the custodian, and ordinary transfers can’t spend them until RELEASE returns them to the declared prior holder or a disposition consumes them in full. A LIQUIDATE also commits to its settlement and proceeds, a RECOVER to an entitlement that can back only one recovery, and a confiscation, liquidation or recovery closes its case permanently.
- Auditors and supervisors can tell a policy decision from an outage: a policy rejection (
TrustRejected) and a missing or inconsistent dependency (TrustOperationalFailure) are different errors. On a native token each dependency is bound by its address, runtime code and configuration digest, so a swapped policy contract, or one whose reported configuration changes, makes commands fail instead of quietly changing what they’re checked against. - Operators and relayers get identifiers and nonces that work exactly once, a validity window, and one dependency root: any rebind makes every older command stale, rotating an authority voids commands for its old epoch, and a command built for one token or chain is invalid on any other.
- Wallets and other applications find a conforming token through ERC-165 and read from
trustProfile()whether it declares a Full or a Partial profile. A Full profile has to close every untyped privileged path, so that its receipts can describe the complete regulatory state. - Existing ERC-3643 tokens can adopt it without reissuance if the token can show that the adapter is its only Agent. ERC-3643 has no such view, so the reference governor requires a non-standard
exclusiveAgent()before it seals the setup; frozen amounts and address freezes declared at the seal open FREEZE and RESTRICT cases. The adapter reports Partial: its import manifest verifies only the entries it lists, tokens received by an ordinary transfer stay transferable until the adapter next touches the account, and it is tested against clean-room fixtures, not a live deployment. Fresh deployments with a transfer hook can meet the stricter Verified Full profile.
How it works
Figure 1: Every command takes one path, from typed request to receipt.
The kernel interface, abridged (nine functions in full, ERC-165 id 0x2b020308):
interface IERCTrustKernel is IERC165 {
error TrustRejected(bytes32 commandId, uint16 reason);
error TrustOperationalFailure(bytes32 commandId, uint16 reason, bytes32 dependencyRef);
function executeRegulatoryAction(TrustKernelTypes.ActionRequest calldata request) external returns (bytes32 receiptHash);
function executeRegulatoryReversal(TrustKernelTypes.ReversalRequest calldata request) external returns (bytes32 receiptHash);
function receipt(bytes32 commandId) external view returns (TrustKernelTypes.Receipt memory record);
function caseRecord(bytes32 caseId) external view returns (TrustKernelTypes.CaseRecord memory record);
function dependencyState() external view returns (bytes32 dependencyRoot, uint64 dependencyEpoch);
function trustProfile() external view returns (TrustKernelTypes.ProfileDescriptor memory descriptor);
}
The main design choices:
- Cases with a transition table. A case groups one regulatory matter, and its first command fixes its family: a FREEZE or RESTRICT overlay (a live effect that a later reversal removes), CUSTODY, or a terminal DISPOSITION. Sixteen numbered rules fix what a second command in the same case does, when commands from different matters conflict, and when a case can never be used again. Confiscating tokens in one case doesn’t clear a freeze that another case put on the same holder, and a later transfer that returns confiscated tokens is a new act, never a reversal.
- A fixed validation order and no partial failure. A command reports its first failure in a fixed order, so a replayed or stale command is rejected before any rule that reads case state. Every revert leaves the endpoint exactly as it was: no key consumed, no record written, no balance changed, no log emitted.
- An exact-use route for ERC-7943. On a native token the raw
setFrozenTokensandforcedTransfercalls fail. A one-time ticket ties each sensitive call to one typed command, so the ERC-7943 surface stays in place without becoming a way around the kernel.
In the model, each case turns the ERC-8319 rules into effects on balances and records (d is a CONFISCATE, LIQUIDATE or RECOVER):
A release hands back exactly what was seized; a disposition closes its case and leaves every other matter’s freeze or restriction in place.
The normative surface stops at the interface, the wire format and observable behaviour: no required proxy, governance product, identity registry, policy language or storage layout, and no delegation or cancellation in the kernel (an authority can itself be a contract, such as a multisig, with its own delegation rules). This version covers fungible tokens. The standard confers no authority on anyone: a receipt shows that a command ran with given commitments, not that the order or settlement behind them is true.
How it fits with other standards
| Standard | What it covers | Relationship to ERC-TRUST |
|---|---|---|
| ERC-8319 | The legal meaning of the six actions, with no interface | Required. Its meanings are what the typed actions carry out |
| ERC-7943 | Frozen balances, forcedTransfer and transfer checks |
Required. A native endpoint implements it and ties each sensitive call to a typed command |
| ERC-3643 | A permissioned token suite with identity, compliance, freeze, forced transfer and recovery | Optional profiles: a Partial adapter over a sealed token, or a Verified Full hook profile for fresh deployments |
| ERC-8473 | The policy an ERC-7943 token consults for every movement | A different question. The policy decides whether a movement may happen; the receipt records which action it was |
| ERC-1450 | A token operated by a registered transfer agent | Separate. ERC-TRUST doesn’t replace it or infer actions from its function names |
How we checked it
The ERC-TRUST abstract model builds on ERC-8319’s checked state machine: four of the six actions are its forward transition labels, the three reversals are its reverse labels, and RECOVER and LIQUIDATE are force transfers modelled in a separate layer, as in ERC-8319. As far as we can tell, ERC-TRUST would be the first security-token standard whose on-chain execution of regulatory actions comes with a formally verified (machine-checked) abstract model. On a registered set of executions, refinement is also checked down to the compiled bytecode.
In the model, one invariant wf over balances, custody backing, and the case and overlay records holds initially and is preserved by every ordinary transfer, authority or dependency change, failed command, and each of the six actions and three reversals, and a rejected or failed command leaves the state untouched:
An ordinary transfer also can’t spend frozen or seized tokens, and no regulatory action creates or destroys tokens. Combinations that usually turn into long threads, such as what remains after a FREEZE and then a SEIZE, are settled in the model. If you think a rule gives the wrong outcome, the most useful reply is a sequence of commands that shows it.
Figure 2: What each tool checks, and where each claim stops.
| Check | What it covers |
|---|---|
| Isabelle/HOL | The kernel’s abstract model, 34 theories in two sessions; clean build with no oracle dependency, checked on every pull request |
| Obligation ledger | 74 rows for the model conditions the proofs depend on, as identified by review; each closed row links its condition to the source that uses it, a positive test, a negative check and the compiled code that consumes it. 70 closed, 2 open for the runtime link, 2 not applicable |
| Registered executions | 96 Isabelle-checked executions of the native token, the Partial adapter and the development hook adapter, related to the model on their exact compiled runtimes and recorded by hash (the proof sessions aren’t in the public package; other executions aren’t covered); reviewed internally, not a third-party audit |
| Foundry | 102 tests, 9 of which run pinned upstream T-REX 4.1.3 bytecode through the hook adapter; 9 invariants over 1,152,000 calls |
| Mutation testing | 121 of 121 declared faults killed |
| Kontrol | 4 bounded symbolic proofs on the native runtime bytecode: the raw setFrozenTokens and forcedTransfer stay closed, an operational failure and a non-increasing freeze leave the checked state unchanged, and a LIQUIDATE moves the exact amount and emits its receipt last |
| Certora | 4 rules on the ERC-3643 Partial adapter runtime, bounded in scope: the profile never reports Full, the restriction check is exact, and subject and role observations read the token’s actual restriction flags |
| Deterministic build | The native token, Partial adapter and governor runtimes rebuild byte-identically in two isolated clean builds and match a pinned-compiler replay (reproducibility, not compiler correctness or deployment identity) |
| Reproduction | 23 conformance vectors with 401 assertions, reproduced by a separate program written from the specification and the vectors alone; this checks the wire format, not a second implementation |
There’s no single theorem yet that the compiled bytecode implements the model for every execution. The repository labels the current state “mapped implementation evidence; end-to-end refinement incomplete” and states, check by check, what each result does and doesn’t establish. The method was discussed on ethresear.ch in Can We Verify an ERC, Not Just Its Code? and written up in arXiv:2608.29134. None of this evidence is normative.
Where we’d like feedback
- Profiles. ERC-7943 stays required of a native token. Should the deployment profiles move to a separate conformance document?
- Frozen amounts under ERC-7943. A SEIZE or disposition can move tokens counted as frozen while the freeze stays with its own case, and
getFrozenTokensis capped at the balance, where ERC-7943 describes the absolute amount. We treat a conforming endpoint as ERC-7943’s multi-party context and depart from its recommendation not to bypass frozen constraints; a single-party deployment would not meet ERC-7943 here. Is that acceptable, or how should the moved frozen tokens be reported? - Rejection versus failure. Is the line between a policy rejection and an operational failure, and the reason classes behind it, clear enough for relayers and monitoring systems?
- The receipt. Which of the seventeen fields do you need to compare implementations, and is anything missing for independent reconstruction?
- Staleness. Is one dependency root with a global epoch the right unit for invalidating prepared commands, or should some profiles bind per-dependency epochs?
- ERC-8473. It already lets a token pass data with a
FORCEDmovement (a reference to a legal order is its own example). Should a token that implements both hand the typed action to its policy that way, or should the two stay independent? Its rule 13, which lowers the frozen amount on such a movement, is where the two currently differ. - Legal reading. Does any typed action narrow or stretch the meaning ERC-8319 gives it? For example, RESTRICT here turns off a holder’s ordinary sends and receives, while ERC-8319 describes a configurable restriction on transferability.
- Concurrent orders. A holder can carry only one live freeze across all cases, so a second order’s freeze has to join the first case, where it amends the head, or wait until that freeze is lifted. Does that match how concurrent orders against one holder are handled?
- Privacy. A receipt and its commitments show that an address or a case is under regulatory action. Is the guidance in Security Considerations enough for deployments with confidentiality or tipping-off duties?
If you run an ERC-7943 or ERC-3643 token, please tell us whether the exact-use route and the sealed adapter would work for your deployment. That’s the part we can’t answer on our own.
Links
- Specification: ethereum/ERCs#2318
- Reference implementation, conformance vectors and evidence: Oraclizer/erc-trust
- Paper: [2608.29134] Mechanizing Typed Regulatory Actions for Security Tokens: Semantics, Falsification, and Bounded EVM Evidence
- Related threads: ERC-8319, ERC-7943, ERC-3643, ERC-8473
Unaudited. Not for production. No deployment, proxy, migration, or external legal/factual truth is verified.
The proposal text is CC0, and the reference package is open source under the BSD-3-Clause license. Corrections are welcome.




