forked from TrueCloudLab/frostfs-contract
840e206963
Add notification to the `Delete` method and add subnet ID to the `Put` notification. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
17 lines
342 B
YAML
17 lines
342 B
YAML
name: "NeoFS Subnet"
|
|
safemethods: ["version"]
|
|
permissions:
|
|
- methods: ["update"]
|
|
events:
|
|
- name: SubnetPut
|
|
parameters:
|
|
- name: id
|
|
type: ByteArray
|
|
- name: ownerKey
|
|
type: PublicKey
|
|
- name: info
|
|
type: ByteArray
|
|
- name: SubnetDelete
|
|
parameters:
|
|
- name: id
|
|
type: ByteArray
|