MELD Dev Diary 92

Dastin Adamowski
MELD
Published in
3 min readJun 24, 2024

Welcome! In our Dev Diaries, we delve into the continuous advancements and meticulous fine-tuning of the MELDapp. Here is last week’s progress:

MELDapp Web:

  • Deployed the multicall functionality to DEV env for QA and testing (ability to submit a batch transaction of multiple actions such as claiming / compounding / repaying a loan using Yield Boost rewards),
  • Implemented compounding (claim rewards and supply) and repay logic,
  • Prepared the PROD environment for the new deployment by ChainPort,
  • Implemented an improved cost structure breakdown menu for the standalone MELD bridge,
  • Experimented with thirdweb/WAGMI integration in the MELDapp,
  • Added error handling and coverage for several edge-cases in the standalone bridge UI (still available for public testing at https://testnet-bridge.meld.com/).

MELDapp Mobile:

  • C2C Exchange: Improved error handling when the current ticker is not available,
  • C2C Exchange: Fixed swap endpoint parsing error,
  • C2C Exchange: Fixed max button decimals error,
  • C2C Exchange: Fixed missing icons for Tether and PancakeSwap tokens,
  • C2C Exchange: Fixed total amount calculation,
  • C2C Exchange: Improved unit test coverage,
  • C2C Exchange: Avoided logging/reporting unnecessary errors on Sentry,
  • Finished unit test coverage improvements on our internal FIAT Payments module,
  • Updated Instabug dependency to the latest version across all modules,
  • Fixed NFTs endpoint parsing.

Solidity | Backend:

  • Implemented GoGoPool adapter for Yield Boost rewards farming,
  • Tested Aave adapter with Ethereum fork and fixed bugs,
  • Reworked events of MeldFarmingManager and adapters,
  • Implemented RescueTokens functionality for Yield Adapters,
  • Reviewed preliminary audit reports of the Supply & Borrow protocol,
  • Updated destination token name when scanning completed request in bridge service,
  • Updated Cardano contract to prevent paying to locker without datum,
  • Read manager UTXO from both reference inputs and outputs in a Cardano transaction,
  • Got locker input value by script hash instead of addresses,
  • Updated bridge subgraphs to track Yield Boost farming manager and adapter contracts,
  • Implemented cronjob to run auto rebalancing,
  • Added DB schema for token allocation on each network,
  • Fixed wrong timestamp while tracking oracle in subgraph,
  • Connected EVM wallets to admin frontend,
  • Generated typescript client from open API for frontend code,
  • Added the excludeFee parameter to the bridge/fee API,
  • Brainstormed the implementation for yield boost logic,
  • Set up the admin builder and resolved version conflicts,
  • Implemented the yield page, integrating Lucid and using Cardano to connect Cardano wallet,
  • Deployed new EVM contracts and addressed and fixed the receiver contract deployment issues,
  • Tested the newly deployed version, identified, and investigated the missing role issue,
  • Implemented update manager datum API,
  • Deployed new Cardano contract for DEV env,
  • Rebalanced API on Cardano,
  • Filtered UTXO has datum.

Infrastructure:

  • Disabled meld.fi container build and pushed to AWS,
  • Enabled meld.fi container build and pushed to GCP,
  • Started configuring meld.fi service in k8s,
  • Deployed meld.fi to k8s cluster,
  • Fixed minor issues with k8s load balancer,
  • Changed meld.fi DNS record to k8s deployment,
  • Modified graph-node tasks and deployed changes,
  • Made final changes to meld-fi k8s deployment and merged changes,
  • Worked on staking rewards migration to k8s,
  • Migrated staking reward setter from AWS to GKE,
  • Configured build and push GitHub actions pipeline for staking-reward-setter.

We deeply appreciate your steadfast support, which remains a cornerstone for us. Your feedback holds immeasurable worth as we persist in our pursuit of innovating and perfecting the MELDapp. Stay tuned for a series of forthcoming updates in the weeks ahead.

--

--