MELD Dev Diary 17

Charlierobertstad
MELD
Published in
2 min readJan 2, 2023

Borrowing & Lending

Onchain:

  • Integrate Plutonomy to contract build to optimize scripts’ size and execution unit.
  • Upgrade Plutarch version, replace in-house util functions by plutarch-unit in unit test to be compatible with new Plutarch version.
  • Enable operator to withdraw treasury fund generated by reserve factor from pool contract.
  • Export on-chain functions to off-chain to reduce the duplicated logic between on-chain and off-chain code making code easier to maintain.

Off-chain and testing:

  • Calculate the exact minimum ADA UTXO when building transactions to support UTXO size scaling.
  • Write API to build transactions to withdraw treasury fund from pool contract.
  • Update off-chain interest rate calculation to use exported on-chain functions.
  • Update oracle mock price feed API to support more tokens.
  • Fix undefined cases & minor refactor for batcher service.
  • Minor refactor for contract exporter and integration tests.
  • Implement API to query accounts over liquidation threshold.
  • Enforce tests to acquire database connection from pool.

Preview testnet deployment:

  • Add deployment configs for token faucet.
  • Prepare configs & initial UTXOs for contracts deployment.
  • Experiment deploying contracts to preview testnet.

MELDapp

  • Implementation of wallet restoration with web3auth.
  • Backend API implementation for historical transactions and asset values.
  • Frontend integration to show users’ historical transactions and asset values.

Read more from the Dev Diary series here!

--

--