<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>
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:asset: The address of the glued asset. [address]glueAddress: The Glue Address created for the specified Sticky Asset. [address]glueIndex: The index number of the Glue created in the current network. [uint256]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:stickyAssets: Array of Sticky Assets that were burned . [address]amounts: Array of amounts that were processed for each Sticky Asset. [address]collaterals: Array of collateral addresses that were withdrawn. [uint256]recipients: Array of addresses that received the collateral [address]<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>