📚Structure & SubId Types
Last updated
Last updated
mainId: Represents the primary asset type (e.g., property, invoice, or vehicle).
subId: Represents the unique attributes or variations of the asset (e.g., percentage share, due date, or color).
ERC20: 🏠🏠🏠 (All houses are the same and interchangeable)
Problem: ERC20 cannot represent unique houses with different values or attributes.
ERC721: 🏠🏡🏚 (Each house is unique and non-interchangeable)
Problem: ERC721 cannot represent fractional ownership of a house.
ERC1155: 🏠🏡🏚 (Both unique houses and interchangeable parts)
Problem: While ERC1155 can represent both unique houses and fractional ownership, it lacks the efficient, built-in management of these two types of assets within the same contract.
DLT: 🏠(1)🏡(2)🏚(3) 🔑(A)🔑(B)🔑©
Solution: DLT can represent unique houses (mainId
) and fractional ownership (subId) efficiently within the same contract, allowing for a more versatile real estate platform.
ERC20: 💼💼💼 (All invoices are the same and interchangeable)
Problem: ERC20 cannot represent unique invoices with different values or due dates.
ERC721: 💼📁🗂 (Each invoice is unique and non-interchangeable)
Problem: ERC721 cannot represent fractional ownership of an invoice or its individual components.
ERC1155: 💼📁🗂 (Both unique invoices and interchangeable parts)
Problem: While ERC1155 can represent both unique invoices and fractional ownership, it lacks the efficient, built-in management of these two types of assets within the same contract.
DLT: 💼(1)📁(2)🗂(3) 💵(A)💵(B)💵©
Solution: DLT can represent unique invoices (mainId) and individual invoice components or fractional ownership (subId) efficiently within the same contract, allowing for a more versatile invoice factoring platform for SMEs
DLT (DualLayerToken) is a flexible token standard that manages different types of digital assets (mainIds
) and their attributes or variations (subIds
). SubIds can be used in two ways, with each subId having a specific quantity:
All mainIds
share the same set of subIds.
MainIds (Models):
iPhone
Samsung
Google Pixel
SubIds (Storage Capacities):
A: 64GB
B: 128GB
C: 256GB
Here, all smartphone models (mainIds
) have the same storage capacities (subIds A, B, C).
MainIds have unique sets of subIds.
MainIds (Courses):
Math
Science
History
SubIds (Instructors and Class Quotas):
A: Alice (20 students)
B: Bob (15 students)
C: Carol (30 students)
D: Dave (25 students)
Here, each course (mainId
) has a different set of instructors (subIds
) with specific class quotas:
Math (1): Alice (20 students), Bob (15 students)
Science (2): Alice (20 students), Carol (30 students)
History (3): Dave (25 students)
In summary, DLT’s flexible structure allows for both shared and mixed subIds, making it suitable for managing diverse assets and their attributes with associated quantities in various applications. The use of emojis and bullet points helps to visualize these relationships and make the examples more relatable and engaging.
Example: Smartphone Models and Storage Capacities
Example: Courses and Instructors with Class Quotas