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 + const ERC1155_BATCH + const ERC1155_SINGLE + const ERC20 + const ERC721 + func DecodeDataForErc1155Batch(logData []byte) (ids []*big.Int, values []*big.Int) + func DecodeDataForErc1155Single(logData []byte) (id *big.Int, value *big.Int) + type EvmClient struct + ChainId string + Client *ethclient.Client + LatestBlockNumber uint64 + Name string + Url string + func CreateEvmClient(url string) (EvmClient, error) + type TransferEvent struct + BlockNumber uint64 + BlockTimestamp time.Time + LogAddressFrom common.Address + LogAddressFromFirstSeen time.Time + LogAddressFromFirstSeenIndex uint + LogAddressTo common.Address + LogAddressToFirstSeen time.Time + LogAddressToFirstSeenIndex uint + LogEmitterAddress common.Address + LogIndex uint + LogNftId string + LogOperator common.Address + LogTokenValue big.Int + TransactionTimestampEstimate time.Time + TransactionTimestampEstimateIndex uint + TransferType string + TxHash common.Hash + TxIndex uint + func GetTransferEventsByBlock(client *ethclient.Client, blockNumberInt uint64, onlyThisTokenAddress string) ([]*TransferEvent, error) + func (event *TransferEvent) Print()