The architecture of Glue is divided by the Glue Stick and the Glue.
The Glue Stick is the factory contract that clones Glue, generating a Glue Address for a specific token or NFT collection, effectively making it 'Sticky'.
Lore:
- 🧴 Glue Stick: The factory contract that glues ERC20 or ERC721E tokens.
- 🍥 Sticky Token: A token fueled by glue.
- 💦 Glue Address: The unique address of glue linked to a Sticky Token.
- 💰 Glued Collaterals: The collateral (ERC20 and ETH) glued to a Sticky Token.
- 🔄 Apply The Glue: The process of infusing a token or NFT with glue, making it sticky by creating its Glue Address.
- 🔥 Unglue: The process of burning Sticky Token supply to withdraw the corresponding percentage of collateral.
- 💸 Glued Loan: The process of borrowing collateral from multiple glues.
- 🪝Glued Hook: A tool that expands protocol functionality by integrating the Sticky Asset Standard into your contract.
- 💚 Sticky Asset Standard: A common toolkit for implementing Glue functions and simplifying the development process.
- 🟢 Sticky Asset Native SAN: An asset natively compatible with the Sticky Asset Standard.
- 🟰 Adjusted Total Supply: The total supply of an asset, including address(0) (if needed), the Dead address, and Glue holdings.
Structure:
Glue V1 is composed of 5 contracts:
- GlueStickERC20: The factory contract that glues ERC20 tokens.
- GlueStickERC721: The factory contract that glues ERC721E tokens.
- GlueERC20: The contract that creates the Glue Address for a Sticky Token.
- GlueERC721: The contract that creates the Glue Address for a Sticky Token.