vocdoni / census3

Golang library and a HTTP/API service that can be used to fetch an updated list of token holders for a Ethereum ERC20, ERC721, ERC777, or other external providers (ex. POAPs or GitcoinPassport).
GNU Affero General Public License v3.0
9 stars 2 forks source link

Replace the symbol of the tokens by the chain address on strategies #200

Closed lucasmenendez closed 5 months ago

lucasmenendez commented 5 months ago

To support strategies that combine multichain tokens, the strategies and their predicates must be composed using the token chain address (network_id:token_address) instead of the token symbol to avoid duplicate keys.

lucasmenendez commented 5 months ago

There is a problem with POAP tokens, the way their chain address is generated needs to be replaced with a new one that produces unique values per token. This also occurs with other external tokens such as Gitcoin Passport Stamps