honeyswap-interface icon indicating copy to clipboard operation
honeyswap-interface copied to clipboard

[Bug] Try Import not ERC-20 token goes white screen

Open kamikazebr opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. Go to https://app.honeyswap.org/#/swap
  2. Change to Gnosis Chain
  3. Try import new token
  4. Add the token 0xf8D1677c8a0c961938bf2f9aDc3F3CFDA759A9d9

And got tha screen below:

image


More info

The token is a ERC 677 Bridge Token - https://blockscout.com/xdai/mainnet/address/0xf8D1677c8a0c961938bf2f9aDc3F3CFDA759A9d9

More info about ERC 677 here http://blockchainers.org/index.php/tag/erc-677/

The contract is a PermittableToken - https://github.com/poanetwork/tokenbridge-contracts/blob/master/contracts/PermittableToken.sol


Metamask

Tried import in metamask too show errors

unknown

Possible Fix

  • Catch the errors and show that info in the popup of import tokens.

kamikazebr avatar Apr 09 '22 04:04 kamikazebr