pub struct EVM {
pub assembly_text: Option<String>,
pub bytecode: Option<Bytecode>,
pub deployed_bytecode: Option<DeployedBytecode>,
pub method_identifiers: Option<BTreeMap<String, String>>,
}
Expand description
The solc --standard-json
output contract EVM data.
It is replaced by PolkaVM data after compiling.
Fields§
§assembly_text: Option<String>
The contract PolkaVM assembly code.
bytecode: Option<Bytecode>
The contract bytecode. Is reset by that of PolkaVM before yielding the compiled project artifacts.
deployed_bytecode: Option<DeployedBytecode>
The deployed bytecode of the contract. It is overwritten with the PolkaVM blob before yielding the compiled project artifacts. Hence it will be the same as the runtime code but we keep both for compatibility reasons.
method_identifiers: Option<BTreeMap<String, String>>
The contract function signatures.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EVM
impl<'de> Deserialize<'de> for EVM
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
Auto Trait Implementations§
impl Freeze for EVM
impl RefUnwindSafe for EVM
impl Send for EVM
impl Sync for EVM
impl Unpin for EVM
impl UnwindSafe for EVM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more