Struct ethers_solc::artifacts::contract::Contract
source · pub struct Contract {
pub abi: Option<LosslessAbi>,
pub metadata: Option<LosslessMetadata>,
pub userdoc: UserDoc,
pub devdoc: DevDoc,
pub ir: Option<String>,
pub storage_layout: StorageLayout,
pub evm: Option<Evm>,
pub ewasm: Option<Ewasm>,
pub ir_optimized: Option<String>,
}
Expand description
Represents a compiled solidity contract
Fields§
§abi: Option<LosslessAbi>
The Ethereum Contract Metadata. See https://docs.soliditylang.org/en/develop/metadata.html
metadata: Option<LosslessMetadata>
§userdoc: UserDoc
§devdoc: DevDoc
§ir: Option<String>
§storage_layout: StorageLayout
§evm: Option<Evm>
EVM-related outputs
ewasm: Option<Ewasm>
Ewasm related outputs
ir_optimized: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more