Skip to content

Support conflux #75

@benluelo

Description

@benluelo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions