ApeWorX / ape-alchemy

Alchemy network provider plugin for the Ape Framework
https://www.apeworx.io/
21 stars 13 forks source link

Fail to get Uniswapv3 on alchemy mainnet. ERROR: (ChainError) Failed to get contract type for address '0x3416cF6C708Da44DB2624D63ea0AAef7113527C6' [APE-813] #51

Closed LinuxIsCool closed 1 year ago

LinuxIsCool commented 1 year ago

Environment information

$ ape --version  
0.6.7

$ ape plugins list  
alchemy     0.6.1

What went wrong?

I'm trying to replicate banteg's work here: https://gist.github.com/banteg/dcf6082ff7fc6ad51ce220146f29d9ff

ape console --network 'ethereum:mainnet:alchemy
uniswap = Contract('0x3416cF6C708Da44DB2624D63ea0AAef7113527C6')

Results

ERROR: (ChainError) Failed to get contract type for address '0x3416cF6C708Da44DB2624D63ea0AAef7113527C6'
LinuxIsCool commented 1 year ago

Got it. Fetching contract types requires the etherscan plugin. Perhaps this should be indicated in error messaging.