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"
|
name: "NeoFS Alphabet"
|
||||||
|
safemethods: ["gas", "neo", "name", "version"]
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
name: "NeoFS Audit"
|
name: "NeoFS Audit"
|
||||||
|
safemethods: ["get", "list", "listByEpoch", "listByCID", "listByNode", "version"]
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
name: "NeoFS Container"
|
name: "NeoFS Container"
|
||||||
|
safemethods: ["get", "owner", "list", "eacl", "getContainerSize", "listContainerSizes", "startContainerEstimation", "stopContainerEstimation", "version"]
|
||||||
events:
|
events:
|
||||||
- name: containerPut
|
- name: containerPut
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
name: "NeoFS"
|
name: "NeoFS"
|
||||||
|
safemethods: ["innerRingList", "innerRingCandidates", "withdraw", "bind", "unbind", "isInnerRing", "config", "listConfig", "version"]
|
||||||
events:
|
events:
|
||||||
- name: Deposit
|
- name: Deposit
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
name: "NeoFS ID"
|
name: "NeoFS ID"
|
||||||
|
safemethods: ["key", "version"]
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
name: "NeoFS Netmap"
|
name: "NeoFS Netmap"
|
||||||
|
safemethods: ["innerRingList", "multiaddress", "addPeer", "epoch", "netmap", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
|
||||||
events:
|
events:
|
||||||
- name: AddPeer
|
- name: AddPeer
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
name: "NeoFS Notary Proxy"
|
name: "NeoFS Notary Proxy"
|
||||||
|
safemethods: ["verify", "version"]
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
name: "NeoFS Reputation"
|
name: "NeoFS Reputation"
|
||||||
|
safemethods: ["list"]
|
||||||
|
|
Loading…
Reference in a new issue