bancorprotocol / webapp

Bancor Swap/Analytics webapp
https://app.bancor.network
MIT License
32 stars 45 forks source link

adding/removing liquidity (dual side) to TKN/BNT pool #1521

Closed ashachaf closed 3 years ago

ashachaf commented 3 years ago

Describe the bug when trying to add or remove liquidity from the TKN/BNT pool, there is an error indication.

pool anchor: 0x497Ec0D6Ba2080f0ed7ecf7a79a2A907401b3239 trying to remove liquidity shows error with text indication "Error This Pool is not supported for adding liquidity" image

trying to add liquidity shows the same error

To Reproduce go to https://app.bancor.network/eth/pool/add/0x497Ec0D6Ba2080f0ed7ecf7a79a2A907401b3239 try to add liquidity

go to https://app.bancor.network/eth/pool/remove/0x497Ec0D6Ba2080f0ed7ecf7a79a2A907401b3239 switch between the different percentage amounts (there is a moment in which the "remove" option will be enabled). try to proceed with the removal to see the error

Expected behavior IF adding/removing liquidity is allowed, let the user proceed. IF adding/removing liquidity is NOT allowed, update the "remove liquidity" error to indicate "Error This Pool is not supported for removing liquidity"