shazow / whatsabi

Extract the ABI (and resolve proxies, and get other metadata) from Ethereum bytecode, even without source code.
https://shazow.github.io/whatsabi/
MIT License
1.07k stars 76 forks source link

Adding EtherscanV2 #158

Open k-thornton opened 3 days ago

k-thornton commented 3 days ago

Adding Etherscan V2 into loaders list while I'm at it.

https://github.com/shazow/whatsabi/issues/157

It could have been a 3 line change, but I reconfigured the base Etherscan provider a bit since it may or may not have search params passed into it by the new subclass.

I tested permutations of the regular and new Etherscan loaders and it seemed to work across Ethereum and Base. I didn't test super thoroughly, but it seems to work!