frostfs-contract/netmap/config.yml
Pavel Karpy 8d8482a88e [#26] Add safemethods fields
Fill in `safemethods` fields in contract config files
with methods that do not change contract storages.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-03-09 19:25:47 +03:00

17 lines
458 B
YAML

name: "NeoFS Netmap"
safemethods: ["innerRingList", "multiaddress", "addPeer", "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