You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
On Portfolio, the balance calculations are not taking into account the token id so two ERC721 NFTs from the same collection (same contract address) but with different token ids might report the same balance
pre-requisite: Own 1 ERC721 NFT that belongs to a collection with an NFT you don't own. Same contract address, symbol and chain but different token id.
Add 2 ERC721 NFTs with same contract address, symbol and chain but different token ids (you must have a different balance for the two NFTs)
e.g. NFT1 and NFT2
Observe balance is displayed the same for both, despite only owning one.
…fiers (#6983)
Include the token's `tokenId` in `assetBalanceId` so two different ERC721 NFTs with the same contract address, token and chain id can be added and have balance displayed correctly.
…nt token identifiers (brave/brave-ios#6983)
Include the token's `tokenId` in `assetBalanceId` so two different ERC721 NFTs with the same contract address, token and chain id can be added and have balance displayed correctly.
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
Description:
On Portfolio, the balance calculations are not taking into account the token id so two ERC721 NFTs from the same collection (same contract address) but with different token ids might report the same balance
ref: https://bravesoftware.slack.com/archives/C023VS4HJ6Q/p1676555545832879
Steps to Reproduce
pre-requisite: Own 1 ERC721 NFT that belongs to a collection with an NFT you don't own. Same contract address, symbol and chain but different token id.
e.g. NFT1 and NFT2
h/t @Pavneet-Sing
The text was updated successfully, but these errors were encountered: