Skip to content

Commit

Permalink
analyzer/evm: handle downloading ERC-721 mutable data
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Jul 7, 2023
1 parent db6fb96 commit 61a40ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions analyzer/runtime/evm/client.go
Expand Up @@ -233,6 +233,13 @@ func EVMDownloadMutatedToken(ctx context.Context, logger *log.Logger, source nod
}
return mutable, nil

case EVMTokenTypeERC721:
mutable, err := evmDownloadTokenERC721Mutable(ctx, logger, source, round, tokenEthAddr)
if err != nil {
return nil, fmt.Errorf("download token ERC-721 mutable: %w", err)
}
return mutable, nil

// todo: add support for other token types
// see https://github.com/oasisprotocol/nexus/issues/225

Expand Down

0 comments on commit 61a40ed

Please sign in to comment.