{"eip":3475,"title":"Abstract Storage Bonds","description":"Interface for creating tokenized obligations with abstract on-chain metadata storage","authors":["Yu Liu (@yuliu-debond)","Varun Deshpande (@dr-chain)","Cedric Ngakam (@drikssy)","Dhruv Malik (@dhruvmalik007)","Samuel Gwlanold Edoumou (@Edoumou)","Toufic Batrice (@toufic0710)"],"status":"Final","type":"Standards Track","category":"ERC","created":"2021-04-05","requires":[20,721,1155],"discussionsTo":"https://ethereum-magicians.org/t/eip-3475-multiple-callable-bonds-standard/8691","repo":"ERCs","label":"ERC-3475","officialUrl":"https://eips.ethereum.org/EIPS/eip-3475","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-3475.md","url":"https://eips.huatuo.xyz/eip-3475/","tldr":{"en":"A token standard for bonds and other obligations: each class/nonce pair is its own token type with on-chain metadata, supply tracking and batch issue, transfer and redeem.","ja":"債券などの債務向けのトークン標準。クラスと nonce の組がそれぞれ独自のトークン種別となり、オンチェーンのメタデータ、供給量の追跡、バッチでの発行・転送・償還を備える。","ko":"채권 등 채무를 위한 토큰 표준. class/nonce 쌍마다 별도의 토큰 유형이 되며, 온체인 메타데이터, 발행량 추적, 일괄 발행·전송·상환을 제공한다.","zh":"面向债券和其他债务的代币标准：每个 class/nonce 组合都是独立的代币类型，带有链上元数据、供应量追踪，以及批量发行、转移和赎回。"},"tags":["token","bonds","defi","multi-token","metadata"],"explainers":{"en":{"lang":"en","tldr":"A token standard for bonds and other obligations: each class/nonce pair is its own token type with on-chain metadata, supply tracking and batch issue, transfer and redeem.","tags":["token","bonds","defi","multi-token","metadata"],"related":[20,1155,721],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-3475/","markdown":"## What problem does it solve?\n\nLiquidity provider shares and similar claims are usually plain [ERC-20](/eip-20/) tokens. That works for a single fungible position, but a bond has more structure: an issuing condition, a maturity, redemption rules, and possibly many tranches issued at different times. Encoding that in ERC-20 means one contract per tranche and metadata held off-chain.\n\nERC-3475 defines one contract that can hold many bond types, each with its own metadata and supply figures that any wallet or exchange can read through the same interface.\n\n## How it works\n\n- **Class** (`classId`): a bond type, for example \"6-month fixed\". Classes have metadata such as symbol or risk information.\n- **Nonce** (`nonceId`): an issuance within a class, for example a particular issue date. Each `(classId, nonceId)` pair has its own balances, supply and metadata. Units within a nonce are fungible.\n- **Batch operations** take an array of `Transaction { classId, nonceId, _amount }`, so one call can move several bond types:\n  - `issue(to, txs)`, `redeem(from, txs)`, `burn(from, txs)`: restricted to the issuing entity (the spec calls it the \"Bank\");\n  - `transferFrom(from, to, txs)`, `transferAllowanceFrom(from, to, txs)`;\n  - `approve(spender, txs)` per class/nonce, and `setApprovalFor(operator, approved)` for operators.\n- **Supply views** per class/nonce: `totalSupply`, `activeSupply`, `redeemedSupply`, `burnedSupply`, plus `balanceOf(account, classId, nonceId)`.\n- **Maturity:** `getProgress(classId, nonceId)` returns progress achieved and remaining toward redemption (time, liquidity, or whatever the issuer defines).\n- **Abstract metadata:** `classMetadata` / `nonceMetadata` describe fields (`title`, `_type`, `description`), and `classValues` / `nonceValues` return the values in a generic `Values` struct (string, uint, address, bool, bytes). This avoids a fixed storage layout.\n- **Events:** `Issue`, `Redeem`, `Transfer`, `ApprovalFor`, and a burn event.\n\n## Sample code\n\nCore types and a few functions:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.0;\n\ninterface IERC3475Core {\n    struct Transaction { uint256 classId; uint256 nonceId; uint256 _amount; }\n    struct Metadata { string title; string _type; string description; }\n    struct Values { string stringValue; uint uintValue; address addressValue; bool boolValue; bytes bytesValue; }\n\n    event Transfer(address indexed _operator, address indexed _from, address indexed _to, Transaction[] _transactions);\n\n    function transferFrom(address _from, address _to, Transaction[] calldata _transactions) external;\n    function balanceOf(address _account, uint256 classId, uint256 nonceId) external view returns (uint256);\n    function activeSupply(uint256 classId, uint256 nonceId) external view returns (uint256);\n    function getProgress(uint256 classId, uint256 nonceId)\n        external view returns (uint256 progressAchieved, uint256 progressRemaining);\n}\n```\n\nMoving two tranches in one call (ethers v6):\n\n```ts\nawait bond.transferFrom(me, buyer, [\n  { classId: 1n, nonceId: 14n, _amount: 500n },\n  { classId: 1n, nonceId: 15n, _amount: 200n },\n]);\n```\n\n## Things to know\n\n- **Status: Final.**\n- Despite listing ERC-20, ERC-721 and ERC-1155 as requirements, it is a separate interface: ERC-20 or [ERC-1155](/eip-1155/) wallets cannot display or transfer these bonds without explicit support.\n- The specification text has inconsistencies between its examples, parameter names and comments (for instance the class/nonce values and amounts in examples do not always match the calls shown, and some signatures differ between the docstring and the function). Check a reference implementation rather than the prose alone.\n- Metadata schemas are defined in an accompanying `Metadata.md` asset rather than in the main spec text.\n- `issue`, `redeem` and `burn` are privileged. Holders depend on the issuer's contract enforcing maturity conditions correctly; the standard only says redemption must happen after those conditions are met.\n"},"ja":{"lang":"ja","tldr":"債券などの債務向けのトークン標準。クラスと nonce の組がそれぞれ独自のトークン種別となり、オンチェーンのメタデータ、供給量の追跡、バッチでの発行・転送・償還を備える。","tags":["token","bonds","defi","multi-token","metadata"],"related":[20,1155,721],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-3475/","markdown":"## 何を解決するのか\n\n流動性プロバイダーのシェアや同様の請求権は、たいてい素の [ERC-20](/eip-20/) トークンです。単一の代替可能なポジションならそれで十分ですが、債券にはより多くの構造があります。発行条件、満期、償還ルール、そして異なる時期に発行された複数のトランシェです。これを ERC-20 で表現すると、トランシェごとに 1 つのコントラクトが必要になり、メタデータはオフチェーンで保持することになります。\n\nERC-3475 は、多数の債券タイプを 1 つのコントラクトで保持できるようにします。それぞれが独自のメタデータと供給量の数値を持ち、どのウォレットや取引所も同じインターフェースを通じて読み取れます。\n\n## 仕組み\n\n- **クラス**（`classId`）: 債券のタイプ。たとえば「6 か月固定」。クラスには、シンボルやリスク情報などのメタデータがあります。\n- **Nonce**（`nonceId`）: クラス内の発行。たとえば特定の発行日。各 `(classId, nonceId)` の組には、独自の残高、供給量、メタデータがあります。nonce 内のユニットは代替可能です。\n- **バッチ操作**は `Transaction { classId, nonceId, _amount }` の配列を受け取るため、1 回の呼び出しで複数の債券タイプを動かせます。\n  - `issue(to, txs)`、`redeem(from, txs)`、`burn(from, txs)`: 発行主体（仕様では「Bank」と呼ぶ）に限定されます。\n  - `transferFrom(from, to, txs)`、`transferAllowanceFrom(from, to, txs)`。\n  - クラス/nonce ごとの `approve(spender, txs)` と、オペレーター向けの `setApprovalFor(operator, approved)`。\n- クラス/nonce ごとの**供給量の view**: `totalSupply`、`activeSupply`、`redeemedSupply`、`burnedSupply`、および `balanceOf(account, classId, nonceId)`。\n- **満期:** `getProgress(classId, nonceId)` は、償還に向けた達成済みの進捗と残りの進捗を返します（時間、流動性、あるいは発行者が定義するもの）。\n- **抽象的なメタデータ:** `classMetadata` / `nonceMetadata` はフィールド（`title`、`_type`、`description`）を記述し、`classValues` / `nonceValues` は汎用の `Values` 構造体（string、uint、address、bool、bytes）で値を返します。これにより固定のストレージレイアウトを避けられます。\n- **イベント:** `Issue`、`Redeem`、`Transfer`、`ApprovalFor`、およびバーンのイベント。\n\n## サンプルコード\n\n主要な型といくつかの関数:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.0;\n\ninterface IERC3475Core {\n    struct Transaction { uint256 classId; uint256 nonceId; uint256 _amount; }\n    struct Metadata { string title; string _type; string description; }\n    struct Values { string stringValue; uint uintValue; address addressValue; bool boolValue; bytes bytesValue; }\n\n    event Transfer(address indexed _operator, address indexed _from, address indexed _to, Transaction[] _transactions);\n\n    function transferFrom(address _from, address _to, Transaction[] calldata _transactions) external;\n    function balanceOf(address _account, uint256 classId, uint256 nonceId) external view returns (uint256);\n    function activeSupply(uint256 classId, uint256 nonceId) external view returns (uint256);\n    function getProgress(uint256 classId, uint256 nonceId)\n        external view returns (uint256 progressAchieved, uint256 progressRemaining);\n}\n```\n\n1 回の呼び出しで 2 つのトランシェを動かす（ethers v6）:\n\n```ts\nawait bond.transferFrom(me, buyer, [\n  { classId: 1n, nonceId: 14n, _amount: 500n },\n  { classId: 1n, nonceId: 15n, _amount: 200n },\n]);\n```\n\n## 知っておくべきこと\n\n- **ステータス: Final。**\n- ERC-20、ERC-721、ERC-1155 を要件として挙げているものの、これは別個のインターフェースです。ERC-20 や [ERC-1155](/eip-1155/) のウォレットは、明示的な対応なしにはこれらの債券を表示も転送もできません。\n- 仕様の文章には、例、パラメーター名、コメントの間に不整合があります（たとえば、例のクラス/nonce の値や数量が、示されている呼び出しと一致しないことがあり、docstring と関数でシグネチャが異なるものもあります）。文章だけでなく、リファレンス実装を確認してください。\n- メタデータのスキーマは、仕様本文ではなく、付属の `Metadata.md` アセットで定義されています。\n- `issue`、`redeem`、`burn` は特権的な操作です。保有者は、発行者のコントラクトが満期条件を正しく強制することに依存します。標準が述べているのは、償還はそれらの条件が満たされた後に行われなければならない、ということだけです。\n"},"ko":{"lang":"ko","tldr":"채권 등 채무를 위한 토큰 표준. class/nonce 쌍마다 별도의 토큰 유형이 되며, 온체인 메타데이터, 발행량 추적, 일괄 발행·전송·상환을 제공한다.","tags":["token","bonds","defi","multi-token","metadata"],"related":[20,1155,721],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-3475/","markdown":"## 어떤 문제를 해결하나요?\n\n유동성 공급자 지분과 비슷한 청구권은 보통 일반 [ERC-20](/eip-20/) 토큰입니다. 대체 가능한 단일 포지션에는 그것으로 충분하지만, 채권은 구조가 더 복잡합니다. 발행 조건, 만기, 상환 규칙, 그리고 서로 다른 시점에 발행된 여러 트랜치가 있을 수 있습니다. 이를 ERC-20으로 표현하면 트랜치마다 컨트랙트가 하나씩 필요하고 메타데이터는 오프체인에 보관하게 됩니다.\n\nERC-3475는 여러 채권 유형을 담을 수 있는 컨트랙트 하나를 정의합니다. 각 유형은 자체 메타데이터와 발행량 수치를 갖고, 어떤 지갑이나 거래소든 같은 인터페이스로 읽을 수 있습니다.\n\n## 어떻게 동작하나요?\n\n- **클래스**(`classId`): 채권 유형, 예를 들어 \"6개월 고정\". 클래스에는 심볼이나 위험 정보 같은 메타데이터가 있습니다.\n- **Nonce**(`nonceId`): 클래스 안의 발행, 예를 들어 특정 발행일. 각 `(classId, nonceId)` 쌍은 자체 잔액, 발행량, 메타데이터를 가집니다. 한 nonce 안의 단위는 대체 가능합니다.\n- **일괄 작업**은 `Transaction { classId, nonceId, _amount }` 배열을 받으므로, 호출 한 번으로 여러 채권 유형을 옮길 수 있습니다.\n  - `issue(to, txs)`, `redeem(from, txs)`, `burn(from, txs)`: 발행 주체(스펙은 \"Bank\"라 부름)로 제한됩니다.\n  - `transferFrom(from, to, txs)`, `transferAllowanceFrom(from, to, txs)`.\n  - 클래스/nonce별 `approve(spender, txs)`와, 운영자를 위한 `setApprovalFor(operator, approved)`.\n- 클래스/nonce별 **발행량 view**: `totalSupply`, `activeSupply`, `redeemedSupply`, `burnedSupply`, 그리고 `balanceOf(account, classId, nonceId)`.\n- **만기:** `getProgress(classId, nonceId)`는 상환까지 달성한 진행도와 남은 진행도를 반환합니다(시간, 유동성, 또는 발행자가 정의하는 무엇이든).\n- **추상 메타데이터:** `classMetadata` / `nonceMetadata`는 필드(`title`, `_type`, `description`)를 설명하고, `classValues` / `nonceValues`는 범용 `Values` 구조체(string, uint, address, bool, bytes)로 값을 반환합니다. 덕분에 고정된 스토리지 레이아웃을 피할 수 있습니다.\n- **이벤트:** `Issue`, `Redeem`, `Transfer`, `ApprovalFor`, 그리고 소각 이벤트.\n\n## 샘플 코드\n\n핵심 타입과 몇 가지 함수:\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.0;\n\ninterface IERC3475Core {\n    struct Transaction { uint256 classId; uint256 nonceId; uint256 _amount; }\n    struct Metadata { string title; string _type; string description; }\n    struct Values { string stringValue; uint uintValue; address addressValue; bool boolValue; bytes bytesValue; }\n\n    event Transfer(address indexed _operator, address indexed _from, address indexed _to, Transaction[] _transactions);\n\n    function transferFrom(address _from, address _to, Transaction[] calldata _transactions) external;\n    function balanceOf(address _account, uint256 classId, uint256 nonceId) external view returns (uint256);\n    function activeSupply(uint256 classId, uint256 nonceId) external view returns (uint256);\n    function getProgress(uint256 classId, uint256 nonceId)\n        external view returns (uint256 progressAchieved, uint256 progressRemaining);\n}\n```\n\n호출 한 번으로 트랜치 두 개 옮기기(ethers v6):\n\n```ts\nawait bond.transferFrom(me, buyer, [\n  { classId: 1n, nonceId: 14n, _amount: 500n },\n  { classId: 1n, nonceId: 15n, _amount: 200n },\n]);\n```\n\n## 알아둘 점\n\n- **상태: Final.**\n- ERC-20, ERC-721, ERC-1155를 요구 사항으로 나열하지만 별도의 인터페이스입니다. ERC-20이나 [ERC-1155](/eip-1155/) 지갑은 명시적인 지원 없이는 이 채권을 표시하거나 전송할 수 없습니다.\n- 스펙 본문은 예시, 파라미터 이름, 주석 사이에 불일치가 있습니다(예를 들어 예시의 클래스/nonce 값과 수량이 보여 준 호출과 항상 일치하지는 않고, docstring과 함수 사이에 시그니처가 다른 경우도 있습니다). 글만 보지 말고 레퍼런스 구현을 확인하세요.\n- 메타데이터 스키마는 본문이 아니라 함께 제공되는 `Metadata.md` 자산에 정의되어 있습니다.\n- `issue`, `redeem`, `burn`은 권한이 필요한 작업입니다. 보유자는 발행자의 컨트랙트가 만기 조건을 올바르게 강제하는 데 의존합니다. 표준은 상환이 그 조건이 충족된 후에 이뤄져야 한다고만 말합니다.\n"},"zh":{"lang":"zh","tldr":"面向债券和其他债务的代币标准：每个 class/nonce 组合都是独立的代币类型，带有链上元数据、供应量追踪，以及批量发行、转移和赎回。","tags":["token","bonds","defi","multi-token","metadata"],"related":[20,1155,721],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-3475/","markdown":"## 它解决什么问题？\n\n流动性提供者份额和类似的债权通常是普通的 [ERC-20](/eip-20/) 代币。对于单一的同质化头寸，这样做可行，但债券的结构更复杂：发行条件、到期日、赎回规则，以及可能在不同时间发行的许多档次（tranche）。用 ERC-20 来表达，意味着每个档次一个合约，并把元数据放在链下。\n\nERC-3475 定义了一个可以容纳多种债券类型的合约，每种类型都有自己的元数据和供应量数据，任何钱包或交易所都可以通过同一接口读取。\n\n## 它如何运作\n\n- **Class**（`classId`）：债券类型，例如「6 个月固定」。Class 带有符号或风险信息等元数据。\n- **Nonce**（`nonceId`）：class 内的一次发行，例如某个特定的发行日期。每个 `(classId, nonceId)` 组合都有自己的余额、供应量和元数据。同一 nonce 内的单位是同质化的。\n- **批量操作**接受 `Transaction { classId, nonceId, _amount }` 数组，因此一次调用可以转移多种债券类型：\n  - `issue(to, txs)`、`redeem(from, txs)`、`burn(from, txs)`：仅限发行实体（规范称之为「Bank」）；\n  - `transferFrom(from, to, txs)`、`transferAllowanceFrom(from, to, txs)`；\n  - 按 class/nonce 的 `approve(spender, txs)`，以及面向运营者的 `setApprovalFor(operator, approved)`。\n- 按 class/nonce 的**供应量视图**：`totalSupply`、`activeSupply`、`redeemedSupply`、`burnedSupply`，以及 `balanceOf(account, classId, nonceId)`。\n- **到期：** `getProgress(classId, nonceId)` 返回距离赎回已达成和剩余的进度（时间、流动性，或发行方定义的任何指标）。\n- **抽象元数据：** `classMetadata` / `nonceMetadata` 描述字段（`title`、`_type`、`description`），`classValues` / `nonceValues` 以通用的 `Values` 结构体（string、uint、address、bool、bytes）返回值。这样避免了固定的存储布局。\n- **事件：** `Issue`、`Redeem`、`Transfer`、`ApprovalFor`，以及一个销毁事件。\n\n## 示例代码\n\n核心类型和几个函数：\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.0;\n\ninterface IERC3475Core {\n    struct Transaction { uint256 classId; uint256 nonceId; uint256 _amount; }\n    struct Metadata { string title; string _type; string description; }\n    struct Values { string stringValue; uint uintValue; address addressValue; bool boolValue; bytes bytesValue; }\n\n    event Transfer(address indexed _operator, address indexed _from, address indexed _to, Transaction[] _transactions);\n\n    function transferFrom(address _from, address _to, Transaction[] calldata _transactions) external;\n    function balanceOf(address _account, uint256 classId, uint256 nonceId) external view returns (uint256);\n    function activeSupply(uint256 classId, uint256 nonceId) external view returns (uint256);\n    function getProgress(uint256 classId, uint256 nonceId)\n        external view returns (uint256 progressAchieved, uint256 progressRemaining);\n}\n```\n\n一次调用转移两个档次（ethers v6）：\n\n```ts\nawait bond.transferFrom(me, buyer, [\n  { classId: 1n, nonceId: 14n, _amount: 500n },\n  { classId: 1n, nonceId: 15n, _amount: 200n },\n]);\n```\n\n## 需要注意\n\n- **状态：Final。**\n- 尽管把 ERC-20、ERC-721 和 ERC-1155 列为要求，它仍是一个独立的接口：ERC-20 或 [ERC-1155](/eip-1155/) 钱包若无明确支持，就无法显示或转移这些债券。\n- 规范文本在示例、参数名和注释之间存在不一致（例如示例中的 class/nonce 值和数量并不总是与所示调用一致，部分签名在 docstring 与函数之间也不同）。请以参考实现为准，而不要只看文字描述。\n- 元数据模式定义在随附的 `Metadata.md` 资源中，而不是主规范文本里。\n- `issue`、`redeem` 和 `burn` 属于特权操作。持有者依赖发行方的合约正确执行到期条件；标准只规定赎回必须在这些条件满足之后进行。\n"}},"requiredBy":[5851]}
