{"eip":7776,"title":"Transparent Financial Statements","description":"Open Transparent Financial Data such as Revenue, Costs of Goods Sold, Operating Expenses, EBITDA and Earnings Per Share for all Investors.","authors":["Ignacio Ceaglio (@Nachoxt17) \u003cignacioceaglio@gmail.com\u003e"],"status":"Review","type":"Standards Track","category":"ERC","created":"2024-09-20","requires":[20],"discussionsTo":"https://ethereum-magicians.org/t/erc-xxxx-transparent-financial-statements/21191","repo":"ERCs","label":"ERC-7776","officialUrl":"https://eips.ethereum.org/EIPS/eip-7776","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7776.md","url":"https://eips.huatuo.xyz/eip-7776/","tldr":{"en":"A standard set of view functions for a token-issuing protocol to publish income-statement and balance-sheet figures onchain, valued in a stablecoin, like a simplified 10-Q.","ja":"トークンを発行するプロトコルが、損益計算書と貸借対照表の数値をステーブルコイン建てでオンチェーンに公開するための、標準的な view 関数のセット。簡易版の 10-Q のようなもの。","ko":"토큰을 발행하는 프로토콜이 손익계산서와 재무상태표 수치를 스테이블코인 기준으로 온체인에 공시하기 위한 표준 view 함수 모음. 간소화한 10-Q와 비슷하다.","zh":"一组标准的 view 函数，让发行代币的协议在链上公布以稳定币计价的利润表和资产负债表数据，类似简化版的 10-Q。"},"tags":["finance","reporting","erc20","transparency"],"explainers":{"en":{"lang":"en","tldr":"A standard set of view functions for a token-issuing protocol to publish income-statement and balance-sheet figures onchain, valued in a stablecoin, like a simplified 10-Q.","tags":["finance","reporting","erc20","transparency"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7776/","markdown":"## What problem does it solve?\n\nInvestors in a listed company get quarterly filings with revenue, costs and earnings per share in a fixed format. Investors in a protocol's token usually get blog posts and dashboards in whatever shape the team chooses, if anything.\n\nERC-7776 proposes a common onchain API so a protocol can expose its financial statements directly from contracts. Any frontend, analyst or other contract can then read the same figures in the same structure, across protocols that adopt it.\n\n## How it works\n\nThe implementing contract must also be an [ERC-20](/eip-20/) token (with `name`/`symbol` metadata) representing shares, and must declare one stablecoin in which every figure is denominated (`stablecoinAddress()`).\n\nEach reporting function takes `(startTimestamp, endTimestamp)`:\n\n- `start == end` returns a **balance-sheet snapshot** at that moment.\n- `start \u003c end` returns an **income statement** for that period.\n- `start \u003e end` is invalid.\n\nInstead of a single number, each function returns a struct whose first field is the headline value, optionally followed by extra detail fields:\n\n| Function | Headline field |\n| --- | --- |\n| `revenue` | `grossRevenue` |\n| `cogs` | `totalCOGS` |\n| `operatingExpenses` | `totalOperatingExpenses` |\n| `operatingIncome` | `totalOperatingIncome` |\n| `ebitda` | `totalEBITDA` |\n| `otherIncomeExpenses` | `totalOtherIncome`, `totalOtherExpenses` |\n| `netIncome` | `totalNetIncome` |\n| `earningsPerShare` | `basicEPS`, `dilutedEPS` |\n| `fullFinancialReport` | all of the above in one struct |\n\nIf the numbers are computed from other contracts the protocol owns, those contracts must be source-verified on a block explorer.\n\n## Sample code\n\nReading a period's figures with ethers v6:\n\n```ts\nimport { Contract, JsonRpcProvider, formatUnits } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst fs = new Contract(protocolAddr, [\n  \"function stablecoinAddress() view returns (address)\",\n  \"function revenue(uint256,uint256) view returns (tuple(uint256 grossRevenue, uint256 d1, uint256 dN))\",\n  \"function netIncome(uint256,uint256) view returns (tuple(uint256 totalNetIncome, uint256 d1, uint256 dN))\",\n], provider);\n\nconst usd = new Contract(await fs.stablecoinAddress(),\n  [\"function decimals() view returns (uint8)\"], provider);\nconst dec = await usd.decimals();\n\nconst q3Start = 1719792000n, q3End = 1727740799n; // 2024-07-01 .. 2024-09-30 UTC\nconst rev = await fs.revenue(q3Start, q3End);\nconst net = await fs.netIncome(q3Start, q3End);\nconsole.log(\"revenue\", formatUnits(rev.grossRevenue, dec), \"net\", formatUnits(net.totalNetIncome, dec));\n```\n\n## Things to know\n\n- Status: **Review**. Struct layouts and names may still change; the reference implementation even names the currency getter `currency()` instead of `stablecoinAddress()`.\n- All values are `uint256`, so losses (negative income or EPS) have no obvious representation in the current draft.\n- The standard defines a format, not truth. Figures are whatever the contract reports; nothing in the ERC audits them. Treat them like unaudited self-reported numbers.\n- It does not make a token a legal share or give holders any rights; that depends on the issuer and jurisdiction.\n"},"ja":{"lang":"ja","tldr":"トークンを発行するプロトコルが、損益計算書と貸借対照表の数値をステーブルコイン建てでオンチェーンに公開するための、標準的な view 関数のセット。簡易版の 10-Q のようなもの。","tags":["finance","reporting","erc20","transparency"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7776/","markdown":"## 何を解決するのか\n\n上場企業の投資家は、売上、コスト、1 株当たり利益を決まった形式で記載した四半期報告書を受け取ります。プロトコルのトークンの投資家は、あったとしても、チームが選んだ形のブログ記事やダッシュボードを受け取るのが普通です。\n\nERC-7776 は共通のオンチェーン API を提案し、プロトコルがコントラクトから直接財務諸表を公開できるようにします。これを採用したプロトコルであれば、どのフロントエンド、アナリスト、他のコントラクトも、同じ構造の同じ数値を読み取れます。\n\n## 仕組み\n\n実装するコントラクトは、株式を表す [ERC-20](/eip-20/) トークン（`name`/`symbol` メタデータ付き）でもなければならず、すべての数値の建値となるステーブルコインを 1 つ宣言しなければなりません（`stablecoinAddress()`）。\n\n各レポート関数は `(startTimestamp, endTimestamp)` を受け取ります。\n\n- `start == end` は、その時点の**貸借対照表のスナップショット**を返します。\n- `start \u003c end` は、その期間の**損益計算書**を返します。\n- `start \u003e end` は無効です。\n\n各関数は単一の数値ではなく、先頭フィールドが主要な値で、その後に詳細フィールドが続くこともある struct を返します。\n\n| 関数 | 主要フィールド |\n| --- | --- |\n| `revenue` | `grossRevenue` |\n| `cogs` | `totalCOGS` |\n| `operatingExpenses` | `totalOperatingExpenses` |\n| `operatingIncome` | `totalOperatingIncome` |\n| `ebitda` | `totalEBITDA` |\n| `otherIncomeExpenses` | `totalOtherIncome`、`totalOtherExpenses` |\n| `netIncome` | `totalNetIncome` |\n| `earningsPerShare` | `basicEPS`、`dilutedEPS` |\n| `fullFinancialReport` | 上記すべてを 1 つの struct にまとめたもの |\n\n数値がプロトコルの保有する他のコントラクトから計算される場合、それらのコントラクトはブロックエクスプローラーでソースコードが検証されていなければなりません。\n\n## サンプルコード\n\nethers v6 で期間の数値を読み取る例：\n\n```ts\nimport { Contract, JsonRpcProvider, formatUnits } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst fs = new Contract(protocolAddr, [\n  \"function stablecoinAddress() view returns (address)\",\n  \"function revenue(uint256,uint256) view returns (tuple(uint256 grossRevenue, uint256 d1, uint256 dN))\",\n  \"function netIncome(uint256,uint256) view returns (tuple(uint256 totalNetIncome, uint256 d1, uint256 dN))\",\n], provider);\n\nconst usd = new Contract(await fs.stablecoinAddress(),\n  [\"function decimals() view returns (uint8)\"], provider);\nconst dec = await usd.decimals();\n\nconst q3Start = 1719792000n, q3End = 1727740799n; // 2024-07-01 .. 2024-09-30 UTC\nconst rev = await fs.revenue(q3Start, q3End);\nconst net = await fs.netIncome(q3Start, q3End);\nconsole.log(\"revenue\", formatUnits(rev.grossRevenue, dec), \"net\", formatUnits(net.totalNetIncome, dec));\n```\n\n## 知っておくべきこと\n\n- ステータス：**Review**。struct のレイアウトや名前はまだ変わる可能性があります。リファレンス実装では、通貨の getter が `stablecoinAddress()` ではなく `currency()` という名前になっています。\n- すべての値は `uint256` なので、現在のドラフトでは損失（マイナスの利益や EPS）を表す明確な方法がありません。\n- この標準が定義するのは形式であり、真実ではありません。数値はコントラクトが報告したとおりのもので、ERC の中にそれを監査する仕組みはありません。監査を受けていない自己申告の数値として扱ってください。\n- これによってトークンが法的な株式になったり、保有者に何らかの権利が与えられたりするわけではありません。それは発行者と法域によります。\n"},"ko":{"lang":"ko","tldr":"토큰을 발행하는 프로토콜이 손익계산서와 재무상태표 수치를 스테이블코인 기준으로 온체인에 공시하기 위한 표준 view 함수 모음. 간소화한 10-Q와 비슷하다.","tags":["finance","reporting","erc20","transparency"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7776/","markdown":"## 어떤 문제를 해결하나요?\n\n상장 기업의 투자자는 매출, 비용, 주당순이익이 정해진 형식으로 담긴 분기 보고서를 받습니다. 프로토콜 토큰의 투자자는 있다 해도 보통 팀이 고른 형태의 블로그 글과 대시보드를 받습니다.\n\nERC-7776은 공통 온체인 API를 제안해 프로토콜이 컨트랙트에서 직접 재무제표를 노출할 수 있게 합니다. 그러면 이를 채택한 프로토콜들에 걸쳐 어떤 프런트엔드, 애널리스트, 다른 컨트랙트든 같은 구조의 같은 수치를 읽을 수 있습니다.\n\n## 어떻게 동작하나요?\n\n구현 컨트랙트는 주식을 나타내는 [ERC-20](/eip-20/) 토큰(`name`/`symbol` 메타데이터 포함)이기도 해야 하며, 모든 수치의 표시 단위가 되는 스테이블코인을 하나 선언해야 합니다(`stablecoinAddress()`).\n\n각 보고 함수는 `(startTimestamp, endTimestamp)`를 받습니다.\n\n- `start == end`는 그 시점의 **재무상태표 스냅숏**을 반환합니다.\n- `start \u003c end`는 그 기간의 **손익계산서**를 반환합니다.\n- `start \u003e end`는 유효하지 않습니다.\n\n각 함수는 단일 숫자 대신 첫 필드가 핵심 값이고 그 뒤에 선택적으로 세부 필드가 붙는 struct를 반환합니다.\n\n| 함수 | 핵심 필드 |\n| --- | --- |\n| `revenue` | `grossRevenue` |\n| `cogs` | `totalCOGS` |\n| `operatingExpenses` | `totalOperatingExpenses` |\n| `operatingIncome` | `totalOperatingIncome` |\n| `ebitda` | `totalEBITDA` |\n| `otherIncomeExpenses` | `totalOtherIncome`, `totalOtherExpenses` |\n| `netIncome` | `totalNetIncome` |\n| `earningsPerShare` | `basicEPS`, `dilutedEPS` |\n| `fullFinancialReport` | 위 모든 항목을 하나의 struct에 담음 |\n\n수치가 프로토콜이 소유한 다른 컨트랙트에서 계산된다면, 그 컨트랙트들은 블록 익스플로러에서 소스 검증이 되어 있어야 합니다.\n\n## 샘플 코드\n\nethers v6로 한 기간의 수치 읽기:\n\n```ts\nimport { Contract, JsonRpcProvider, formatUnits } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst fs = new Contract(protocolAddr, [\n  \"function stablecoinAddress() view returns (address)\",\n  \"function revenue(uint256,uint256) view returns (tuple(uint256 grossRevenue, uint256 d1, uint256 dN))\",\n  \"function netIncome(uint256,uint256) view returns (tuple(uint256 totalNetIncome, uint256 d1, uint256 dN))\",\n], provider);\n\nconst usd = new Contract(await fs.stablecoinAddress(),\n  [\"function decimals() view returns (uint8)\"], provider);\nconst dec = await usd.decimals();\n\nconst q3Start = 1719792000n, q3End = 1727740799n; // 2024-07-01 .. 2024-09-30 UTC\nconst rev = await fs.revenue(q3Start, q3End);\nconst net = await fs.netIncome(q3Start, q3End);\nconsole.log(\"revenue\", formatUnits(rev.grossRevenue, dec), \"net\", formatUnits(net.totalNetIncome, dec));\n```\n\n## 알아둘 점\n\n- 상태: **Review**. struct 레이아웃과 이름은 아직 바뀔 수 있습니다. 참조 구현은 통화 getter의 이름을 `stablecoinAddress()`가 아니라 `currency()`로 쓰고 있습니다.\n- 모든 값이 `uint256`이므로, 현재 초안에서는 손실(음수 이익이나 EPS)을 나타낼 분명한 방법이 없습니다.\n- 이 표준이 정의하는 것은 형식이지 진실이 아닙니다. 수치는 컨트랙트가 보고하는 그대로이며, ERC 안에 이를 감사하는 장치는 없습니다. 감사받지 않은 자체 보고 수치로 취급하세요.\n- 이것이 토큰을 법적 주식으로 만들거나 보유자에게 어떤 권리를 주지는 않습니다. 그것은 발행자와 관할권에 달려 있습니다.\n"},"zh":{"lang":"zh","tldr":"一组标准的 view 函数，让发行代币的协议在链上公布以稳定币计价的利润表和资产负债表数据，类似简化版的 10-Q。","tags":["finance","reporting","erc20","transparency"],"related":[20,4626],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7776/","markdown":"## 它解决什么问题？\n\n上市公司的投资者会收到季度报告，其中以固定格式列出收入、成本和每股收益。而协议代币的投资者通常得到的只是团队随意选择形式的博客文章和仪表盘，甚至什么都没有。\n\nERC-7776 提出了一个通用的链上 API，使协议可以直接通过合约公开其财务报表。这样，在采用该标准的各个协议之间，任何前端、分析师或其他合约都可以读取相同结构的相同数据。\n\n## 它如何运作\n\n实现该标准的合约还必须是一个代表股份的 [ERC-20](/eip-20/) 代币（带有 `name`/`symbol` 元数据），并且必须声明一种用于计价所有数据的稳定币（`stablecoinAddress()`）。\n\n每个报告函数都接收 `(startTimestamp, endTimestamp)`：\n\n- `start == end` 返回该时刻的**资产负债表快照**。\n- `start \u003c end` 返回该期间的**利润表**。\n- `start \u003e end` 无效。\n\n每个函数返回的不是单个数字，而是一个结构体，其第一个字段是核心数值，后面可以跟额外的明细字段：\n\n| 函数 | 核心字段 |\n| --- | --- |\n| `revenue` | `grossRevenue` |\n| `cogs` | `totalCOGS` |\n| `operatingExpenses` | `totalOperatingExpenses` |\n| `operatingIncome` | `totalOperatingIncome` |\n| `ebitda` | `totalEBITDA` |\n| `otherIncomeExpenses` | `totalOtherIncome`、`totalOtherExpenses` |\n| `netIncome` | `totalNetIncome` |\n| `earningsPerShare` | `basicEPS`、`dilutedEPS` |\n| `fullFinancialReport` | 将以上所有内容放在一个结构体中 |\n\n如果数据是由协议拥有的其他合约计算得出的，这些合约必须在区块浏览器上完成源码验证。\n\n## 示例代码\n\n使用 ethers v6 读取某个期间的数据：\n\n```ts\nimport { Contract, JsonRpcProvider, formatUnits } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst fs = new Contract(protocolAddr, [\n  \"function stablecoinAddress() view returns (address)\",\n  \"function revenue(uint256,uint256) view returns (tuple(uint256 grossRevenue, uint256 d1, uint256 dN))\",\n  \"function netIncome(uint256,uint256) view returns (tuple(uint256 totalNetIncome, uint256 d1, uint256 dN))\",\n], provider);\n\nconst usd = new Contract(await fs.stablecoinAddress(),\n  [\"function decimals() view returns (uint8)\"], provider);\nconst dec = await usd.decimals();\n\nconst q3Start = 1719792000n, q3End = 1727740799n; // 2024-07-01 .. 2024-09-30 UTC\nconst rev = await fs.revenue(q3Start, q3End);\nconst net = await fs.netIncome(q3Start, q3End);\nconsole.log(\"revenue\", formatUnits(rev.grossRevenue, dec), \"net\", formatUnits(net.totalNetIncome, dec));\n```\n\n## 需要注意\n\n- 状态：**Review**。结构体布局和名称仍可能变化；参考实现甚至把货币的 getter 命名为 `currency()`，而不是 `stablecoinAddress()`。\n- 所有值都是 `uint256`，因此在当前草案中，亏损（负的利润或 EPS）没有明确的表示方式。\n- 该标准定义的是格式，而不是真相。数据就是合约所报告的内容；ERC 中没有任何机制对其进行审计。请把它们当作未经审计的自我申报数字。\n- 它不会让代币成为法律意义上的股份，也不会赋予持有者任何权利；这取决于发行方和司法管辖区。\n"}}}
