---
eip: 7929
label: ERC-7929
title: PermaLink Asset Bound Token
status: Draft
type: Standards Track
category: ERC
created: 2025-04-01
requires: 721
official: https://eips.ethereum.org/EIPS/eip-7929
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7929.md
canonical: https://eips.huatuo.xyz/zh/eip-7929/
lang: zh
tldr: 一个草案 NFT 标准，用于永久绑定到另一个合约中某个代币的代币：所有权和余额从被绑定的合约镜像而来，转让和授权均被禁用，因此两者始终一起移动。
tags: [nft, erc-721, composability, binding, rwa]
---

# ERC-7929: PermaLink Asset Bound Token

> Asset-bound Tokens (ABT) permanently bound to another token, known as PermaLink-ABTs.

**TL;DR:** 一个草案 NFT 标准，用于永久绑定到另一个合约中某个代币的代币：所有权和余额从被绑定的合约镜像而来，转让和授权均被禁用，因此两者始终一起移动。

## 它解决什么问题？

在以太坊上，只有账户（EOA 和合约）才能拥有资产。许多现实场景需要更接近"资产拥有资产"的机制：一份应当始终跟随身份代币的凭证、一个应当始终与原 NFT 在一起的附加收藏系列，或者供应链中属于某件产品的零部件。如今要让它们保持在一起，就得分别转移每个代币，并祈祷它们永远不会被拆散。

ERC-7929 引入了 **PermaLink Asset Bound Token（PermaLink-ABT）**：与另一个合约中的代币不可逆地链接在一起的代币。移动绑定代币时，附着在它上面的每个 PermaLink-ABT 按定义也一并被移动。创作者还可以在无需原收藏合约许可的情况下，在现有 NFT 收藏之上构建一个绑定的收藏。

## 它如何运作

- 部署一个 PermaLink-ABT 合约，使其指向某个 `assetBoundContract`（例如一个 [ERC-721](/eip-721/) 收藏），并发出 `AssetBoundContractSet`。
- ABT 合约中的代币 `n` 与被绑定合约中的代币 `n` 相链接。必需的读取函数会**镜像**被绑定的合约：
  - `ownerOf(tokenId)` 返回被绑定合约中该 ID 的所有者。
  - `tokenExists(tokenId)` 报告该 ID 在那边是否存在。
  - `totalSupply()` 和 `balanceOf(owner)` 都从被绑定的合约读取。
- 没有 `transfer` 或 `approve`。参考实现让这些 ERC-721 函数直接 revert，因此链接永远无法被打破。
- 作为铸造的替代，可选的 `IERC7929Reveal` 扩展提供 `reveal(uint256[] tokenIds)`，它从预先设定的供应量中激活代币，并发出 `TokenRevealed`。作者认为这比按需铸造更便宜。
- 一个绑定代币可以携带来自不同合约的多个 PermaLink-ABT，形成一个作为整体移动的组合。

## 示例代码

接口，以及一个解析谁控制着某个被绑定代币的读取合约：

```solidity
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.27;

interface IERC7929 {
    event AssetBoundContractSet(address assetBoundContract);
    function ownerOf(uint256 tokenId) external view returns (address);
    function tokenExists(uint256 tokenId) external view returns (bool);
    function totalSupply() external view returns (uint256);
    function balanceOf(address owner) external view returns (uint256);
}

interface IERC7929Reveal is IERC7929 {
    event TokenRevealed(uint256 tokenId);
    function reveal(uint256[] calldata tokenIds) external payable;
}

// Minimal sketch of the mirroring logic
contract PermaLinkABT is IERC7929 {
    IERC721Like public immutable assetBoundContract;

    constructor(address bound) {
        assetBoundContract = IERC721Like(bound);
        emit AssetBoundContractSet(bound);
    }

    function ownerOf(uint256 id) external view returns (address) {
        return assetBoundContract.ownerOf(id);      // follows the bound token
    }
    function tokenExists(uint256 id) public view returns (bool) {
        try assetBoundContract.ownerOf(id) returns (address o) { return o != address(0); }
        catch { return false; }
    }
    function totalSupply() external view returns (uint256) { return assetBoundContract.totalSupply(); }
    function balanceOf(address o) external view returns (uint256) { return assetBoundContract.balanceOf(o); }
    // No transfer / approve functions: the link is permanent.
}

interface IERC721Like {
    function ownerOf(uint256) external view returns (address);
    function balanceOf(address) external view returns (uint256);
    function totalSupply() external view returns (uint256);
}
```

## 需要注意

- **状态：Draft。** 接口可能会变化。
- 失去对绑定代币的访问权，就意味着失去绑定在它上面的每一个 PermaLink-ABT。作者建议用诸如 [ERC-6809](/eip-6809/) 之类的密钥绑定/双重验证方案来保护高价值的绑定代币。
- 由于 ABT 只是镜像所有权，且在被绑定代币移动时不会发出自己的转让事件，索引器和市场必须通过被绑定的合约来解析所有权，而不能依赖 ABT 的事件。
- 与代币绑定账户（[ERC-6551](/eip-6551/)）相比：在 ERC-6551 中，NFT 拥有一个可以持有任意资产并将其转出的智能账户；而 PermaLink-ABT 则是固定的、一对一的、不可分离的。


---

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