这是indexloc提供的服务,不要输入任何密码
Skip to content

Amount of Custom token is incorrect in some cases #1033

@juans-chainsafe

Description

@juans-chainsafe

Describe the bug
For some tokens, the amount is displayed as 0 instead of the correct amount for the address

Steps
Steps to reproduce the behavior:

  1. Use the scene [SampleLogin - Web3Auth]
  2. Login with [Web3Auth]
  3. Click on wallet icon to open the modal or Shift + Tab
  4. Click on Add Token button
  5. Enter valid token address
  6. Click on Add button

Expected behavior
Token amount is displayed correctly

Screenshots/Video
If applicable, add screenshots or screen recordings that help visualize the issue.
Screenshot 2024-06-24 at 4 35 23 PM
Screenshot 2024-06-24 at 4 35 39 PM

Desktop (please complete the following information):

  • Chainsafe SDK version: [dev]
  • Unity Version: [e.g., 2022.1]
  • Operating System: [Mac]

Additional context
In my case, it doesnt work for LINK token contract:
0x779877A7B0D9E8603169DdbD7836e478b4624789
https://sepolia.etherscan.io/token/0x779877a7b0d9e8603169ddbd7836e478b4624789?a=0xaBed4239E4855E120fDA34aDBEABDd2911626BA1

My address: https://sepolia.etherscan.io/address/0xaBed4239E4855E120fDA34aDBEABDd2911626BA1

Metadata

Metadata

Assignees

Labels

Priority: P3Added to issues and PRs relating to a low severity bugs.Type: BugAdded to issues and PRs if they are addressing a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions