EIPs Explained

ERC-7943 · Final · ERC · 2025-06-10

ERC-7943: uRWA - Universal Real World Asset Interface

A minimal compliance layer for tokenized real-world assets that adds freeze, forced-transfer and "can this transfer happen?" checks on top of ERC-20, ERC-721, ERC-1155 or ERC-6909.

What problem does it solve?

Tokenized securities, bonds or real estate usually come with legal obligations: only verified holders may own them, regulators may require assets to be frozen, and courts may order tokens to be moved. Plain ERC-20 or ERC-721 has no standard way to express any of this, and earlier RWA standards such as ERC-3643 bundle in identity systems and role models that simple issuers do not need.

ERC-7943 ("uRWA") defines just the common surface, so a DEX, lending market or wallet can ask any RWA token "may this transfer happen?" and react to freezes and seizures, whatever compliance logic sits behind it.

How it works

A uRWA token extends one base standard and adds an interface per token type: IERC7943Fungible, IERC7943NonFungible or IERC7943MultiToken. Each provides:

Function Purpose
canSend(account) / canReceive(account) Account-level eligibility (allowlist, KYC, AML). Never reverts
canTransfer(from, to, amount) Would this specific transfer pass the permissioned rules, including frozen balances? Never reverts
getFrozenTokens(account) Amount (or, for NFTs, status) frozen. May exceed the balance
setFrozenTokens(account, amount) Overwrite the frozen amount. Access-restricted, emits Frozen
forcedTransfer(from, to, amount) Move assets without the holder's consent. Access-restricted, emits ForcedTransfer plus the base Transfer

Normal transfer / transferFrom / safeTransferFrom must fail whenever canTransfer, canSend or canReceive would return false. Balance and allowance checks stay with the base standard; canTransfer only covers permissioned rules. Standard errors such as ERC7943InsufficientUnfrozenBalance describe why something failed. Support is detected via ERC-165: 0x3edbb4c4 (fungible), 0xbf1ef5fe (non-fungible), 0x41c4fbad (multi-token).

Sample code

A protocol checking a uRWA token before accepting a deposit:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface IERC7943Fungible {
    function canTransfer(address from, address to, uint256 amount) external view returns (bool);
    function getFrozenTokens(address account) external view returns (uint256);
}
interface IERC165 { function supportsInterface(bytes4 id) external view returns (bool); }
interface IERC20 { function transferFrom(address, address, uint256) external returns (bool); }

contract RwaPool {
    bytes4 constant URWA_FUNGIBLE = 0x3edbb4c4;

    function deposit(address token, uint256 amount) external {
        if (IERC165(token).supportsInterface(URWA_FUNGIBLE)) {
            require(
                IERC7943Fungible(token).canTransfer(msg.sender, address(this), amount),
                "transfer not permitted"
            );
        }
        require(IERC20(token).transferFrom(msg.sender, address(this), amount), "transfer failed");
        // ... credit the depositor
    }
}

Things to know

  • Status: Final.
  • The standard does not say who may freeze or force-transfer, only that access must be restricted. The authors strongly recommend multisigs or timelocks, because a compromised admin key can seize assets.
  • setFrozenTokens overwrites rather than adds, so two admins acting at once can race. The spec sketches "set if expected" and delta-based helpers as optional extensions.
  • Freezing more than the current balance is allowed, so incoming funds can be pre-frozen and the holder cannot front-run a freeze.
  • For ERC-721/1155 receiver hooks, frozen state must be updated before the transfer event to avoid reentrancy issues.
  • Reference implementations in the EIP's assets are marked educational and unaudited.

#rwa #token #compliance #securities #interface

Details

Authors
Dario Lo Buglio (@xaler5), Tino Martinez Molina (@tinom9), Mihai Colceriu (@mihaic195)
Status
Final
Type
Standards Track / ERC
Created
2025-06-10
Requires

Machine-readable: Markdown · JSON