2023-03-01 10:50:14 +00:00
|
|
|
name: "Identity"
|
2023-11-07 10:54:48 +00:00
|
|
|
safemethods: ["version"]
|
2021-06-23 16:56:56 +00:00
|
|
|
permissions:
|
|
|
|
- methods: ["update"]
|
2023-11-07 10:54:48 +00:00
|
|
|
events:
|
|
|
|
- name: CreateSubject
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: AddSubjectKey
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: subjectKey
|
|
|
|
type: PublicKey
|
|
|
|
- name: RemoveSubjectKey
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: subjectKey
|
|
|
|
type: PublicKey
|
|
|
|
- name: SetSubjectName
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: SetSubjectKV
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: key
|
|
|
|
type: String
|
|
|
|
- name: value
|
|
|
|
type: String
|
|
|
|
- name: DeleteSubjectKV
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: key
|
|
|
|
type: String
|
|
|
|
- name: DeleteSubject
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: CreateNamespace
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: AddSubjectToNamespace
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: RemoveSubjectFromNamespace
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: CreateGroup
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: group
|
|
|
|
type: String
|
|
|
|
- name: AddSubjectToGroup
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: group
|
|
|
|
type: String
|
|
|
|
- name: RemoveSubjectFromGroup
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: group
|
|
|
|
type: String
|
|
|
|
- name: DeleteGroup
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: group
|
|
|
|
type: String
|