GlueStickERC20 and GlueStickERC721

<aside> 💡

these functions are 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>

Glue Added

This event is triggered each time the Glue Stick makes a token Sticky after executing the applyTheGlue  (Apply The Glue ) function.

/**
* @notice Emitted when a new token is infused with glue and became sticky
* @param asset The address of the token that was infused
* @param glueAddress The address of the created glue contract
* @param glueIndex The index of the glue in the allGlues array
*/
event GlueAdded(address indexed asset, address glueAddress, uint256 glueIndex);

GlueAdded returns the following:

Batch Unglue Executed

This event is triggered each time the Glue Stick makes a token Sticky after executing the batchUnglue  (Unglue Collateral) function.

/**
* @notice Emitted when a batch unglue operation is executed
* @param stickyAssets Array of tokens that were unglued
* @param amounts Array of amounts that were processed for each token
* @param collaterals Array of collateral addresses that were withdrawn
* @param recipients Array of addresses that received the assets
*/
event BatchUnglueExecuted(address[] stickyAssets,uint256[] amounts,address[] collaterals,address[] recipients);

BatchUnglueExecuted returns the following:

GlueERC20 and GlueERC721

<aside> 💡

To use these functions, 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>