aergoio / aergoscan

Aergo Blockchain Explorer

Home Page:http://aergoscan.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token not recognized when created by factory

kroggen opened this issue · comments

We now have a token factory contract. The code is here:

https://github.com/aergoio/ARC1-Extensions/tree/master/factory

Here is it deployed on alphanet:

https://aergoio.github.io/tx-builder/#/contract/Amgu52QrSVmLMJ8DMZnksNEgY164AaMKihCeowzVcmz6KQz5xXp2

We are able to create new tokens from this contract. But the created tokens are not recognized by aergoscan (on alphanet)

Here is an example token creation (transaction):

https://alpha.aergoscan.io/transaction/HaCKynPaMKMN4mWWxdqzVEPaJ3ySgeyEXkDJP3bVPTtB

And the token here:

https://alpha.aergoscan.io/account/AmhRkoGANw6FKpTbLXBsh2K2MMdvNzBem2mqGtKRqH3ShaeWn2ay?tab=interactive

It does not appear on the tokens tab, and above we can see it is not recognized as an ARC1 token properly (no token details)

The factory was updated to generate an event when a new token is created (commit here)

Maybe it can help on the logic to identify new tokens