ERC-8424 Confidential Real-World Asset Token Compliance Extension (Confidential Real World Asset Token)
Draft · Tokens · created 2026-09-24
Adds eligibility checks, transferability determination, available balance lookup, and forced transfer functionality to ERC-7984 tokens, whose amounts are hidden via encryption, to handle the compliance requirements that real-world asset (RWA) tokens must satisfy, privately.
Why it is needed
A token representing a real-world asset must handle whether a holder is eligible to send or receive, whether rules are followed based on the transfer amount, whether part of the balance is locked by issuer freezes or vesting, and, if necessary, whether the issuer can move the asset without the holder's consent. Existing compliance standards such as ERC-3643 or ERC-7943 are designed for tokens with public balances, so they cannot be applied as-is to tokens like ERC-7984 whose balances and transfer amounts are hidden behind encrypted pointers. Because the logic that determines whether a transfer is possible handles confidential amounts, its result must also remain confidential, while still allowing wallets or contracts to easily check this information. Without this standard, each confidential token would design its own compliance transfer logic differently, making interoperability difficult and increasing the risk that balance information leaks through whether a transfer reverts.
What to implement
event ConfidentialCanTransfer(address indexed operator, address indexed from, address indexed to, bytes32 result);: An event that records the pointer holding the transfer permission result produced by a call to confidentialCanTransfer.event ConfidentialAvailableBalanceOf(address indexed account, bytes32 indexed result);: An event that records the available balance pointer computed by a call to confidentialAvailableBalanceOf.event ConfidentialForcedTransfer(address indexed from, address indexed to, bytes32 indexed amount);: An event that records a transfer that was moved by force without undergoing compliance checks.function canSend(address sender) external view returns (bool);: Returns in plaintext whether sender is eligible to send this asset, regardless of amount.function canReceive(address receiver) external view returns (bool);: Returns in plaintext whether receiver is eligible to receive this asset, regardless of amount.function confidentialCanTransfer( address operator, address from, address to, bytes32 amount, bytes calldata data ) external returns (bytes32);: Returns a confidential pointer indicating whether operator can move amount from from to to.function confidentialAvailableBalanceOf(address account) external returns (bytes32);: Returns a confidential pointer holding the maximum amount account can transfer right now.function forceConfidentialTransferFrom( address from, address to, bytes32 amount, bytes calldata data ) external returns (bytes32);: Forcibly moves amount from from to to without compliance checks, and returns a pointer to the amount actually moved.
In depth
Token Requirements and interfaceID
Compliant tokens must implement both ERC-7984 and ERC-165, and supportsInterface must return true when interfaceID is 0xcd0f4d6c. All amounts are represented as confidential pointers in bytes32 form as defined by ERC-7984, and the method of decrypting a pointer and the method of granting decryption rights are implementation-specific. Functions that take a confidential pointer as input must also accept a bytes calldata data parameter to carry proofs, approvals, or other implementation-specific material, and must accept empty input when the pointer alone is sufficient.
canSend and canReceive are plaintext eligibility checks independent of amount
canSend(sender) and canReceive(receiver) are view functions that return an address's eligibility to send or receive without considering amount, and they must not revert. Neither function may contain amount-dependent rules or limit checks; those are handled by confidentialCanTransfer.
The determination rules of confidentialCanTransfer
confidentialCanTransfer(operator, from, to, amount, data) returns a pointer indicating whether operator can move amount from from to to. It must return a pointer holding false if from is not the zero address and canSend(from) is false, if to is not the zero address and canReceive(to) is false, if amount exceeds confidentialAvailableBalanceOf(from), or if some other rule blocks the transfer. It must not return false solely because operator is not an approved operator of from. The call must emit a ConfidentialCanTransfer event, and the returned pointer must be decryptable by the caller. Reverting is also permitted, but a revert can itself leak information.
confidentialAvailableBalanceOf is a write function, not a query
confidentialAvailableBalanceOf(account) ignores recipient-related rules and returns, as a pointer, the maximum amount account can transfer right now. This value must be at most confidentialBalanceOf(account) and must reflect all restrictions applying to the account's own balance, such as issuer freezes, lockups, vesting, or amounts held as collateral. Not reverting is recommended, and the call must emit a ConfidentialAvailableBalanceOf event, with the result decryptable by account. The operations on confidential values and the pointer decryption mechanism generally require an on-chain write, so this cannot be implemented as a view.
The forced-transfer rules of forceConfidentialTransferFrom
forceConfidentialTransferFrom(from, to, amount, data) must be access-restricted, and must move 0 if amount exceeds confidentialBalanceOf(from). It must not cap the moved amount at confidentialAvailableBalanceOf(from), and it must revert if canReceive(to) is false. It must not call canSend(from) or confidentialCanTransfer. If a transfer occurs, it must emit a ConfidentialForcedTransfer event together with ERC-7984's ConfidentialTransfer event, both carrying the same from, to, and amount.
Transfer rejection is handled by moving 0 instead of reverting
For an amount that confidentialCanTransfer would determine to be false, no transfer, including minting and burning, must be completed unless it goes through forceConfidentialTransferFrom. Implementations are recommended to satisfy this requirement by moving an amount of 0 rather than reverting.
Why the two questions are separated
Whether an address is eligible to send or receive an asset is independent of amount and often derives from non-confidential data such as an identity registry or an allow/block list, so it is disclosed in plaintext via canSend and canReceive. Whether a specific transfer is possible, on the other hand, involves confidential rules as well, so the result must also be confidential, which is why it is separated into confidentialCanTransfer. Combining the two would either force an originally public value to be carried as a confidential pointer, making it hard to use in an integrating contract's control flow, or conversely expose a result that should be confidential in plaintext.
A proposal still in Draft stage
This standard was authored in September 2026 and is currently in Draft status. The detailed requirements and interface have not yet been finalized and may change or be discontinued during further discussion.
Things to watch out for
- Information exposure through reverts: A transfer that reverts because it fails to satisfy a compliance rule can publicly reveal that a specific pair of addresses failed that rule, which can allow inference about the sender's or recipient's balance information. Transferring 0 avoids this exposure, but it makes a transaction that moved nothing appear to have succeeded, so integrating contracts must check the returned amount directly rather than assuming the requested amount was actually moved.
- Information exposure through repeated calls to the compliance check: A caller of confidentialCanTransfer can decrypt the result for arbitrary from and to, so by calling repeatedly with varying amounts it can infer thresholds such as from's available balance or a limit applied to to. Implementations should restrict callers to an allow list or rate-limit calls per account.
- Underflow when computing available balance: If available balance is computed by simply subtracting a restricted amount from the balance, that subtraction can underflow when a forced transfer moves more than the available balance, so saturating subtraction must be used.