forked from TrueCloudLab/frostfs-contract
4f3c08f552
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: "FrostFS Container"
|
|
safemethods: ["count", "containersOf", "get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "iterateContainerSizes", "version"]
|
|
permissions:
|
|
- methods: ["update", "addKey", "transferX",
|
|
"register", "addRecord", "deleteRecords"]
|
|
events:
|
|
- name: containerPut
|
|
parameters:
|
|
- name: container
|
|
type: ByteArray
|
|
- name: signature
|
|
type: Signature
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: token
|
|
type: ByteArray
|
|
- name: PutSuccess
|
|
parameters:
|
|
- name: containerID
|
|
type: Hash256
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: containerDelete
|
|
parameters:
|
|
- name: containerID
|
|
type: ByteArray
|
|
- name: signature
|
|
type: Signature
|
|
- name: token
|
|
type: ByteArray
|
|
- name: DeleteSuccess
|
|
parameters:
|
|
- name: containerID
|
|
type: ByteArray
|
|
- name: setEACL
|
|
parameters:
|
|
- name: eACL
|
|
type: ByteArray
|
|
- name: signature
|
|
type: Signature
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: token
|
|
type: ByteArray
|
|
- name: SetEACLSuccess
|
|
parameters:
|
|
- name: containerID
|
|
type: ByteArray
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: StartEstimation
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|
|
- name: StopEstimation
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|