This proposal defines a standard API that enables EVM Blockchain-based companies (or also called “protocols”) to publish their financial information, specifically Income Statements and Balance Sheets, on-
chain in a transparent and accessible manner through solidity smart contracts. This standard aims to emulate the reporting structure used by publicly traded companies in traditional stocks markets, like
the SEC 10-Q filings. The financial statements include key information, namely as Revenue, Cost of Goods Sold, Operating Expenses, Operating Income, Earnings before Interest, Taxes, Depreciation, and
Amortization (EBITDA) and
Earnings Per Share-Token (EPS), allowing investors to assess the financial health of blockchain-based companies in a standardized, transparent, clear and reliable format.
Motivation
The motivation of this ERC is to bring seriousness to the cryptocurrencies investments market. Currently, the situation is as follows:
The current state of token investment analysis is opaque, with most information presented in an abstract and non-quantitative form. This standard API ensures a consistent and reliable way for investors to
evaluate blockchain projects based on real financial data published directly on-chain, not just speculative promises. This will establish a greater
trust in the cryptocurrency markets and align token analysis with the standards of traditional equity markets.
Most ERC-20 Tokens representing EVM Blockchain-based companies (or also called “protocols”), DO NOT work the same way as a publicly traded stock that represents a share of ownership of the
equity of that such company (so the user who buys a protocol’s ERC-20, is also now a share-holder and co-owner of the business, its profits and/or its dividends), but rather function as “commodities” such
as oil; they are consumable items created by said EVM Blockchain-based company (or “protocol”) to be spent in their platform. They are publicly traded and advertised to be representing the underlying
protocol like a share, working in practice the same way as a commodity and without any public, transparent and Clear Financial Information as publicly traded stocks have.
Added to that, most token research analysis reports that can be currently found on the internet are informal Substack or Twitter posts, with lots of abstract explanations about the features of the said
protocol to invest in, that lack of transparent financial numbers and factual financial information, that are made by anonymous users without real exposed reputations to affect.
This ERC will improve that by giving users and investors transparent, clear and factual financial information to work with when analyzing as a potential investment the such
EVM Blockchain-based company that implements this ERC in their solidity smart contracts, and that will generate trust, transparency and seriousness in the cryptocurrencies investments market long term.
Specification
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in
RFC 2119 and RFC 8174.
All Transparent Financial Statements Standard implementations MUST implement ERC-20 to represent shares, and the financial numbers such as Revenue, Costs of Goods Sold, Operating Expenses, Operating
Income, EBITDA, Other Income and Expenses, Net Income and Earnings Per Share MUST be displayed in the value of the protocol’s stablecoin of choice.
All Transparent Financial Statements MUST implement ERC-20’s optional metadata extensions.
The name and symbol functions SHOULD reflect the underlying token’s name and symbol in some way.
All methods MUST be of visibility external.
All methods MUST return their financial numbers valued in the provided stablecoin.
If the contract owner uses data or methods from other owned smart contracts external to their smart contract implementation of this standard, those smart contracts MUST be verified in the correspondent
blockchain explorer and of open and visible source code.
Timestamp Constraint: For all methods, startTimestamp MUST be less than or equal to endTimestamp. If startTimestamp is equal to endTimestamp, the method returns a balance sheet snapshot. If
startTimestamp is less than endTimestamp, the method returns an income statement for that period.
Output Structs: Instead of a single uint256 value, each method returns a struct with one or OPTIONAL more uint256 entries to allow for detailed financial data, each one with their own customized
entry name.
Definitions:
Currency: The individual stablecoin used to value the publicly displayed financial numbers.
Revenue: Total earnings from selling products or services before expenses.
Cost of Goods Sold (COGS): Direct costs for producing goods/services, including labor and materials.
Operating Expenses: Expenses like Selling, General, and Administrative, Research and Development, and other operational costs.
Operating Income: Revenue minus operating expenses.
EBITDA: Earnings Before Interest, Taxes, Depreciation, and Amortization.
Other Income and Expenses: Non-operating income, such as interest, investment gains or losses.
Net Income: Profit after all expenses, taxes, and deductions.
EPS: Earnings per Share Token (ERC-20), showing profit allocated per share.
Methods
stablecoinAddress
Returns the address of the individual stablecoin used to value the publicly displayed financial numbers.
Returns a comprehensive struct that includes all the prior financial details of the protocol combined: Revenue, COGS, Operating Expenses, Operating Income, EBITDA, Other Incomes and Expenses, Net income,
and EPS into a unified Struct.
ERC-20 is enforced because implementation details like Earnings Per Token calculation directly carry over to the accounting. This standardization makes the Transparent Financial Statements compatible with
all ERC-20 use cases.
This implementation enables the protocol to share their financial information both as their latest updated Balance Sheet (if the user chooses to just see a current snapshot of
the financial state of the company) and as an Income Statement (if the user chooses to see the evolution of the financial state of the company between two different block
timestamps) and also is thought to interact with other separated Smart Contracts of the same protocol from which the financial information will be sent.
Backwards Compatibility
Transparent Financial Statements Standard is fully backward compatible with the ERC-20 standard and has no known compatibility issues with other standards.
Reference Implementation
NOTE: This Reference Implementation is a placeholder. It will be improved in the future from the feedback received.
// SPDX-License-Identifier: CC0-1.0
pragmasolidity0.8.27;interfaceIERC20{functionname()externalviewreturns(stringmemory);functionsymbol()externalviewreturns(stringmemory);}contractTransparentFinancialStatements{addresspublicstablecoin;structRevenueStruct{uint256grossRevenue;uint256optionalAdditionalRevenueDetail1;uint256optionalAdditionalRevenueDetailN;}structCOGSStruct{uint256totalCOGS;uint256optionalAdditionalCOGSDetail1;uint256optionalAdditionalCOGSDetailN;}structOperatingExpensesStruct{uint256totalOperatingExpenses;uint256optionalAdditionalExpenseDetail1;uint256optionalAdditionalExpenseDetailN;}structOperatingIncomeStruct{uint256totalOperatingIncome;uint256optionalAdditionalIncomeDetail1;uint256optionalAdditionalIncomeDetailN;}structEBITDAstruct{uint256totalEBITDA;uint256optionalAdditionalEBITDADetail1;uint256optionalAdditionalEBITDADetailN;}structOtherIncomeExpensesStruct{uint256totalOtherIncome;uint256totalOtherExpenses;uint256totalOtherIncomeDetail1;uint256totalOtherExpensesDetail1;uint256totalOtherIncomeDetailN;uint256totalOtherExpensesDetailN;}structNetIncomeStruct{uint256totalNetIncome;uint256optionalAdditionalNetIncomeDetail1;uint256optionalAdditionalNetIncomeDetailN;}structEPSstruct{uint256basicEPS;uint256dilutedEPS;uint256EPSDetail1;uint256EPSDetailN;}structFullFinancialsStruct{RevenueStructrevenue;COGSStructcogs;OperatingExpensesStructoperatingExpenses;OperatingIncomeStructoperatingIncome;EBITDAstructebitda;OtherIncomeExpensesStructotherIncomeExpenses;NetIncomeStructnetIncome;EPSstructeps;}constructor(address_stablecoin){stablecoin=_stablecoin;}functioncurrency()publicviewreturns(address){returnstablecoin;}functionrevenue(uint256startTimestamp,uint256endTimestamp)publicviewreturns(RevenueStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return revenue details
returnRevenueStruct(1000,500,100);// Example values
}functioncogs(uint256startTimestamp,uint256endTimestamp)publicviewreturns(COGSStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return COGS details
returnCOGSStruct(400,150,50);// Example values
}functionoperatingExpenses(uint256startTimestamp,uint256endTimestamp)publicviewreturns(OperatingExpensesStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return operating expenses details
returnOperatingExpensesStruct(300,100,50);// Example values
}functionoperatingIncome(uint256startTimestamp,uint256endTimestamp)publicviewreturns(OperatingIncomeStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return operating income details
returnOperatingIncomeStruct(300,100,50);// Example values
}functionebitda(uint256startTimestamp,uint256endTimestamp)publicviewreturns(EBITDAstructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return EBITDA details
returnEBITDAstruct(700,200,100);// Example values
}functionotherIncomeExpenses(uint256startTimestamp,uint256endTimestamp)publicviewreturns(OtherIncomeExpensesStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return other income/expenses details
returnOtherIncomeExpensesStruct(100,50,20,10,30,20);// Example values
}functionnetIncome(uint256startTimestamp,uint256endTimestamp)publicviewreturns(NetIncomeStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return net income details
returnNetIncomeStruct(600,200,100);// Example values
}functionearningsPerShare(uint256startTimestamp,uint256endTimestamp)publicviewreturns(EPSstructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return EPS details
returnEPSstruct(10,8,2,1);// Example values
}functionfullFinancialReport(uint256startTimestamp,uint256endTimestamp)publicviewreturns(FullFinancialsStructmemory){require(startTimestamp<=endTimestamp,"Invalid timestamps");// Logic to calculate and return all financial details
returnFullFinancialsStruct(revenue(startTimestamp,endTimestamp),cogs(startTimestamp,endTimestamp),operatingExpenses(startTimestamp,endTimestamp),operatingIncome(startTimestamp,endTimestamp),ebitda(startTimestamp,endTimestamp),otherIncomeExpenses(startTimestamp,endTimestamp),netIncome(startTimestamp,endTimestamp),earningsPerShare(startTimestamp,endTimestamp));}}
Security Considerations
This ERC involves displaying critical financial data on-chain, so special attention must be paid to ensure the accuracy and security of the data, particularly in preventing tampering or manipulation of key
financial figures. Further discussion on validation mechanisms and audits for the smart contracts containing financial data is necessary.