News, Product, Product overviews

Development Report – Algem (Bi-Weekly Update)

Overview:

Hello Algem users!

Welcome back to our bi-weekly development report, where we bring you the latest updates on our progress. Our development team has been working diligently on enhancing both the V2 contracts and LiquidStakingV2, along with making essential updates to ensure our platform is robust, user-friendly, and ready for production. Here’s a closer look at what Danny and Alex have been working on.

TLDR:

Over the past two weeks, Danny focused on revisiting and updating the Liquid Farming V2 vault and pool contracts, aligning them with current workflows, improving error handling, and refining project structure to ensure a production-ready environment. Alex made adjustments to the LiquidCrowdloan contract in response to Astar’s block timing changes and developed an ERC20-compatible version of LiquidStakingV2 for testing on Minato, preparing it for UI integration and production deployment.

Smart Contracts Progress

Liquid Farming V2 Contract Updates and Repository Improvements – Danny:

In the first week, Danny dedicated his efforts to revisiting the V2 vault and pool contracts, which hadn’t received much attention lately as the team’s focus shifted to V3 development. Although the core functionality of the V2 contracts remained solid, the front-end workflow had evolved significantly, requiring updates to the V2 contract getters and error-handling mechanisms. Danny adjusted these contracts to align with the current V3 setup, updating events, error messages, and other minor aspects to ensure a consistent and smooth workflow for users interacting with the V2 vaults and pools.

During the second week, Danny took on a comprehensive update of the project repository. In the early stages of development, quick solutions were often implemented to accelerate progress. Now, however, Danny has refined the project structure to be more production-ready. Each dApp’s vault and pool now has a unique name and its own dedicated scripts, making it easier to manage, test, and deploy each component independently. Additionally, he created a unified interface (IVault) for event and error handling, with specific versions (IVaultV2 and IVaultV3) inheriting this interface while incorporating version-specific updates. This restructure eliminates unnecessary clutter in the code, resolves compiler warnings, and provides a cleaner, more organized project environment. Documentation for each contract was also enhanced to give a clearer understanding of the project and facilitate future audits.

Liquid StakingV2 and Crowdloan Enhancements  – Alex:

Alex began the first week by working on minor but essential updates to the LiquidCrowdloan contract following recent audit feedback. As Astar’s block creation time was reduced from 12 to 6 seconds, Alex adjusted the contract’s time-dependent values accordingly. He also fixed a bug discovered during testing and resubmitted these updates to the auditors for review. Simultaneously, Alex developed an ERC20-compatible version of the LiquidStakingV2 contract, making it easier to test on the Minato network and ensuring a seamless user experience during the testing phase.

In the second week, Alex deployed and configured the ERC20-compatible LiquidStakingV2 on the Minato network, setting the stage for user interface testing. The relevant data has been shared with the front-end team to initiate UI integration, and testing is expected to begin soon. Additionally, Alex began deploying the production-ready LiquidStakingV2 contracts on the Minato and Sepolia networks, preparing them for live use. He also submitted a listing request for the test xnASTR token on CCIP, marking another important step towards full integration.

Conclusion:

In the past two weeks, our team has made strides in refining Algem Liquid Farming V2 and LiquidStakingV2 functionalities. Danny’s work on updating V2 vaults, pools, and project structure brings the system closer to a seamless production environment, while Alex’s focus on adapting LiquidStakingV2 for testing as well as implementing necessary updates to the LiquidCrowdloan ensures robustness and scalability of these features. These developments reflect our commitment to delivering a refined and efficient platform for all users.

Thank you for being part of the Algem journey, and stay tuned for more updates as we continue building and enhancing the platform!

About Algem

Algem is a decentralized application built on the Astar Network and offers two main features: liquid staking and liquid farming. As their names suggest, these two options let ASTR holders keep their assets liquid while putting them to work. Also, the liquid staking and farming solutions let users use Algem’s liquid nASTR tokens across Astar’s Defi ecosystem to earn staking rewards and make more money. In doing so, Algem supports other Defi protocols by providing liquidity and creating a sustainable and cooperative ecosystem on the Astar Network and Polkadot.

Join Our Growing Community!

Website | Twitter | Discord | Telegram