forked from TrueCloudLab/frostfs-contract
[#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:
parent
61d70dab75
commit
8d8482a88e
8 changed files with 8 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
name: "NeoFS Alphabet"
|
||||
safemethods: ["gas", "neo", "name", "version"]
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
name: "NeoFS Audit"
|
||||
safemethods: ["get", "list", "listByEpoch", "listByCID", "listByNode", "version"]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: "NeoFS Container"
|
||||
safemethods: ["get", "owner", "list", "eacl", "getContainerSize", "listContainerSizes", "startContainerEstimation", "stopContainerEstimation", "version"]
|
||||
events:
|
||||
- name: containerPut
|
||||
parameters:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: "NeoFS"
|
||||
safemethods: ["innerRingList", "innerRingCandidates", "withdraw", "bind", "unbind", "isInnerRing", "config", "listConfig", "version"]
|
||||
events:
|
||||
- name: Deposit
|
||||
parameters:
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
name: "NeoFS ID"
|
||||
safemethods: ["key", "version"]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: "NeoFS Netmap"
|
||||
safemethods: ["innerRingList", "multiaddress", "addPeer", "epoch", "netmap", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
|
||||
events:
|
||||
- name: AddPeer
|
||||
parameters:
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
name: "NeoFS Notary Proxy"
|
||||
safemethods: ["verify", "version"]
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
name: "NeoFS Reputation"
|
||||
safemethods: ["list"]
|
||||
|
|
Loading…
Reference in a new issue