forge_verify::etherscan

Trait EtherscanSourceProvider

Source
trait EtherscanSourceProvider:
    Send
    + Sync
    + Debug {
    // Required method
    fn source(
        &self,
        args: &VerifyArgs,
        context: &VerificationContext,
    ) -> Result<(String, String, CodeFormat)>;
}
Expand description

The contract source provider for EtherscanVerificationProvider

Returns source, contract_name and the source [CodeFormat]

Required Methods§

Source

fn source( &self, args: &VerifyArgs, context: &VerificationContext, ) -> Result<(String, String, CodeFormat)>

Implementors§