Rena Dev Report #23 — V2

Rena Finance
3 min readApr 4, 2023

We got news — Beta testing will be live this coming week! We’ve all been dearly waiting for this update, and it seems surreal. So without further ado, let’s look at all the development activity in the past week that led up to this!

Weekly Task Summary

  • Finalize rStaking UI & Formatting
  • rBonds UniPair Lookup (v2/v3) feature
  • rBonds UniSwap style Tokenlists support
  • rBond add-token-by-address feature
  • Internal Testing

What was Achieved?

Finalize rStaking UI & Formatting

All functionalities listed below have been successfully implemented. With that rStaking is 100% complete from a Web3 point of view.

  • RENA Balances and Allowances
  • Global / User Stake & Rewards
  • Single Stakes & Management (unstake)
  • Claim Rewards
  • (DEV) callRewarder() — generates WETH/RENA LP tokens as a reward for staking

Here’s a glimpse of finalized rStaking page:

As you can see, on the rStaking page, the duration, amount, and allowances are now visually clear. Global Stats are displayed.

Users can stake for multiple durations and claim unlocked rewards in the form of LP Tokens.

Only when the locking periods can the deposited tokens be unstaked.

rBonds UniPair Lookup (v2/v3) feature & rBonds + UniSwap style Tokenlists support & rBond add-token-by-address feature

Bond creation is now permissionless, as it can now support any ERC20 that has a pair with another token on Uniswap. We will share a list of all supported assets shortly.

For example, in the image above, after pasting the addresses for DAI and RAI, they are added to the tokenList and can be selected for Bond creation.

Once you select the assets, their corresponding UNI Pairs can be queried and selected.

And there you have it — a newly created permissionless bond!

Team Internal Testing of rBonds creation & management:

The last obstacle to finalizing rBonds is the need for balances of actual tokens to create bonds. Meaning to bind a pair, it needs to exist on Uniswap. On top of that, we need to have the output balance for Initial Liquidity. Challenge:

Usually, the solution would be to create a fake ERC-20 contract and test using mocked tokens — but in this case, since we have to bind to real UNI Pairs. To conduct semi-automated testing possible, this will need to be resolved. Alpha Testing (Devs only) will continue until this issue is resolved. And Beta Testing (Team/Closed Public phase) is expected to start next week.

Notification System

We have added a function to display transaction information along with all transient states to the user.

Carry Over

rBonds improved tokenlist performance (for 100+ token)

Next week’s tasks

  • Team Internal Beta-Phase & Testing Manual
  • Styling Iteration on rStaking
  • Finalizing rBonds (adding liquidity, trading)

Thank you for reading our Rena V2 report. We’ll be back next week with the 24th edition.🙌

--

--