MELD Dev Diary 93

Dastin Adamowski
MELD
Published in
3 min readJul 1, 2024

Welcome to our Development Diaries. Herein, we provide an in-depth glimpse into the ongoing enhancements and processes behind MELDapp. May we apprise you of our advancements over the past week?

MELDapp Web:

  • Implemented UI fixes for the standalone MELD Bridge (mainly proper error handling, fees deduction logic from the bridged amount, managing EVM and Cardano wallets connected at once etc.),
  • Deployed the semi-final version of the standalone MELD Bridge in public testnet — staging environment (fee implementation for bridging from MELD back to the source chain),
  • Continued working on finalizing the MELD Bridge in the webapp,
  • Configured bridging functionality to work with ChainPort in testnet for testing purposes,
  • Carried out ChainPort signature reimplementation and deployed to PRTOD,
  • Improved UI for the dedicated Yield Boost and Bank Manager NFT rewards components in the Supply & Borrow,
  • Updated the main overview interface to show Banker Rewards information based on their multipliers (standard vs golden),
  • Improved internal logic to properly detect when a user has an NFT attached to a supplied or borrowed position, along with Yield Boost rewards generation tracking.

MELDapp Mobile:

  • Successfully integrated another Fiat money withdrawal API endpoints,
  • Added KYC status to the Sidebar’s profile details screen,
  • Added new alert (gatekeeping) to restrict access to Exchange for non-KYC’ed users,
  • Adjusted Dashboard widgets for KYC’ed users,
  • Fixed some MELD button shortcut menu layout issues,
  • Fixed transaction status not being displayed in the transaction list,
  • C2C Exchange: Improved error handling,
  • C2C Exchange: Improved rates and quotes fetching,
  • C2C Exchange: Fixed target asset token price,
  • C2C Exchange: Fixed some transaction list and transaction details values,
  • C2C Exchange: Fixed transaction details fetching from “Recent transactions” screen,
  • C2C Exchange: Prevented crash when opening certain transaction.

Solidity | Backend:

  • Implemented APIs to get, add, update, delete allocation data,
  • Set up base to execute transaction call to yield farming manager contract,
  • Added MELD bridge fee config for staging deployment,
  • Implemented rebalance action in cronjob,
  • Investigated and resolved the missing role issue on stage,
  • Developed the admin Cardano yield page,
  • Developed the admin EVM yield page and integrated with the real bridge API to display data,
  • Created a module to calculate rebalance information (absolute value of rebalance criteria, rebalancing action details) and wrote unit tests to verify the calculations,
  • Added Cardano pages for admin,
  • Deployed new Cardano contract for stage env,
  • Fixed wrong path on admin,
  • Implemented update manager datum API,
  • Implemented rebalance API to rebalance Cardano locker contract in go,
  • Wrote script to config asset in MELD yield farming contract,
  • Supported bridging MELD token,
  • Handled token decimals in the MELD bridge service,
  • Added authentication to the yield farming rebalance API,
  • Tested GoGoPool adapter with Avalanche fork and fixed bugs,
  • Introduced minor updates to the MELD Bridge yield farming protocol,
  • Applied remediation to all items coming from the audit report for the MELD’s Supply & Borrow protocol,
  • Added functionalities and improved EVM ERC20 token codebase:

-Permit
-Enumerable Access Control
-Role destruction flow
-Solidity version bump
-OZ contracts version bump
-Ethers v6
-Overall code review and improvement

  • Carried out deployment of new ERC20 tokens to the MELD mainnet (those supported by the MELD Bridge and Supply & Borrow protocol).

Thanks a ton for always having our back. Your feedback means a lot and helps us keep improving MELDapp. Keep an eye out for some great updates coming your way soon!

--

--