bancorprotocol / webapp-v3

Bancor V3 dApp
https://app.bancor.network
MIT License
19 stars 23 forks source link

Cleanup: Remove external trade option from the trade widget #757

Closed ashachaf closed 1 year ago

ashachaf commented 1 year ago

currently, we have a 3rd party integration that provides trade option for tokens that are not supported on bancor.

flow:

  1. open trade
  2. input token pair that does not exists on bancor (ETH/CHESS) https://app.bancor.network/trade?from=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&to=0xe1bA035fE04200dA932378C4509e1fafDd08e187 expected: IF (sourceToken) or (destinationToken) = (do not have a pool) or (have a pool with trading disabled) or (have a pool with balance 0), do not show the option to select the token