frostfs-contract/netmap/config.yml
Pavel Karpy 6cd0808627 [#56] netmap: Fix unsafe methods
Delete unsafe 'addPeer' method from `safemethods`
in contract config.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-03-10 14:14:47 +03:00

17 lines
447 B
YAML

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