frostfs-contract/netmap/config.yml
Alex Vanin 01b12bcd56 [#96] *: Specify permissions in contract manifests
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-24 16:16:02 +03:00

19 lines
500 B
YAML

name: "NeoFS Netmap"
safemethods: ["innerRingList", "epoch", "netmap", "netmapCandidates", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
permissions:
- methods: ["update", "newEpoch"]
events:
- name: AddPeer
parameters:
- name: nodeInfo
type: ByteArray
- name: UpdateState
parameters:
- name: state
type: Integer
- name: publicKey
type: PublicKey
- name: NewEpoch
parameters:
- name: epoch
type: Integer