Hubble Product Update #3 (Nov 2021)

atvanguard
HubbleExchange
Published in
2 min readDec 1, 2021

--

A total of 1192 testnauts have tried out the exclusive Hubble Milky Way testnet so far. Today we open general access, so everyone can experience what Hubblicious tastes like.

To receive test tokens, join the Hubble discord, make sure you have enabled DMs and react to the pinned message in the #faucet channel. Our bot will DM you to ask for your address and send tokens to you. A contributor created this video tutorial to guide Hubblers through the process.

As usual, we have been receiving tons of feedback on discord from our early testers and we have been listening. Here is the summary of improvements we worked on over the last month.

App

Bug fixes and improvements

  • Position table is now wider on big screens, and for small-screen, we’ve added a scrollbar to easily access the Close Position button
  • Funding Payment and Trade History now loading faster
  • Transaction notification close button closes the notification instead of opening explorer
  • Removed unnecessary slippage update notifications
  • Fixed error to support Safari browser
  • Displaying appropriate message when app stucks on loading specially for the country check to allow trackers and ads on Brave or other browsers
  • Balances updates now realtime
  • Arrow animation to show expansion and collapse on dashboard tables
  • Input validation to avoid transaction failures
  • Using SnowTrace explorer
  • Funding Payment and History Column names are now more self-explanatory

Features

  • UI specially designed for Mobile (Small) Devices
  • Slippage is now available in settings and with presets to select from while allowing custom
  • Estimated Liquidation price on Open Positions & While Opening Position
  • Loaders while the transaction is in progress

Smart Contracts

Liquidations
Added more ways to liquidate an over-leveraged trader. These provide more flexibility to a liquidator such as allowing them to liquidate partially etc. This will go a long way in ensuring timely liquidations on Hubble.

a. liquidateExactRepay — Liquidator repays an exact amount. This allows partial liquidations.

b. liquidateExactSeize — Seize an exact amount of collateral

c. liquidateFlexible — This function will either seize all available collateral of a particular type OR settle debt completely with (most likely) leftover collateral.

Makers
These are the liquidity providers who add liquidity to the vAMM. This liquidity is can be added on leverage and hence the term virtual. This part of the code is relatively more complex and we made good progress on the same.

Social Plug

🌐 Website | 🐦 Twitter | 🗣 Discord| ️Telegram | App

--

--