Skip to main content

classify

Function classify 

pub fn classify(old: &Value, new: &Value) -> Verdict
Expand description

Judge the contract old (a canonical op contract, as stored in a lock) against new (the schema’s current one), both as JSON values of the shape op_contract_json prints.