Struct ethers_etherscan::contract::VerifyContract [−][src]
pub struct VerifyContract {
pub address: Address,
pub source: String,
pub code_format: CodeFormat,
pub contract_name: Option<String>,
pub compiler_version: String,
pub runs: Option<String>,
pub constructor_arguments: Option<String>,
pub evm_version: Option<String>,
pub other: HashMap<String, String>,
// some fields omitted
}
Expand description
Arguments for verifying contracts
Fields
address: Address
source: String
code_format: CodeFormat
contract_name: Option<String>
if codeformat=solidity-standard-json-input, then expected as
erc20.sol:erc20
compiler_version: String
runs: Option<String>
constructor_arguments: Option<String>
NOTE: there is a typo in the etherscan API constructorArguements
evm_version: Option<String>
other: HashMap<String, String>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VerifyContract
impl Send for VerifyContract
impl Sync for VerifyContract
impl Unpin for VerifyContract
impl UnwindSafe for VerifyContract
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more