bancorprotocol / webapp-v3

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

Disable pool deposits #751

Closed ashachaf closed 1 year ago

ashachaf commented 1 year ago

following this dao vote, the option to deposit BNT is not longer available.

Flow:

  1. user reach the pool page
  2. select BNT
  3. click the "deposit" CTA

Flow 2:

  1. user open portfolio tab
  2. see the section for "deposit and earn"
  3. if he has bnt in the wallet, there should be a visible square for bnt
  4. click the bnt square

Expected:

  1. display a popup indicating that deposits to this pool are currently disabled.

this might be the message we would like to use (not sure) https://github.com/bancorprotocol/webapp-v3/blob/5b7b164d1447b709e212fccf88c82dc9a48c8d61/src/elements/earn/pools/poolsTable/v3/DepositDisabledModal.tsx#L30 or we can reuse this: https://github.com/bancorprotocol/webapp-v3/blob/5b7b164d1447b709e212fccf88c82dc9a48c8d61/src/elements/earn/pools/poolsTable/v3/DepositDisabledModal.tsx#L10

text: Deposits to the {tokenSymbol} pool are currently disabled and are not available.