GitHub - 0xacme/ERC404
More about the ERC404 standard.
-
ERC404 tokens can be present in both
chain.raw.erc20_tokens
andchain.raw.erc_721_tokens
-
In short, the reason why this occurs is because our contract decoding pipeline recognises ERC404 as an ERC20 tokens, while our self-healing pipelines identifies it as an ERC721 token, as these tokens emit
Transfer()
events that resembles ERC721 tokens.
chain.assets.erc721_token_transfers
table if the contract deployer implements the ERC721 transfer event.
-
The
Transfer()
event log for ERC404 resemble ERC721 tokens, which the includes a token ID in thetopic3
-
These transfers are tracked within the
chain.assets.erc721_token_transfers
table.
chain.assets.erc721_balances
table if the contract deployer implements the ERC721 transfer event.
- Our NFT balances is computed based on a cumulative sum of tokens transfersrreds
-
Since most ERC404 tokens emit a
Transfer()
event, they will be found inchain.assetes.erc721_balances