Versions in this module Expand all Collapse all v1 v1.0.1 Mar 20, 2023 v1.0.0 Mar 20, 2023 Changes in this version + func BuildUniqueTokenAddressesFromEvents(allEvents []*chain.TransferEvent) map[common.Address]*AddressMapValue + func DeleteTokenCache(chainId string) + func GetGlobalTokensLoadedCount() uint + func Init(chainId string) + func MergeTokensIntoGlobalTokenMap(newTokens map[string]TokenDataFromSource) + func PrintContents(addressesMap map[common.Address]*AddressMapValue) + func RemoveUnknownTokens(addressesMap map[common.Address]*AddressMapValue) map[common.Address]*AddressMapValue + func WriteGlobalTokenMapToCache(chainId string) + func WriteTokenInfoToFile(filename string, tokenInfo [][]string) + type AddressMapValue struct + Count uint + TransferType string + type AddressValue struct + Address common.Address + Count uint + TransferType string + func SortAddressesByCount(uniqueAddresses map[common.Address]*AddressMapValue) []AddressValue + type TokenData struct + Decimals int + Name string + Symbol string + func GetTokenMasterData(tokenAddr string) (tokenData TokenData, exists bool) + type TokenDataFromSource struct + ChainId string + Decimals int + Name string + Symbol string + TokenAddress string + func GetTokenFromChain(chainId string, client *ethclient.Client, tokenAddr common.Address, ...) (tokenData TokenDataFromSource)