ApeWorX / ape-etherscan

Etherscan explorer plugin using EVM-based networks for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
26 stars 25 forks source link

Add support for token queries [APE-1244] #97

Open fubuloubu opened 1 year ago

fubuloubu commented 1 year ago

Overview

Etherscan's API has a token index that we can use to speedup queries about different tokens

Specification

Once support for https://github.com/ApeWorX/ape-tokens/issues/33 is added, detect if ape_tokens is available (check for ImportError) and import the relevant queries subclasses, then add support for them in the query engine if the classes are used

Dependencies

https://github.com/ApeWorX/ape-tokens/issues/33