forked from TrueCloudLab/frostfs-contract
89 lines
1.9 KiB
YAML
89 lines
1.9 KiB
YAML
name: "Identity"
|
|
safemethods: ["version"]
|
|
permissions:
|
|
- methods: ["update"]
|
|
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
|