Skip to main content

compile_contract_str

Function compile_contract_str 

Source
pub fn compile_contract_str(input: &str) -> Result<String, String>
Expand description

Compile a JSON contract to its dialect: recognise, emit, name by self-address, install through R1–R7. Returns JSON {"name": …, "label": …, "dialect": …} or a reason.