Skip to content

v1.5.2

Latest
Compare
Choose a tag to compare
@jpkcambridge jpkcambridge released this 24 Nov 14:45
· 15 commits to master since this release

πŸ› Bug Fixes:

Solves an issue estimating gas. More info in #1618
Solves an issue preventing to load the balances when the call that fetch the balance of a token reverts in the smart contract.
This is the case of the of the old deprecated Synthetics tokens (SNX and sUDS) which now revert for any read operation.
This leads to an error in Metamask, that is handled wrapping the error in another error, which at the same time breaks web3 error handling.
This leads to an unfulfilled promise loading the balances.

The error makes sure the error have the shape web3 spects

πŸ““ Changelog

  • Remove hops param from URL for the orderbook
    Also, allow in the /book to leave hops empty, and make that the default.

  • Improve the order-book by including more hops in the liquidity finding. It used to be only two hops.
    Now is left up to the estimation service to decide the number of hops, so it's aligned with the solvers.

  • Also leaves blank hops as the default in the SECRET πŸ•΅οΈβ€β™€οΈ page /book. Increases to 30 the number of hops you can set.



Smart Pricing: Pricing display system which prioritises showing users prices quotes in the most relevant token. This reduces the possibility for any confusion regarding the way price is displayed.
e.g.
DAI-WETH - prices by default shown in DAI as a USD stablecoin and the higher prioritised token of the two
GNO-WETH - prices by default shown in WETH as the higher prioritised token of the two

The priority list is as follow (highest priority to lowest):

  1. USD stablecoins
  2. EUR stablecoins
  3. WETH/xDAI
  4. Volatile coins

This is also applied within the display of your Active/Trades/Closed orders.

  • Orders/Trades: The Orders/Trades data table has been reworked to maximise readability. Separation of what were before stacked columns have been split into two. Percentage Filled & Order surplus percentage metrics have been added to the Active/Closed Filled column and Trades Fill Price columns, respectively.

  • Price Impact: This release version adds pricing impact warnings.

  1. If a user selects a price above or below market price, warnings will be displayed both on the trade interface, as well as on the confirmation modal before the user submits their trade to the protocol.
  2. A price impact percentage section is no below suggested prices in the Price Suggestions section to inform users exactly how much impact their selected fill price has against the best ask calculated by the protocol.