SPRINT SUMMARY
Sprint 20 focused mainly on improvements on the both the front and backend of Pools. It includes upgrades and updates of Engage, SDK and Documentation.
Backend Development
Pools Backend Functionality Improvements:
✔️ Updated the @defactor/defactor-sdk dependency to version 3.1.0 and enhanced the ERC20 collateral pool contract to support multiple versions, including a new TOPLEND_ONLY version. This allows for greater flexibility and customization in handling different contract configurations.
✔️ Introduced a CI/CD pipeline to streamline the deployment process for the Landshare mainnet, ensuring consistent and reliable deployments using Docker and Kubernetes.
Frontend Development
ENGAGE WEB APP
✔️ Added new dashboard endpoints for staking, providing detailed insights into rewards claimed, expected, and claimable amounts across different networks. This enhances the user experience by offering transparency and control over staking activities.
✔️ Implemented JWT-based authentication and authorization, including handling user roles and connecting wallets. This enhances security and manages user roles effectively.
✔️ Created the foundational structure for the admin page, including components for General, Governance, and Staking sections. The tabbed interface allows for easy navigation between different administrative sections, ensuring efficient state management and component reusability.
POOLS WEB APP
✔️ Updated the precision of the USDC token from 6 to 18 in the mainnet configuration. This change ensures consistency with Ethereum-based token standards for accurate financial calculations.
✔️ Ensured numerical values are converted to strings before formatting in various dashboard components to prevent potential data handling errors.
✔️ Renamed the pools-webapp Docker image and Kubernetes deployment for consistent naming across the toolkit. This change helps in better organizing and identifying images in the Docker registry.
✔️ Updated the Kubernetes namespace from pools-factr-mainnet to pools-landshare-mainnet in the GitHub Actions workflow file. This ensures the deployment targets the correct environment, aligning with the project's naming conventions.
✔️ Upgraded the @defactor/ui-kit package to version 0.4.30, bringing in the latest UI improvements and bug fixes.
✔️ Updated the USDC token precision and upgraded the @defactor/ui-kit package to ensure the staging environment mirrors production setups.
✔️ Addressed issues with the management of large numbers on the dashboard by updating the @defactor/ui-kit dependency. This ensures the application benefits from the latest enhancements and bug fixes.
✔️ Introduced a "coming soon" status to pool metadata and updated branding configurations. This helps manage and display pools that are not yet active, enhancing user experience by clearly indicating future pools.
✔️ Added a GitHub Actions workflow to automate the deployment of the Landshare application to the mainnet environment. This continuous deployment pipeline ensures updates are automatically built, containerized, and deployed, reducing manual intervention and improving consistency.
Documentation
✔️ Added LandShare Mainnet configuration to defactor-pools.json, enabling support for its ERC20 collateral pool on the Binance Smart Chain (BSC).
✔️ Updated the staking development address in the defactor-engage.json file for the Sepolia network to ensure the application interacts with the correct smart contract.
SDK Updates
✔️ Released @defactor/defactor-sdk version 3.1.0, adding support for the toplend constraint in the ERC20 collateral pool contract.
✔️ Updated the ERC20CollateralPool ABI to include new events and functions related to user position liquidation and maximum lending limits. This ensures better management of collateral pools and prevents over-lending.