[#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>
This commit is contained in:
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"]