Rena Dev Report #28 — V2

Rena Finance
6 min readJul 30, 2023

Progress has been made towards preparing Rena V2 for Beta Launch. The development team has been primarily focusing on refining Front End interfaces and polishing key features. Significant improvements have been made to both the rStaking and rBonds interfaces, enhancing UX and introducing a crucial feature called Net Discount on rBond purchases.

One notable change in the project’s direction is the decision to shift from the originally planned Open Testnet Beta to a more ambitious live Beta Launch on Mainnet. This move aims to provide users with a realistic experience of Rena V2, allowing them to interact with Rena V2 in its actual environment on Ethereum Mainnet.

The team is excited about these developments and looks forward to launching the platform Beta on Mainnet as this means a sooner protocol launch as an official Beta release.

rStaking Interface Updates:

  • Slider UX/UI Interaction
  • Clickable Snap-To Functionality
  • Granular Click and Drag
  • Bubble Displaying Multiplier
  • New Feature: Day Input Box for rStaking Interface
  • rStaking Manage Modal Table

rBonds Net Discount & UI Updates:

  • Key Feature: rBond Net Discount Implemented
  • Net Discount Calculator Uni V2 & V3 Compatibility
  • rBond UI Updates

Beta Launch Prep:

  • Solidity Code Audit
  • Shift from Testnet Beta to Live Beta
  • Uniswap Subgraph Issues

What was Achieved?

rStaking Interface Updates:

Slider UX/UI Interaction

  • Clickable Snap-To Functionality: The slider now features clickable snap points, allowing users to easily select specific predefined durations. This way, users can quickly choose from a set of predefined options without having to manually position the slider.
  • Granular Click and Drag: Users can now click and drag the slider with precision based on whole-day increments. This level of control enables them to fine-tune the duration according to their exact requirements.
  • Bubble Displaying Multiplier: A dynamic bubble appears over the slider as users interact with it, displaying the multiplier applicable to the selected duration. This provides users with real-time feedback on their lock duration selection and corresponding multiplier.

New Feature: Day Input Box for rStaking Interface

A new feature request of an input box for entering the day count of rStaking duration selection was integrated into the interface. After experimentation, it was determined that the input box wasn’t necessary for the current version. However, it has been saved as a potential future addition, offering a nice-to-have feature for later updates.

rStaking Manage Modal Table

Updates to the rStaking Management UI include minor fixes, calculations, and data fetching. The team is currently working on evaluating and implementing the functionality to fetch and display the multiplier data, providing users with information related to multipliers of their different rStaking locks.

rBonds Net Discount & UI Updates:

Key Feature: rBond Net Discount Implemented

The rBond Purchase UI has been successfully updated to include the Net Discount Display feature. This significant addition allows users to view real-time updates of the net discount based on the rBond amount they are purchasing. The live calculations consider the LP curve, providing users with valuable information to make informed decisions.

With this critical feature in place, users can now project the actual discount they will receive, enabling them to purchase the precise amount of tokens to avoid overpaying and ensure they benefit from the discount effectively.

The incorporation of this feature was crucial, and it addresses an important need, enhancing the overall user experience and ensuring a smoother, more informed rBond purchase process. The team is pleased with its implementation, and users will undoubtedly appreciate the added functionality.

Net Discount Calculator Uni V2 & V3 Compatibility

Net Discount Calculator has been enhanced to handle Net Discount calculation calls and computations for rBonds bound to LP pairs on both Uniswap V2 and V3. This ensures full compatibility with all rBonds created within the system, allowing users purchasing rBonds to view a Net Discount regardless of the Uniswap version rBond is bound to.

rBond UI Updates

The rBond UI has been improved with modifications to the column headers, enhancing readability and alignment with their respective contents. Text changes have also been implemented for better clarity. Additionally, the spacing between the headers and the content has been adjusted to ensure proper alignment, resulting in a more user-friendly and visually pleasing interface.

New Ticket created: rBond Search Bar: implement rBonds filtering

Launch Prep:

Solidity Code Audit

The Rena V2 team has sought a Solidity code audit from Sourcehat, previously known as Solidity Finance. After receiving a quote and timeline, the team decided to proceed with the audit. A proposal will be presented to the community on snapshot for approval and funding.

Sourcehat has provided an estimated completion timeline of approximately 10 business days to conduct the audit once the proposal is approved and funded. This audit is a crucial step to ensure the security and reliability of Rena V2’s Solidity code ahead of Beta Launch, providing the greater DeFi community with increased confidence in the project’s smart contract implementation.

Shift from Testnet Beta to Live Beta

After careful consideration and collaboration with the Core Team, there has been a shift in the plan for Rena V2’s Beta launch. Instead of conducting an Open Beta Test on Rena’s Private Testnet, Rena V2 will now be directly launched as a BETA on Mainnet. This change means that testing and feature implementation will continue internally, leading up to the Beta Launch on Mainnet.

This decision will expedite the testing and implementation processes since there won’t be a need to involve community users and open testing infrastructure. The internal team will be able to work with higher velocity, ultimately resulting in an earlier launch of the live protocol. The efficiency, implementation speed, and readiness of the solidity code for auditing were all factors that influenced the team’s choice to pursue the route of Live Open Beta in production. This approach aims to achieve a smoother and faster launch of Rena V2, providing the community with a more efficient and secure user experience.

Uniswap Subgraph Issues

The Uniswap subgraph has encountered issues, resulting in a failure once again. As a temporary solution, the team has switched to a development branch. However, the matter is still a high-priority concern, and further actions are being explored.

Efforts are underway to investigate and implement potential solutions, such as caching, self-hosting, or considering alternative approaches. These options aim to address the subgraph issues and ensure more reliable and stable performance.

The resolution of the Uniswap subgraph issues remains a top priority, and the team is actively conducting research to find the most effective and sustainable solution for the problem. Updates and progress will be shared as more information becomes available.

One of the many integrations the Rena V2 relies on the subgraph for is the token and token pair fetching as depicted here in the rBond creation UI:

Next Tasks

  • Solidity Code Audit Submission and Feedback Review
  • Uniswap Subgraph Long-Term Fix
  • Prepare Testnet Front End for Demo Video
  • rBond Creation & Management UI Updates
  • rStaking Multiplier Display

Thank you for taking the time to read our Rena V2 dev report. We’ll be back with more updates again soon! 🙌

--

--