Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
ERC-3475 proposes a way to tokenize bonds and efficiently handle operations such as issuance and redemption.
This article explains the proposal, with additional context and examples.
Overview
The proposal addresses the difficulty of representing bonds with multiple sets of redemption data using conventional token standards.
Redemption data describes the conditions and timing under which holders of financial instruments such as bonds or securities receive principal or interest.
A bond may provide for repayment of principal over several periods, interest payments, or both. These terms help holders estimate future cash flows and make investment decisions.
For example, redemption-related information may include the dates and amounts of interest payments or the dates and amounts of partial principal repayments. Investors and other market participants use these details when evaluating bonds and considering trading strategies.
The standard introduces class IDs to distinguish different types of bonds. Each class can contain multiple nonces, represented as uint256 identifiers, that distinguish issuance terms or other characteristics. A nonce can be associated with metadata, supply information, and redemption conditions.
The resulting bond representation supports batch processing of issuance and redemption. This can reduce transaction overhead and improve usability. Units of a bond series can also be divided into quantities and exchanged on secondary markets.
Motivation
Conventional liquidity provider (LP) tokens are often simple ERC-20 tokens without complex data structures. More elaborate on-chain reward and redemption mechanisms call for a representation that can express additional information.
The proposal has four main characteristics.
1. Support for multiple token IDs
Different types of tokens can be represented within a common framework. For example, different debt obligations can be issued as distinct bond series.
2. On-chain metadata
Token-related information and terms can be stored and managed on-chain.
3. Flexible storage patterns
Rather than prescribing a single application-specific data structure, the standard provides flexible ways to represent bond information.
4. Gas efficiency
Batch operations and shared storage structures can reduce transaction overhead, depending on the implementation.
Other benefits include:
- A common representation for different types of debt, making complex token structures easier to create.
- Standardized interfaces through which third-party wallets and exchanges can retrieve information and support token management.
- The ability to package bonds as tradable units that can be divided or exchanged on secondary markets.
The standard is intended to make complex financial instruments easier to represent and trade.
Specification
Definitions
Bank (called Bunk in the original article)
The bank is the administrative entity responsible for issuing, redeeming, or canceling bonds once the relevant funding and other conditions are satisfied. In a typical design, an organization or contract with administrative access manages these operations and has the required permissions over the bond pool. The interface does not itself guarantee that the issuer is solvent or that payments will be made.
Functions
pragma solidity ^0.8.0;
function transferFrom(address _from, address _to, Transaction[] calldata _transactions) external;
function transferAllowanceFrom(address _from,address _to, Transaction[] calldata _transactions) public ;
function issue(address _to, Transaction[] calldata _transaction) external;
function redeem(address _from, Transaction[] calldata _transactions) external;
function burn(address _from, Transaction[] calldata _transactions) external;
function approve(address _spender, Transaction[] calldata _transactions) external;
function setApprovalFor(address _operator, bool _approved) external returns(bool approved);
function totalSupply(uint256 classId, uint256 nonceId) external view returns (uint256);
function redeemedSupply(uint256 classId, uint256 nonceId) external view returns (uint256);
function activeSupply(uint256 classId, uint256 nonceId) external view returns (uint256);
function burnedSupply(uint256 classId, uint256 nonceId) external view returns (uint256);
function balanceOf(address _account, uint256 classId, uint256 nonceId) external view returns (uint256);
function classMetadata(uint256 metadataId) external view returns (Metadata memory);
function nonceMetadata(uint256 classId, uint256 metadataId) external view returns (Metadata memory);
function classValues(uint256 classId, uint256 metadataId) external view returns (Values memory);
function nonceValues(uint256 classId, uint256 nonceId, uint256 metadataId) external view returns (Values memory);
function getProgress(uint256 classId, uint256 nonceId) external view returns (uint256 progressAchieved, uint256 progressRemaining);
function allowance(address _owner, address _spender, uint256 classId, uint256 nonceId) external returns(uint256);
function isApprovedFor(address _owner, address _operator) external view returns (bool);The function declarations reproduced here are from the original article. They illustrate the interface rather than constitute a complete compilable Solidity source file.
transferFrom
Overview
Transfers bond tokens between addresses.
Details
The function moves specified quantities of bonds from one address to another. Multiple entries can be processed together, with each entry identifying a bond class, nonce, and amount.
Parameters
_from- The source address.
_to- The destination address.
_transactions- An array of entries containing a class ID, nonce ID, and amount.
transferAllowanceFrom
Overview
Transfers bond tokens within an authorized allowance.
Details
The function transfers specified quantities between addresses, subject to the relevant allowances. Multiple class and nonce combinations can be included in a single operation.
Parameters
_from- The source address.
_to- The destination address.
_transactions- An array of entries containing a class ID, nonce ID, and amount.
issue
Overview
Issues bond tokens to an address.
Details
An authorized issuing entity creates specified quantities of bonds identified by their class and nonce IDs. Multiple entries can be issued together.
Parameters
_to- The recipient of the newly issued tokens.
_transactions- An array of entries containing a class ID, nonce ID, and amount. The declaration above uses the singular parameter name
_transaction.
- An array of entries containing a class ID, nonce ID, and amount. The declaration above uses the singular parameter name
redeem
Overview
Redeems bond tokens.
Details
The function redeems specified bonds held by an address once applicable redemption conditions have been met. The implementation must restrict redemption to appropriately authorized parties, such as the bank or a secondary-market maker contract.
Parameters
_from- The address whose tokens are redeemed.
_transactions- An array of entries containing a class ID, nonce ID, and amount.
burn
Overview
Burns bond tokens.
Details
The function removes specified bond units from an address's holdings under the applicable conditions. The implementation must restrict burning to authorized parties, such as the bank or a secondary-market maker contract. Burning and redemption are distinct operations.
Parameters
_from- The address whose tokens are burned.
_transactions- An array of entries containing a class ID, nonce ID, and amount.
approve
Overview
Grants an address an allowance for particular bond tokens.
Details
The function authorizes a spender to transfer specified amounts for particular class and nonce IDs. The authorization rules must ensure that only the appropriate account owner or authorized entity can grant an allowance.
Parameters
_spender- The address authorized to transfer the tokens.
_transactions- An array of entries containing a class ID, nonce ID, and amount.
setApprovalFor
Overview
Enables or disables an operator's approval.
Details
This function grants or revokes an operator's authority according to the implementation's authorization rules. Unlike a per-series allowance, the displayed signature contains no class or nonce ID, so callers should not assume approval is limited to a particular bond class.
Parameters
_operator- The operator's address.
_approvedtrueto enable approval orfalseto disable it.
Return value
A Boolean reporting the approval result.
totalSupply
Overview
Returns the total supply associated with a class and nonce.
Details
This includes issued units accounted for as active, redeemed, or burned supply.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The total supply.
redeemedSupply
Overview
Returns the redeemed supply for a particular class and nonce.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The redeemed supply.
activeSupply
Overview
Returns the active supply for a particular class and nonce.
Details
Active supply represents bond units that have not been redeemed or burned.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The active supply.
burnedSupply
Overview
Returns the burned supply for a particular class and nonce.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The burned supply.
balanceOf
Overview
Returns an account's balance for a given class and nonce.
Details
The function queries the balance associated with the specified account and bond series. The original article describes this in relation to redeemed units as well; callers should check the actual implementation's accounting rules and distinguish balances from the separate redeemed-supply counter.
Parameters
_account- The address whose balance is queried.
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The account's balance for the specified series.
classMetadata
Overview
Returns the metadata definition at a specified index for class-level metadata.
Details
Metadata describes a field using information such as its title, type, and description. The Solidity function returns a Metadata struct; clients may represent it as JSON.
Parameters
metadataId- The metadata index.
Return value
The class metadata definition.
nonceMetadata
Overview
Returns a nonce-level metadata definition for a specified bond class.
Details
The returned Metadata struct describes the field's title, type, and description. It is a schema definition rather than an individual nonce's stored value.
Parameters
classId- The bond class ID.
metadataId- The metadata index.
Return value
The nonce metadata definition. The original prose also listed a nonce ID, but the displayed function signature has only two parameters.
classValues
Overview
Returns the value of a particular class-level metadata field.
Details
The value can contain data such as a string, number, or address.
Parameters
classId- The bond class ID.
metadataId- The metadata index.
Return value
The associated Values struct.
nonceValues
Overview
Returns the value of a metadata field for a particular class and nonce.
Details
The value can contain data such as a string, number, or address.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
metadataId- The metadata index.
Return value
The associated Values struct.
getProgress
Overview
Reports progress toward redemption for a particular bond series.
Details
The function returns achieved and remaining progress according to the redemption conditions. These values need not be quantities of outstanding tokens; their meaning depends on the implementation.
Parameters
classId- The bond class ID.
nonceId- The nonce ID.
Return values
progressAchieved- The progress already achieved.
progressRemaining- The remaining progress.
allowance
Overview
Returns the remaining allowance granted by an owner to a spender for a specific class and nonce.
Parameters
_owner- The token owner's address.
_spender- The authorized spender's address.
classId- The bond class ID.
nonceId- The nonce ID.
Return value
The remaining amount the spender is authorized to transfer from the owner. Calling this function queries an allowance; it does not grant one.
isApprovedFor
Overview
Checks whether an operator has approval from a particular owner.
Details
The function returns true if the operator is approved and false otherwise. The displayed signature does not take a class ID.
Parameters
_owner- The owner's address.
_operator- The operator whose approval is queried.
Return value
A Boolean indicating the operator's approval status.
Events
event Issue(address indexed _operator, address indexed _to, Transaction[] _transactions);
event Redeem(address indexed _operator, address indexed _from, Transaction[] _transactions);
event burn(address _operator, address _owner, Transaction[] _transactions);
event Transfer(address indexed _operator, address indexed _from, address indexed _to, Transaction[] _transactions);
event ApprovalFor(address indexed _owner, address indexed _operator, bool _approved);Issue
Overview
Emitted when bonds are issued.
Details
An issuing operator, such as a bank contract, emits this event when issuing bond tokens to a recipient.
Parameters
_operator- The operator that initiated the action.
_to- The recipient of the issued bonds.
_transactions- The entries describing the issuance.
Redeem
Overview
Emitted when bonds are redeemed.
Parameters
_operator- The operator that initiated the action.
_from- The address whose bonds were redeemed.
_transactions- The entries describing the redemption.
Burn
Overview
Emitted when bonds are burned. The original code snippet spells the event name burn in lowercase; event identifiers are case-sensitive.
Parameters
_operator- The operator that initiated the action.
_owner- The address whose bonds were burned.
_transactions- The entries describing the burn.
Transfer
Overview
Emitted when bonds are transferred between addresses.
Details
The event records the operator and the transfer from the source address to the recipient.
Parameters
_operator- The operator that initiated the action.
_from- The source address.
_to- The recipient address.
_transactions- The entries describing the transfer.
ApprovalFor
Overview
Emitted when a bond holder grants or revokes an operator's approval.
Parameters
_owner- The owner granting or revoking approval.
_operator- The operator whose approval changes.
_approved- The new approval status.
Metadata
Class or nonce metadata can be represented in clients as arrays of JSON objects. The metadata schema is described here.
Metadata defines additional information about bond classes and nonces. Frontend applications use these definitions to interpret and display stored values.
Description metadata
[
{
"title": "defining the title information",
"_type": "explaining the type of the title information added",
"description": "little description about the information stored in the bond",
}
]Example:
{
"title": "localisation",
"_type": "string",
"description": "jurisdiction law codes compatibility"
"values": ["fr ", "de", "ch"]
}The examples retain the original syntax, including illustrative JSON with missing or trailing commas; they are not validated JSON fixtures.
Nonce metadata
Class information provides the context for retrieving nonce metadata. The original article describes the following rules:
- Titles identify metadata fields and use alphanumeric naming conventions that may vary by jurisdiction.
- A title must not be empty.
- Examples include localization and jurisdiction information, as discussed in the metadata.md reference.
Nonce metadata
[
{
"title": "maturity",
"_type": "uint",
"description": "Lorem ipsum...",
"values": [0, 0, 0]
}
]Class metadata
Class metadata describes information such as symbols, issuer details, and risk-related characteristics.
Class metadata
[
{
"title": "symbol",
"_type": "string",
"description": "Lorem ipsum...",
"values": ["Class symbol 1", "Class symbol 2", "Class symbol 3"],
},
{
"title": "issuer",
"_type": "string",
"description": "Lorem ipsum...",
"values": ["Issuer name 1", "Issuer name 2", "Issuer name 3"],
},
{
"title": "issuer_address",
"_type": "address",
"description": "Lorem ipsum...",
"values":["Address 1.", "Address 2", "Address 3"]
},
{
"title": "class_type",
"_type": "string",
"description": "Lorem ipsum...",
"values": ["Class Type 1", "Class Type 2", "Class Type 3"]
},
{
"title": "token_address",
"_type": "address",
"description": "Lorem ipsum...",
"values":["Address 1.", "Address 2", "Address 3"]
},
{
"title": "period",
"_type": "uint",
"description": "Lorem ipsum...",
"values": [0, 0, 0]
}
]Decoding data
A compatible frontend uses class and nonce metadata definitions to interpret the bond data. It retrieves metadata definitions and associated values using the relevant indices and class or nonce IDs.
Example:
{
"title": "symbol",
"_type": "string",
"description": "以下の形式で一意の識別子名を定義します:(シンボル、債券の種類、満期までの月数)",
"values": ["クラス名1", "クラス名2", "DBIT Fix 6M"]
}The Japanese description in this example defines a unique identifier composed of a symbol, bond type, and number of months until maturity. The first two values are example class names. The class ID can be used to identify the corresponding symbol value in the illustrated representation.
Additional considerations
Metadata structure
Although bond class and issuance details can be stored externally in other designs, this standard provides internal structures for representing that information.
A class identifies a type of bond, while a nonce distinguishes a particular issuance or set of terms within a class. Nonces belonging to a class share class-level metadata definitions, while nonce-specific values can differ. Distinct class and nonce combinations are distinguishable, and units within a particular combination can be fungible.
When ownership changes, the new holder obtains units associated with the same metadata and issuance terms rather than needing a separate copy of every metadata field.
struct Values{
string stringValue;
uint uintValue;
address addressValue;
bool boolValue;
bytes bytesValue;
}struct Metadata {
string title;
string _type;
string description;
}Batch functions
ERC-3475 introduces batch operations that can transfer several different bond series in a single transaction. Their metadata remains associated with the transferred units. After a successful transfer, the new holder obtains the associated rights, subject to the applicable bond terms and redemption conditions.
This makes it possible to package bonds efficiently, particularly for secondary-market transactions.
The Transaction struct represents each entry in a batch.
struct Transaction {
uint256 classId;
uint256 nonceId;
uint256 _amount;
}classId- Identifies the bond type and distinguishes one class from another.
nonceId- Identifies a particular issuance or set of terms within a class.
_amount- Specifies the quantity of bond units involved in the operation.
A single transaction can therefore transfer multiple bond series and the rights associated with those units. This simplifies trading and bond management.
AMM optimization
The proposal discusses automated market makers (AMMs) as a potential use case. Early AMM designs use separate contracts for token pairs and ERC-20 LP tokens to represent pool positions. Depending on the market structure, separate pools can fragment liquidity and contribute to transaction overhead or slippage.
A class-and-nonce structure can represent different kinds of liquidity positions and issuance terms in a common accounting framework. A pool factory could aggregate LP positions as bonds, identifying the relevant position through its class and nonce.
The name abstract storage bonds refers to the standard's ability to represent metadata, values, and transaction entries within a common storage abstraction.
Consider three bond types, A, B, and C, with different issuance periods identified by nonces. Each corresponds to a different token pair.
In a conventional design, the three pairs may use separate pools, with liquidity distributed across them.
An application using ERC-3475 could instead build a shared accounting structure containing entries for the class and nonce of each bond type. Holders could identify their proportional liquidity positions using those identifiers.
The application could also represent the underlying ERC-20 LP tokens as bond units associated with the corresponding positions, making it possible to aggregate their representation within a common system.
This is an illustrative architecture, not a guarantee that liquidity for different trading pairs becomes interchangeable. Actual liquidity aggregation, pricing, and slippage improvements require additional AMM logic and depend on the market design.
Compatibility
The proposal describes ways to integrate with existing contracts and wallets. EOAs can sign transactions calling functions such as issue() and redeem() when authorized to do so.
Existing ERC-20 token contracts can retain their current functionality while granting Mint authority to a bank contract implementing the bond interface, where the token's permission model supports that arrangement.
Events are important throughout the bond lifecycle. Implementations must emit the specified events for actions such as issuance, redemption, and transfers so that off-chain services can index the relevant transaction information.
The standard can be integrated with ERC-20, ERC-721, and ERC-1155 assets. This does not mean existing token contracts automatically implement the ERC-3475 interface.
A separate bank contract is recommended to accommodate bond-related operations and potential upgrades.
Applications may also support collateral in the form of fungible ERC-20 tokens, ERC-721 NFTs, ERC-1155 assets, or other bonds represented by ERC-3475. The collateral acceptance and enforcement rules remain application-specific.
Reference implementation
The example implementation is available here.
Source: https://eips.ethereum.org/EIPS/eip-3475
Security considerations
The setApprovalFor function
The function grants an operator authority over token operations. Depending on the authorization model, the operator may be permitted to transfer, burn, or redeem bonds. Implementations should carefully restrict the scope of approval and avoid granting unnecessary permissions.
Limited allowances
When an owner wants to authorize an address to operate on a limited amount of a specific bond series, the approve() function can grant a per-class and per-nonce allowance. This can reduce unnecessary access compared with broad operator approval. The displayed interface does not include an allowance expiration parameter, so a quantity limit must not be confused with automatic time-based expiry.
Emitting events
The events specified for lifecycle operations such as issue, redeem, and transferFrom must be emitted when those operations occur. Correct event emission enables monitoring and indexing, although events alone do not enforce authorization or security.
Compatibility and bank contracts
An existing ERC-20 token may grant Mint authority to a bank contract implementing the ERC-3475 interface. This enables integration with existing assets while introducing bond operations. The bank's permissions must be carefully controlled.
Accurate authorization checks and event emission are essential for protecting assets and maintaining reliable accounting.
Citation
Yu Liu (@yuliu-debond), Varun Deshpande (@dr-chain), Cedric Ngakam (@drikssy), Dhruv Malik (@dhruvmalik007), Samuel Gwlanold Edoumou (@Edoumou), Toufic Batrice (@toufic0710), "ERC-3475: Abstract Storage Bonds," Ethereum Improvement Proposals, no. 3475, April 2021. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-3475.
Conclusion
ERC-3475 provides a representation for tokenized bonds, using class and nonce IDs to distinguish bond terms and supporting batch operations for issuance, redemption, and transfers.
If you have questions, feel free to contact me on Twitter.

