Reference implementation of ERC-7208 and usage examples
Reference implementation of ERC-7208 and usage examples
List of contracts
Interfaces
- IDataIndex - Interface of DataIndex
 - IDataObject - Interface of DataObject
 - IDataPointRegistry - Interface of Data Point Registry
 - IIDManager - Interface for building and querying Data Index user identifiers
 
Implementation
- DataIndex - Data Index (implements 
IDataIndexandIIDManager) - DataPointRegistry - Data Point Registry (implements 
IDataPointRegistry) - DataPoints - Library implementing DataPoint type and its encode/decode functions
 - ChainidTools - Library implementing utility functions to work with chain ids
 
Usage examples
- IFractionTransferEventEmitter - Interface used for DataManagers communication to emit ERC20 Transfer events
 - IFungibleFractionsOperations - Interface defines DataObject operations, which can be called by DataManager
 - MinimalisticFungibleFractionsDO - DataObject implements data storage and related logic for token with Fungible Fractions (like ERC1155)
 - MinimalisticERC1155WithERC20FractionsDataManager - DataManager implements token with fungible fractions with ERC1155 interface, linked to a DataManager which implements ERC20 interface for same token
 - MinimalisticERC20FractionDataManager - implements token with ERC20 interface, linked to a DataManager which implements ERC1155 interface for same token
 - MinimalisticERC20FractionDataManagerFactory - factory of DataManagers implementing ERC20 interface for token with fungible fractions
 
An audited implementation can be found here.