As mentioned in the last substack update, the final step towards a fully functional DefiHedge MVP is the development of our DEX based rate-swap venue.
This process is aided by the recent open-sourcing of the Loopring DEX, however a development timeline is still difficult to predict and with this in mind we cautiously estimate a Q4 beta release.
That said, we plan to regularly update our substack regarding development going forward.
Progress over the past week with the Loopring Framework is as follows:
1. Removed Account Registration Limitations:
Removed registration based button disabling/activation
Removed registration modal
Removed account validation from order schema
Snapshotted registration version in case of future KYC necessities
2. Track Floating/Fixed in State:
Remove previous state / props regarding buy/sell orders
Replaced the majority with fixed/floating respectively
3. Deposit/Balance Panel Changes:
Removed 2nd asset panel given each swap can only be in 1 asset
Removed Deposit/Withdrawal Buttons & Modals (Loopring required deposits to their L2 which is not necessary)
4. Orderbook Panel Changes:
Implemented ask/buy modulator to modify the asks/buys appropriately based on floating/fixed state
e.g. If an order is $1000 at 5% when viewed while Fixed, the order is viewed as $50 at 5% when viewed while Floating
Currently bugfixing error causing duplicate state changes
Separate Progress:
With the expectation that our DEX will most definitely not be available this week, and likely will not be complete by the end of Kernel, I took some time publicly host our initial proof of concept ( + update it with new Compound Contracts) in order to give folks a demonstration to play around with.
If you would like to test out DefiHedge, a completely on-chain implementation is available, deployed on ropsten, at: https://defi-hedge-protocol.vercel.app/.