Functions
registerModel(contract, sender, didMethod, currency)getModelInfo(contract)create(contract, sender, authType, publicKey, serviceType, serviceEndPoints, currency)getDID(contract, account)getDocument(contract, did)writeAsymkeyAuth(id, authType, controller, publicKey)writeLinkedAuth(id, controller, targetId, allowedOperations)writeDocument(didContext, didID, authentications, verificationMethods, services?)updateDocument(contract, sender, document, currency)updateDocumentByDocumentJson(contract, sender, documentJson, currency)