ape-etherscan icon indicating copy to clipboard operation
ape-etherscan copied to clipboard

Have explorer name reflect network

Open antazoey opened this issue 3 years ago • 0 comments
trafficstars

Overview

Currently, the explorer class repr always says Etherscan if connected to an L2 network such as Polygon:

Etherscan(name='etherscan', network=<polygon:mainnet chain_id=137>)

Specification

Perhaps it would be nice to either have it be unique classes (clones):

Polygonscan(name='polygonscan', network=<polygon:mainnet chain_id=137>)

or keep the class name and only change the "name":

Etherscan(name='polygonscan', network=<polygon:mainnet chain_id=137>)

Describe the syntax and semantics of how you would like to see this feature implemented. The more detailed the better!

Remember, your feature is much more likely to be included if it does not involve any breaking changes.

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

antazoey avatar Sep 19 '22 20:09 antazoey