json_document_to_created_contract

Function json_document_to_created_contract 

Source
pub fn json_document_to_created_contract(
    path: impl AsRef<Path>,
    identity_nonce: IdentityNonce,
    full_validation: bool,
    platform_version: &PlatformVersion,
) -> Result<CreatedDataContract, ProtocolError>
Expand description

Reads a JSON file and converts it a contract.