<aside> 💡
To use this function, you must use GlueERC20
or GlueERC721
contract of a specific Sticky Token. To better understand the Glue Ecosystem architecture and find the correct deployment addresses, visit visit Lore and Architecture | License & Deployments
</aside>
The unglue
function allows users to burn their sticky tokens and withdraw a proportional amount of the collateral held in the Glue contract.
<aside> 💡
This function is from the GlueStickERC20
or the GlueStickERC721
. To better understand the Glue Ecosystem architecture and find the correct deployment addresses, visit Lore and Architecture | License & Deployments
</aside>
The batchUnglue
function allows users to burn multiple sticky tokens and withdraw a proportional amount of collaterals held in multiple Glue contracts.
You can customize your Sticky Asset's behavior in its own Glue during the unglue operation using hooks. To learn more, visit Hooks and Expansions Pack
The internal calculations for the Sticky Token Adjusted (Before and After) Total Supply occur automatically, based on the Sticky Token's behavior during the first unglue interaction. This interaction allows the contract to learn several key aspects:
<aside> 🧠
In essence, Glue self-learns the Sticky Token's behavior during the first interaction, optimizing internal calculations for precision and cost-efficiency. These calculations require no developer knowledge and don't alter any behavior—it simply works out of the box. To know more: Read Sticky Token Self-Learning Settings
</aside>