[#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>
enable-notary-in-public-chains
Pavel Karpy 2021-03-09 13:05:19 +03:00 committed by Alex Vanin
parent 61d70dab75
commit 8d8482a88e
8 changed files with 8 additions and 0 deletions

View File

@ -1 +1,2 @@
name: "NeoFS Alphabet"
safemethods: ["gas", "neo", "name", "version"]

View File

@ -1 +1,2 @@
name: "NeoFS Audit"
safemethods: ["get", "list", "listByEpoch", "listByCID", "listByNode", "version"]

View File

@ -1,4 +1,5 @@
name: "NeoFS Container"
safemethods: ["get", "owner", "list", "eacl", "getContainerSize", "listContainerSizes", "startContainerEstimation", "stopContainerEstimation", "version"]
events:
- name: containerPut
parameters:

View File

@ -1,4 +1,5 @@
name: "NeoFS"
safemethods: ["innerRingList", "innerRingCandidates", "withdraw", "bind", "unbind", "isInnerRing", "config", "listConfig", "version"]
events:
- name: Deposit
parameters:

View File

@ -1 +1,2 @@
name: "NeoFS ID"
safemethods: ["key", "version"]

View File

@ -1,4 +1,5 @@
name: "NeoFS Netmap"
safemethods: ["innerRingList", "multiaddress", "addPeer", "epoch", "netmap", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
events:
- name: AddPeer
parameters:

View File

@ -1 +1,2 @@
name: "NeoFS Notary Proxy"
safemethods: ["verify", "version"]

View File

@ -1 +1,2 @@
name: "NeoFS Reputation"
safemethods: ["list"]