Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support conflux #75

Open
benluelo opened this issue Jan 31, 2025 · 0 comments
Open

Support conflux #75

benluelo opened this issue Jan 31, 2025 · 0 comments

Comments

@benluelo
Copy link

benluelo commented Jan 31, 2025

The conflux etherscan api returns slightly malformed (although technically correct) data in responses:

https://evmapi-testnet.confluxscan.io/api?module=contract&action=getabi&address=0x1aed8ea8bc4023f2a9520843ae41273efb88da5b

{"status":"0","message":"contract 0x1aed8ea8bc4023f2a9520843ae41273efb88da5b not verified"}

note that the result key is missing.

I'm seeing the issue here: https://github.com/foundry-rs/block-explorers/blob/main/crates/block-explorers/src/contract.rs#L373

Not sure what the best way to fix this would be, happy to submit a PR once that's figured out.

EDIT: ConfluxScan is a lot older than I thought, and has been archived for ~4 years: https://github.com/Conflux-Chain/conflux-scan. I've hit a lot of other issues with their apis, so feel free to close this issue since I think it's likely not worth the time to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant