We developed the Expansions Pack to build upon Glue, adding both Sticky Assets Native Contracts (which interact with Glued) and Flash Loans.

To implement the Expansions Pack you can go on Github or easily install via npm

npm install @glue-finance/expansions-pack

The Expansions Pack contains two major pure contracts you can implement in your project to simplify the development experience:

1 - 🟢 Sticky Asset

Implementing Sticky Asset in your new token or NFT provides a complete, simplified native integration with Glue. It reduces development time through pre-built integrations and eliminates the need to study Glue extensively. Additionally, it expands your asset's Glue functionalities with hooks—programmable actions that execute during the unglue process.

<aside> 💡

To learn more about Sticky Asset and how to use it go to

Sticky Asset Native

</aside>

2 - 🏦 Glued Loan receiver

By implementing GluedLoanReceiver, you can drastically simplify your flash loan development and focus on complex arbitrage logic. You won't need to worry about implementing loan requests and repayments—whether for single flash loans or multiple Glue glued loans.

Here are the advantages of using GluedLoanReceiver in your contracts:

<aside> 💡

To learn more about the Glued Loan Receiver and how to use it go to

Glued Loan Receiver

</aside>

🎁 Bonus: Math Library

Expansions pack comes with Glued Math integrated, our math library that simplifies classic math operations in Solidity programming. It includes ultra-precise fixed-point math operations and tools to adjust decimal places between different tokens and ETH.

We built Glue and Glue Expansions using GluedMath.sol, and it's been transformative! Both GluedLoanReceiver and StickyAsset come with GluedMath's capabilities built in, making it easy to implement these functions in your own logic.

👽 Development Tools

At Glue, we're focused on making the development experience as easy and friendly as possible. We want to empower the next generation of builders to create their own expanded tools and assets on top of Glue without needing to be experts in how Glue works internally. We've created a series of Mocks to simplify the testing and development lifecycle, reducing your development and testing time by a x10.

With Mocks, you can quickly test protocol responses using one-to-one interface calls that offer custom programmability for your specific testing scenarios.

<aside> 💡

To learn more about Glued Mocks and how to use it go to

Glued Mocks

</aside>

Frequently Asked Questions (FAQ)