Skip to main content

parse_contract_json

Function parse_contract_json 

Source
pub fn parse_contract_json(bytes: &[u8]) -> ProtocolResult<Value>
Expand description

Parse contract JSON bytes with the strict hash-profile parser, mapping its failures to protocol error codes.