forked from TrueCloudLab/frostfs-contract
Evgenii Stratonikov
762d7f9f9f
This is what we use inside Put(). It leads to a better auto-generated code. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
46 lines
867 B
YAML
46 lines
867 B
YAML
name: "Container"
|
|
safemethods:
|
|
- "count"
|
|
- "containersOf"
|
|
- "deletionInfo"
|
|
- "eACL"
|
|
- "get"
|
|
- "getContainerSize"
|
|
- "iterateContainerSizes"
|
|
- "list"
|
|
- "listContainerSizes"
|
|
- "owner"
|
|
- "version"
|
|
permissions:
|
|
- methods:
|
|
- "addRecord"
|
|
- "deleteRecords"
|
|
- "register"
|
|
- "transferX"
|
|
- "update"
|
|
|
|
events:
|
|
- name: PutSuccess
|
|
parameters:
|
|
- name: containerID
|
|
type: Hash256
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: DeleteSuccess
|
|
parameters:
|
|
- name: containerID
|
|
type: Hash256
|
|
- 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
|