forked from TrueCloudLab/frostfs-contract
Vladimir Domnich
03bff785d2
Add method that allows to iterate over estimation records. Update tests to assert that list of estimations built with existing methods is identical to estimations from iterator. Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: "FrostFS Container"
|
|
safemethods: ["count", "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
|