---
eip: 2980
label: ERC-2980
title: Swiss Compliant Asset Token
status: Stagnant
type: Standards Track
category: ERC
created: 2020-09-08
requires: 20
official: https://eips.ethereum.org/EIPS/eip-2980
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-2980.md
canonical: https://eips.huatuo.xyz/eip-2980/
lang: en
tldr: An ERC-20-compatible security token with a whitelist, freeze list and issuer powers to revoke or reassign balances, designed around Swiss financial market law.
tags: [token, security-token, compliance, erc20, rwa]
---

# ERC-2980: Swiss Compliant Asset Token

> An interface for asset tokens, compliant with Swiss Law and compatible with [ERC-20](./eip-20.md).

**TL;DR:** An ERC-20-compatible security token with a whitelist, freeze list and issuer powers to revoke or reassign balances, designed around Swiss financial market law.

## What problem does it solve?

Tokens that represent shares, bonds or other financial instruments ("asset" or "security" tokens) are regulated. The authors point to FINMA's 2018 ICO guidance, which treats asset tokens like securities, and to a list of Swiss laws covering exchanges, banking, market infrastructure, collective investment and anti-money-laundering.

A plain [ERC-20](/eip-20/) token lets anyone send to anyone, and nobody can claw back tokens. ERC-2980 adds the controls an issuer needs to meet KYC/AML and enforcement requirements, while staying compatible with ERC-20 tooling.

## How it works

- **ERC-20 base.** Standard transfer and approval functions remain. `decimals` must be `0`, because asset tokens are treated as indivisible.
- **Whitelist.** Only whitelisted addresses can *receive* tokens. An address removed from the whitelist can still send what it holds.
- **Frozen list.** Frozen addresses can neither send nor receive.
- **Issuers.** Appointed and removed by the contract owner. Issuers manage both lists, can transfer their role, and can:
  - `revoke(from)`: move the target's entire balance to the calling issuer;
  - `reassign(from, to)`: move the target's entire balance to another address.

  Both work even if `from` is frozen.
- **Events.** `FundsReassigned`, `FundsRevoked` and `FundsFrozen` make issuer actions visible on-chain.

The core interface only requires `whitelist(addr)` and `frozenlist(addr)` getters plus the events; the spec gives the management functions (`addAddressToWhitelist`, `addIssuer`, `revoke`, …) as example interfaces.

## Sample code

Transfer check enforcing the two lists (sketch; the issuer/owner plumbing is omitted):

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

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract SwissAssetToken is ERC20 {
    mapping(address => bool) public whitelist;
    mapping(address => bool) public frozenlist;
    mapping(address => bool) public isIssuer;

    event FundsRevoked(address from, uint256 amount);
    event FundsReassigned(address from, address to, uint256 amount);

    constructor() ERC20("Share", "SHR") { isIssuer[msg.sender] = true; }

    function decimals() public pure override returns (uint8) { return 0; }

    function _update(address from, address to, uint256 value) internal override {
        if (!isIssuer[msg.sender]) {               // issuers bypass for revoke/reassign
            require(!frozenlist[from] && !frozenlist[to], "frozen");
            if (to != address(0)) require(whitelist[to], "receiver not whitelisted");
        }
        super._update(from, to, value);
    }

    function revoke(address from) external {
        require(isIssuer[msg.sender], "not issuer");
        uint256 bal = balanceOf(from);
        _transfer(from, msg.sender, bal);
        emit FundsRevoked(from, bal);
    }
}
```

## Things to know

- **Status: Stagnant.** For regulated tokens, [ERC-3643](/eip-3643/) (T-REX), which is Final, covers similar ground with on-chain identity and modular compliance rules.
- Issuers have very strong powers: they can take tokens from any holder. Holders are trusting the issuer and the owner who appoints issuers. The spec makes the owner responsible for removing issuer roles once they are no longer needed.
- The spec's claim of legal compliance comes from its authors. Whether a given token actually satisfies Swiss, EU or any other law is a legal question for qualified counsel, not something the interface guarantees.
- Because `decimals` is 0, wallets display whole units; make sure front-ends do not assume 18.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-2980
