{"eip":7770,"title":"Fractional Reserve Token","description":"An interface for tokens that maintain a peg to an underlying token while being only partially redeemable to this token.","authors":["Yaron Velner (@yaronvel)"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2024-09-17","requires":[20],"discussionsTo":"https://ethereum-magicians.org/t/erc-7770-fractional-reserve-token/21103","repo":"ERCs","label":"ERC-7770","officialUrl":"https://eips.ethereum.org/EIPS/eip-7770","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7770.md","url":"https://eips.huatuo.xyz/eip-7770/","tldr":{"en":"An ERC-20 extension for synthetic tokens that are fully collateralised but only partly redeemable for their underlying, with standard mint/burn hooks for lenders and on-chain reserve-ratio data so holders can see the risk.","ja":"完全に担保されているが、原資産への償還は一部しかできない合成トークン向けの ERC-20 拡張。貸し手向けの標準的な mint/burn フックと、保有者がリスクを確認できるオンチェーンの準備率データを備える。","ko":"완전히 담보되어 있지만 기초 자산으로는 일부만 상환할 수 있는 합성 토큰을 위한 ERC-20 확장. 대출 기관을 위한 표준 mint/burn 훅과, 보유자가 위험을 확인할 수 있는 온체인 준비율 데이터를 제공한다.","zh":"面向合成代币的 ERC-20 扩展：这类代币有完整抵押，但只能部分兑换为其底层资产；提供供出借方使用的标准铸造/销毁钩子，以及链上储备率数据，让持有者能看到风险。"},"tags":["token","erc-20","lending","stablecoin","defi","draft"],"explainers":{"en":{"lang":"en","tldr":"An ERC-20 extension for synthetic tokens that are fully collateralised but only partly redeemable for their underlying, with standard mint/burn hooks for lenders and on-chain reserve-ratio data so holders can see the risk.","tags":["token","erc-20","lending","stablecoin","defi","draft"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7770/","markdown":"## What problem does it solve?\n\nBridged assets such as ETH on an L2 are already synthetic: they track the mainnet asset and are fully backed by it. ERC-7770 generalises this to tokens that can also be **minted by borrowing**, against other collateral, not just by depositing the underlying. The spec's example is `frDAI`: deposit 1 DAI to get 1 frDAI, or post collateral worth more than 1 DAI and borrow 1 frDAI.\n\nThat expands supply in an ecosystem, but it means not every token can be redeemed for the underlying at once, the same trade-off as fractional reserve banking. Several lending markets or risk curators might share minting rights, so they need a common interface, and holders need a standard way to see how much of the supply is actually backed by cash.\n\n## How it works\n\nThe token **must be ERC-20 compatible** ([ERC-20](/eip-20/)) and adds:\n\n| Member | Purpose |\n| --- | --- |\n| `fractionalReserveMint(to, amount)` | Mint borrowed supply; increases `totalSupply`, `totalBorrowedSupply` and `to`'s balance |\n| `fractionalReserveBurn(from, amount)` | Reverse of the above when debt is repaid |\n| `totalBorrowedSupply()` | Supply created via borrowing |\n| `requiredReserveRatio()` | Minimum reserve ratio, scaled by `1e18` |\n| `segregatedAccount(a)` / `totalSegregatedSupply()` | Accounts whose balances are not counted as reserve |\n\nEvents `MintFractionalReserve`, `BurnFractionalReserve` and `SetSegregatedAccount` let indexers follow all of this.\n\nThe **reserve ratio** is roughly \"redeemable cash ÷ total supply\":\n\n```\n(totalSupply − totalBorrowedSupply − Σ segregated balances) / totalSupply\n```\n\nNew fractional-reserve mints must not push it below `requiredReserveRatio()`. Mint/burn should be restricted to permissioned parties (lending markets, risk curators) who only mint to borrowers that have locked collateral.\n\n**Segregated accounts** exist for cases like DAO treasuries or vote-escrow contracts: their tokens are excluded from the reserve so nobody can borrow against them. Some interest from borrowers should flow to non-segregated holders, but the spec leaves the mechanism open (rebasing, staking, airdrops).\n\n## Sample code\n\nChecking reserve health from a frontend (ethers v6):\n\n```ts\nimport { Contract, formatUnits } from \"ethers\";\n\nconst abi = [\n  \"function totalSupply() view returns (uint256)\",\n  \"function totalBorrowedSupply() view returns (uint256)\",\n  \"function totalSegregatedSupply() view returns (uint256)\",\n  \"function requiredReserveRatio() view returns (uint256)\",\n];\nconst fr = new Contract(tokenAddress, abi, provider);\n\nconst [supply, borrowed, segregated, required] = await Promise.all([\n  fr.totalSupply(), fr.totalBorrowedSupply(), fr.totalSegregatedSupply(), fr.requiredReserveRatio(),\n]);\nconst ratio = supply === 0n ? 0n : ((supply - borrowed - segregated) * 10n ** 18n) / supply;\nconsole.log(\"reserve ratio:\", formatUnits(ratio, 18), \"required:\", formatUnits(required, 18));\n```\n\n## Things to know\n\n- **Status: Draft.**\n- The spec text is not fully consistent: it gives two different reserve-ratio formulas and in places says mint must revert when the ratio \"exceeds\" the requirement. The reference implementation reverts when the ratio falls *below* `requiredReserveRatio`, which matches the stated intent.\n- The standard only reports risk; it does not manage it. A low reserve ratio raises the chance of a depeg or a \"bank run\" where holders cannot redeem immediately.\n- Minting credentials are a trust point: the token owner is responsible for who can call `fractionalReserveMint`.\n- The reference code in the spec is marked \"DO NOT use it in production\".\n"},"ja":{"lang":"ja","tldr":"完全に担保されているが、原資産への償還は一部しかできない合成トークン向けの ERC-20 拡張。貸し手向けの標準的な mint/burn フックと、保有者がリスクを確認できるオンチェーンの準備率データを備える。","tags":["token","erc-20","lending","stablecoin","defi","draft"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7770/","markdown":"## 何を解決するのか\n\nL2 上の ETH のようなブリッジ資産は、すでに合成資産です。メインネットの資産に連動し、それによって完全に裏付けられています。ERC-7770 はこれを、原資産を預け入れるだけでなく、他の担保を使った**借入によっても mint できる**トークンへと一般化します。仕様の例は `frDAI` です。1 DAI を預けて 1 frDAI を得るか、1 DAI より価値の高い担保を差し入れて 1 frDAI を借ります。\n\nこれはエコシステム内の供給量を増やしますが、すべてのトークンを一度に原資産へ償還できるわけではなくなります。部分準備銀行制度と同じトレードオフです。複数のレンディング市場やリスクキュレーターが mint の権限を共有することもありえるため、共通のインターフェースが必要で、保有者にも、供給量のうち実際に現金で裏付けられている割合を確認する標準的な方法が必要です。\n\n## 仕組み\n\nトークンは **ERC-20 互換でなければならず**（[ERC-20](/eip-20/)）、次を追加します。\n\n| メンバー | 役割 |\n| --- | --- |\n| `fractionalReserveMint(to, amount)` | 借入による供給を mint。`totalSupply`、`totalBorrowedSupply`、`to` の残高が増える |\n| `fractionalReserveBurn(from, amount)` | 債務が返済されたときの、上記の逆の操作 |\n| `totalBorrowedSupply()` | 借入によって生まれた供給量 |\n| `requiredReserveRatio()` | 最低準備率（`1e18` でスケール） |\n| `segregatedAccount(a)` / `totalSegregatedSupply()` | 残高が準備として数えられないアカウント |\n\n`MintFractionalReserve`、`BurnFractionalReserve`、`SetSegregatedAccount` の各イベントにより、インデクサーはこれらすべてを追跡できます。\n\n**準備率**は、おおよそ「償還可能な現金 ÷ 総供給量」です。\n\n```\n(totalSupply − totalBorrowedSupply − Σ segregated balances) / totalSupply\n```\n\n新たな部分準備の mint によって、これが `requiredReserveRatio()` を下回ってはいけません。mint/burn は、許可された当事者（レンディング市場、リスクキュレーター）に限定すべきで、彼らは担保をロックした借り手にだけ mint します。\n\n**分離アカウント（segregated account）** は、DAO のトレジャリーや vote-escrow コントラクトのようなケースのために存在します。それらのトークンは準備から除外され、誰もそれを担保に借入できません。借り手からの利息の一部は分離されていない保有者へ流れるべきですが、仕組みは仕様では定められていません（リベース、ステーキング、エアドロップなど）。\n\n## サンプルコード\n\nフロントエンドから準備の健全性を確認する（ethers v6）:\n\n```ts\nimport { Contract, formatUnits } from \"ethers\";\n\nconst abi = [\n  \"function totalSupply() view returns (uint256)\",\n  \"function totalBorrowedSupply() view returns (uint256)\",\n  \"function totalSegregatedSupply() view returns (uint256)\",\n  \"function requiredReserveRatio() view returns (uint256)\",\n];\nconst fr = new Contract(tokenAddress, abi, provider);\n\nconst [supply, borrowed, segregated, required] = await Promise.all([\n  fr.totalSupply(), fr.totalBorrowedSupply(), fr.totalSegregatedSupply(), fr.requiredReserveRatio(),\n]);\nconst ratio = supply === 0n ? 0n : ((supply - borrowed - segregated) * 10n ** 18n) / supply;\nconsole.log(\"reserve ratio:\", formatUnits(ratio, 18), \"required:\", formatUnits(required, 18));\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。**\n- 仕様の文章は完全には一貫していません。準備率の式が 2 通り書かれており、箇所によっては、準備率が要件を「超えた」ときに mint が revert しなければならないと書かれています。リファレンス実装は準備率が `requiredReserveRatio` を*下回った*ときに revert し、これは述べられている意図と一致します。\n- この標準はリスクを報告するだけで、管理はしません。準備率が低いと、デペッグや、保有者がすぐに償還できない「取り付け騒ぎ」の可能性が高まります。\n- mint の権限は信頼のポイントです。誰が `fractionalReserveMint` を呼べるかは、トークンのオーナーの責任です。\n- 仕様内のリファレンスコードには「本番環境で使用しないこと」と明記されています。\n"},"ko":{"lang":"ko","tldr":"완전히 담보되어 있지만 기초 자산으로는 일부만 상환할 수 있는 합성 토큰을 위한 ERC-20 확장. 대출 기관을 위한 표준 mint/burn 훅과, 보유자가 위험을 확인할 수 있는 온체인 준비율 데이터를 제공한다.","tags":["token","erc-20","lending","stablecoin","defi","draft"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7770/","markdown":"## 어떤 문제를 해결하나요?\n\nL2의 ETH 같은 브리지된 자산은 이미 합성 자산입니다. 메인넷 자산을 추종하며 그것으로 완전히 뒷받침됩니다. ERC-7770은 이를 기초 자산을 예치하는 방식뿐 아니라 다른 담보를 걸고 **빌려서 mint**할 수도 있는 토큰으로 일반화합니다. 명세의 예는 `frDAI`입니다. 1 DAI를 예치해 1 frDAI를 받거나, 1 DAI보다 가치가 큰 담보를 맡기고 1 frDAI를 빌립니다.\n\n이는 생태계의 공급량을 늘려 주지만, 모든 토큰을 한꺼번에 기초 자산으로 상환할 수는 없다는 뜻이기도 합니다. 부분 지급준비 은행 제도와 같은 트레이드오프입니다. 여러 대출 시장이나 리스크 큐레이터가 mint 권한을 나눠 가질 수 있으므로 공통 인터페이스가 필요하고, 보유자에게도 공급량 중 실제로 현금으로 뒷받침되는 비율을 확인할 표준적인 방법이 필요합니다.\n\n## 어떻게 동작하나요?\n\n토큰은 **ERC-20과 호환되어야 하며**([ERC-20](/eip-20/)) 다음을 추가합니다.\n\n| 멤버 | 역할 |\n| --- | --- |\n| `fractionalReserveMint(to, amount)` | 차입으로 생기는 공급량을 mint. `totalSupply`, `totalBorrowedSupply`, `to`의 잔액이 증가 |\n| `fractionalReserveBurn(from, amount)` | 부채가 상환될 때 위의 반대 동작 |\n| `totalBorrowedSupply()` | 차입으로 생성된 공급량 |\n| `requiredReserveRatio()` | 최소 준비율(`1e18`로 스케일링) |\n| `segregatedAccount(a)` / `totalSegregatedSupply()` | 잔액이 준비금으로 계산되지 않는 계정 |\n\n`MintFractionalReserve`, `BurnFractionalReserve`, `SetSegregatedAccount` 이벤트로 인덱서가 이 모든 것을 추적할 수 있습니다.\n\n**준비율**은 대략 \"상환 가능한 현금 ÷ 전체 공급량\"입니다.\n\n```\n(totalSupply − totalBorrowedSupply − Σ segregated balances) / totalSupply\n```\n\n새로운 부분 준비 mint는 이를 `requiredReserveRatio()` 아래로 떨어뜨려서는 안 됩니다. mint/burn은 허가된 주체(대출 시장, 리스크 큐레이터)로 제한해야 하며, 이들은 담보를 잠근 차입자에게만 mint합니다.\n\n**분리 계정(segregated account)** 은 DAO 트레저리나 vote-escrow 컨트랙트 같은 경우를 위해 존재합니다. 이들의 토큰은 준비금에서 제외되므로 아무도 그것을 담보로 빌릴 수 없습니다. 차입자가 내는 이자 일부는 분리되지 않은 보유자에게 흘러가야 하지만, 방식은 명세에서 열어 두었습니다(리베이스, 스테이킹, 에어드롭).\n\n## 샘플 코드\n\n프런트엔드에서 준비금 건전성 확인하기(ethers v6):\n\n```ts\nimport { Contract, formatUnits } from \"ethers\";\n\nconst abi = [\n  \"function totalSupply() view returns (uint256)\",\n  \"function totalBorrowedSupply() view returns (uint256)\",\n  \"function totalSegregatedSupply() view returns (uint256)\",\n  \"function requiredReserveRatio() view returns (uint256)\",\n];\nconst fr = new Contract(tokenAddress, abi, provider);\n\nconst [supply, borrowed, segregated, required] = await Promise.all([\n  fr.totalSupply(), fr.totalBorrowedSupply(), fr.totalSegregatedSupply(), fr.requiredReserveRatio(),\n]);\nconst ratio = supply === 0n ? 0n : ((supply - borrowed - segregated) * 10n ** 18n) / supply;\nconsole.log(\"reserve ratio:\", formatUnits(ratio, 18), \"required:\", formatUnits(required, 18));\n```\n\n## 알아둘 점\n\n- **상태: Draft.**\n- 명세 본문이 완전히 일관되지는 않습니다. 서로 다른 두 가지 준비율 공식이 나오고, 일부 대목에서는 준비율이 요구치를 \"초과\"하면 mint가 revert해야 한다고 적혀 있습니다. 레퍼런스 구현은 준비율이 `requiredReserveRatio` *미만*으로 떨어질 때 revert하며, 이는 명시된 의도와 일치합니다.\n- 이 표준은 위험을 보고할 뿐 관리하지는 않습니다. 준비율이 낮으면 디페깅이나 보유자가 즉시 상환할 수 없는 \"뱅크런\"의 가능성이 커집니다.\n- mint 자격은 신뢰 지점입니다. 누가 `fractionalReserveMint`를 호출할 수 있는지는 토큰 소유자의 책임입니다.\n- 명세의 레퍼런스 코드에는 \"프로덕션에서 사용하지 말 것\"이라고 표시되어 있습니다.\n"},"zh":{"lang":"zh","tldr":"面向合成代币的 ERC-20 扩展：这类代币有完整抵押，但只能部分兑换为其底层资产；提供供出借方使用的标准铸造/销毁钩子，以及链上储备率数据，让持有者能看到风险。","tags":["token","erc-20","lending","stablecoin","defi","draft"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7770/","markdown":"## 它解决什么问题？\n\n像 L2 上的 ETH 这样的跨链桥接资产本身已经是合成资产：它们追踪主网资产，并由其完全支持。ERC-7770 把这一思路推广到也可以**通过借款铸造**的代币，即以其他抵押品为担保，而不仅仅是存入底层资产。规范中的例子是 `frDAI`：存入 1 DAI 得到 1 frDAI，或者抵押价值高于 1 DAI 的资产并借出 1 frDAI。\n\n这会扩大一个生态中的供应量，但也意味着并非所有代币都能同时兑换回底层资产，这与部分准备金银行制度的权衡相同。多个借贷市场或风险管理方可能共享铸造权，所以它们需要一个通用接口，持有者也需要一种标准方式来查看供应量中有多少真正有现金支持。\n\n## 它如何运作\n\n该代币**必须兼容 ERC-20**（[ERC-20](/eip-20/)），并新增：\n\n| 成员 | 用途 |\n| --- | --- |\n| `fractionalReserveMint(to, amount)` | 铸造借出的供应量；增加 `totalSupply`、`totalBorrowedSupply` 和 `to` 的余额 |\n| `fractionalReserveBurn(from, amount)` | 债务偿还时的反向操作 |\n| `totalBorrowedSupply()` | 通过借款产生的供应量 |\n| `requiredReserveRatio()` | 最低储备率，按 `1e18` 缩放 |\n| `segregatedAccount(a)` / `totalSegregatedSupply()` | 余额不计入储备的账户 |\n\n`MintFractionalReserve`、`BurnFractionalReserve` 和 `SetSegregatedAccount` 事件让索引器可以跟踪这一切。\n\n**储备率**大致是\"可兑换现金 ÷ 总供应量\"：\n\n```\n(totalSupply − totalBorrowedSupply − Σ segregated balances) / totalSupply\n```\n\n新的部分储备铸造不得使其低于 `requiredReserveRatio()`。铸造/销毁应限制给有许可的各方（借贷市场、风险管理方），它们只向已锁定抵押品的借款人铸造。\n\n**隔离账户（segregated account）** 适用于 DAO 金库或投票托管（vote-escrow）合约这类情况：它们的代币不计入储备，因此没人能以此为抵押借款。借款人支付的部分利息应流向非隔离的持有者，但规范没有规定具体机制（rebase、质押、空投）。\n\n## 示例代码\n\n从前端检查储备健康状况（ethers v6）：\n\n```ts\nimport { Contract, formatUnits } from \"ethers\";\n\nconst abi = [\n  \"function totalSupply() view returns (uint256)\",\n  \"function totalBorrowedSupply() view returns (uint256)\",\n  \"function totalSegregatedSupply() view returns (uint256)\",\n  \"function requiredReserveRatio() view returns (uint256)\",\n];\nconst fr = new Contract(tokenAddress, abi, provider);\n\nconst [supply, borrowed, segregated, required] = await Promise.all([\n  fr.totalSupply(), fr.totalBorrowedSupply(), fr.totalSegregatedSupply(), fr.requiredReserveRatio(),\n]);\nconst ratio = supply === 0n ? 0n : ((supply - borrowed - segregated) * 10n ** 18n) / supply;\nconsole.log(\"reserve ratio:\", formatUnits(ratio, 18), \"required:\", formatUnits(required, 18));\n```\n\n## 需要注意\n\n- **状态：Draft。**\n- 规范文本并不完全一致：它给出了两个不同的储备率公式，并且有几处说当储备率\"超过\"要求时铸造必须 revert。参考实现是在储备率*低于* `requiredReserveRatio` 时 revert，这与所述意图相符。\n- 该标准只报告风险，并不管理风险。储备率低会增加脱锚或\"挤兑\"的可能，即持有者无法立即赎回。\n- 铸造权限是一个信任点：谁能调用 `fractionalReserveMint` 由代币所有者负责。\n- 规范中的参考代码标注了\"请勿在生产环境使用\"。\n"}}}
