Open haltman-at opened 1 year ago
OK, I took a look at this because I didn't have time for much else tonight. Conclusions:
Notionally we could exclude linked library handling -- they're a "specialization", after all -- but I'd really prefer not to.
I can file an issue with them asking for an explanation; hopefully we get a response?
Issue
See also: #4779
So in addition to Etherscan, Sourcify, and Blockscout, Subscan also supports contract verification. At least, on some of its networks; not on most of them. But it supports it on a few of them, and even some ones that Etherscan and Sourcify currently don't.
(Note: One of these is Astar's Shibuya network, which uses chain ID 81, but which doesn't appear in any of the usual chain directories -- those list chain ID 81 as belonging to the Zenith testnet Vilnius...)
Now, I haven't yet tried this out, so I don't actually know yet whether its API will suffice for our purposes. But, I should try this out later and report back on whether it's good enough. And if it is, then there should be a Subscan source fetcher!
Environment
truffle version
): 5.6.5