diff --git a/README.md b/README.md index 327c1b2..c5e782d 100644 --- a/README.md +++ b/README.md @@ -11,38 +11,38 @@ A smart contract that manages issuing & verifying university certificates, built ⸻⸻⸻⸻⸻⸻⸻⮞ Unicerts properties ⮜⸻⸻⸻⸻⸻⸻⸻ - supports_adding_students: - enabled?: true - requirement: "not callable by admin" + enabled?: true + requirement: "not callable by admin" - supports_retrieving_students: - enabled?: true - types: - getStudent: "a student can only get his own data" - getStudents: "only callable by admin" + enabled?: true + types: + getStudent: "a student can only get his own data" + getStudents: "only callable by admin" - supports_retrieving_certificates: - enabled?: true - types: - getCertificate: "called by anyone" - getCertificates: "only callable by admin" - getStudentCertificates: "only callable by admin or the concerned student" + enabled?: true + types: + getCertificate: "called by anyone" + getCertificates: "only callable by admin" + getStudentCertificates: "only callable by admin or the concerned student" - supports_requesting_certificates: - enabled?: true - requirements: - 1: "only callable by students" - 2: "cert should not be already registered" + enabled?: true + requirements: + 1: "only callable by students" + 2: "cert should not be already registered" - supports_reviewing_certificates: - enabled?: true - requirements: - 1: "only callable by admin" - 2: "cert should be already registered and pending" + enabled?: true + requirements: + 1: "only callable by admin" + 2: "cert should be already registered and pending" - supports_issuing_certificates: - enabled?: true - requirements: - 1: "only callable by admin" - 2: "student should exist" - 3: "cert should not be already registered" + enabled?: true + requirements: + 1: "only callable by admin" + 2: "student should exist" + 3: "cert should not be already registered" - supports_checking_certificates_validities: - enabled?: true - requirements: "cert should be already registered" + enabled?: true + requirements: "cert should be already registered" ``` ## ❄ Testing and Development