MELD Dev Diary 86
Published in
3 min readMay 13, 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:
Released build 1.3.12 with a bunch of UX/UI modifications and a brand new feature:
- Always show ISPO pool (DEGA) at the top, as 1st available pool under MELD AVAILABLE POOLS and YOUR POOLS if a user staked $MELD,
- Fixed issue of NFT staking positions’ images not being displayed in the UI,
- Fixed touchpad issues for the Safari browser,
- Selecting a pool in Staking caused re-sorting of the list of pools,
- Fixed empty state for NFTs & improved NFT send flow,
- Added support for ERC-1155 NFTs,
- Wrap gMELD & Unwrap MELD buttons copy changed to more intuitive Top Up and Convert Gas MELD,
- Carried on with continuous improvements of the Supply & Borrow based on feedback from our community and internal roadmap,
- Implemented a new concept of displaying an asset as “protected from liquidation” in the Supply & Borrow public testnet,
- Continued to work on a native MELD bridge, NFT Bank Managers use in Supply & Borrow, Yield Boost and Genius Loans.
MELDapp Mobile:
- Prepared the final build for the official App Store (Apple) release on mainnet,
- Continued with intense development of the FIAT currencies user interface, on/off-ramp, bank account opening and support, associated deposit/withdraw flows & premium subscription mechanism.
Solidity | Backend:
- Added role admins and capability to destroy roles,
- Implemented Genius Loan feature in the Borrow flow,
- Removed unused code from codebase,
- Cleaned up imports in the smart contracts,
- Bumped EVM version to
shanghai,
- Optimized storage layout,
- Reorganized code structure to comply with style standards,
- Improved precision of quantities in some Supply & Borrow flows,
- Implemented more tests to increase coverage,
- Added Cardano private testnet for bridge local test environment,
- Updated START_TIME_ISO for systemStart of cardano private testnet for ogmios compatibility,
- Deployed new bridge Cardano contract for dev,
- Added Cardano index config for local,
- Implemented function hashing lock request id in cardano-index,
- Synchronized existing ERC721 tokens with registry repo,
- Migrated NFT management to unified table supporting multiple standards including ERC721 and ERC1155,
- Conducted simulations to test the bridge service,
- Updated bridge subgraph to handle the ‘eventSupportedTokenSet’ event,
- Did some updates to bridge API: sanitize zero addresses, filter supported tokens and supported remote tokens,
- Added more log to service, conduct testing on dev, and debug any issues related to bridging native tokens,
- Experimented with forking an EVM node for testing purposes,
- Established a private testnet and local services for the bridge,
- Simulated and tested the staking action ‘leaveNode’ on forked Kanazawa,
- Defined common flows to scan and import new requests, fix an issue with updating request status,
- Added API to track bank manager nfts data of a user,
- Added missing contract address sanitization for some APIs,
- Fixed bug missing price data from Coin Market Cap,
- Implemented new subgraph for Supra Oracle,
- Returned yield boost instance addresses in lending API,
- Wrote calculation functions to get current epoch and next epoch time,
- Added filed isNative to available tokens response for more consistency,
- Fixed bug missing non-nullable field when initializing entity in yield boost subgraph,
- Moved yield boost instance epoch from global API to new API endpoint,
- Removed staker epochs from staker API to avoid returning unnecessary data,
- Moved defi graphql client to separate package.
Infrastructure:
- Migrated app.meld.com and testnet.meld.com to Cloudfront,
- Deleted some unused DNS records,
- Deleted unused Cardano resources from DEV environment,
- Worked on new mainnet Avalanche validator nodes in GCP,
- Fixed a few marketing-api response header issues in Cloudflare,
- Decommissioned Polygon mumbai node,
- Deployed a few fixes to the native MELD bridge services.
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.