Skip to content

Releases: dOrgTech/dex-react

v1.5.2

24 Nov 14:45

Choose a tag to compare

🐛 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.

v1.4.1

26 Oct 21:25
928ac3f

Choose a tag to compare

Fix xdai config: Remove overrides from config file which are not necessary and which did not include the xdai configuration updates.

v1.4.0

20 Oct 14:07

Choose a tag to compare

📓 Changelog
xDAI integration: Adds xDAI compatibility. Please see wiki for more information
Deterministic token sorting: Sorts tokens in the Balances page alphabetically. The only exception to the default sorting is WETH (or wxDAI in xDAI network), that is shown first.

v1.3.0

29 Sep 19:51

Choose a tag to compare

  • Fix issue inputing amounts: There was an issue happening when you try to send a transaction with an amount of a decimal expressed in dot notation. i.e. instead of 0.35, using .35 wouldn't work

  • Update link to the dev portal: The dev portal moved the FAQ to its own page, this made a link to be broken. This hotfix corrects the link pointing to the new URL

  • Better estimation for the minimal trade: v1.3 added this feature to show the user the minimal volume that would create enough incentive for a solver to submit a solution (so he can get the gas cost back in fees). This version consumes and endpoint that it's aligned with the criteteria used by solvers (i.e. Open Solver)

  • Minimal trade warning rounds up to the next 100$: Since this is just an estimation, and also depends on small changes in gas prices or ether value changes, the value used to display the warning, and the value displayed in the warning itself is rounded up to the next 100$.

  • Refactor of components: Starts the refactor for separating the logic and the presentation. This refactors will continue in future versions. One of the objectives is to implement a redesign and new functionalities reusing the logics. This refactor will consist in breaking down components, simplifying their interface, and making Storybook stories for them.

  • Change icon on the disclaimer: Changed the 💀 for a ⚠️

  • Completely revamps the Advanced Settings (previously order validity settings) to include custom calendar date picking options, relative starting/ending times, and the ability to select start/end times by batch ID

  • Adds a new column in the order book showing Order ID and the ability to click Order ID and Market cells to pre-populate the order filters

  • Show provider name/logo at the top of the app page in the user's wallet section

  • Introduce a default sell/receive token section inside the current configuration file to pre-populate the trading page if no tokens passed in URL

  • Footer redesign - adds Powered by Gnosis Protocol logo and responsive design changes

  • Travis build: auto release notes

  • Show recommended minimum sell amount to users for clarity on better order experience

  • GP solver subsidize factor update to better align with current parameters

  • Storybook integration to facilitate further app development

v1.2.0

14 Aug 20:18

Choose a tag to compare

📓 Changelog

  • Confirm modal for new orders: Shows a confirmation before sending a new order, so the user can confirm the price
  • Warning for minimal trade: Show a warning message when the order is small. Although the protocol don't have a limit for the size of the order, solvers won't have an incentive if the order is small, because then they won't get enough fee for covering costs. This warning helps to set the expectation and inform when there's high chances the order won't be executed.

🐛 Bug fixes

  • Fixes claiming edge case: Handles an edge case that was preventing users for claiming when they receive tokens in the previous batch
  • Price estimator fix: Fixes endpoint price estimation so it uses production instead of staging

👷‍♀️ Other small changes and fixes:

  • Move configuration from the README to the Wiki. Read more https://github.com/gnosis/dex-react/wiki/Config
  • Show the application id in the footer, and improve it's configuration. Read more https://github.com/gnosis/dex-react/wiki/App-Ids-for-Forks
  • Improve and refactor tabs of orders/fills
  • Remove Fuse references (old name for the Gnosis Protocol Dapp)
  • Add tooltip with the full amount in the balance page for the user wallet, so it can be checked even if gets truncated
  • Fix css balance overflow
  • Fix EnvironmentPlugin warning

v1.1.1

04 Aug 21:21
fdaf0da

Choose a tag to compare

  • Includes WIKI and simplifies WIKI
  • Includes appId in the config for onchain analytics

v1.1.0

30 Jul 19:40

Choose a tag to compare

Updates
• Fills Trades tab, showing the trade history
• Consistency across market representations throughout the app
• Batch id now displayed on top
• Enable/deposit tokens from /trade page
• Non intrusive price suggestion
• Orders/trades filtering
• Hidden settings page
• Liquidity orders moved out of /trade onto /liquidity tab.

Bug Fixes
• Trust wallet specific issues
• Locale issue on unwrap WETH
• Order validity input sanitization
• Filtering for orderId in Trades tab/page fixed

v1.0.2

09 Jul 18:46

Choose a tag to compare

Adds disabled tokens, that won't be allowed for trading and depositing

v1.0.1

24 Jun 12:59

Choose a tag to compare

  • Fix error in price calculation when user input has trailing zeros
  • Update logic for determining when a token is enabled
  • Single Price Input Box
  • Default to never expire for Trade Page
  • Change default WalletConnect bridge to Gnosis bridge
  • Update to formatting of token symbol

v1.0.0

06 Jun 21:36
6a5f841

Choose a tag to compare

  • Added DXdao Token Registry
  • Wrap / Unwrap ETH
  • Improved order book view
  • Manage Tokens widget in Balances