forked from TrueCloudLab/frostfs-contract
[#96] *: Specify permissions in contract manifests
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
14382d701c
commit
01b12bcd56
10 changed files with 20 additions and 0 deletions
|
@ -1,2 +1,4 @@
|
|||
name: "NeoFS Alphabet"
|
||||
safemethods: ["gas", "neo", "name", "version"]
|
||||
permissions:
|
||||
- methods: ["update", "transfer", "vote"]
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
name: "NeoFS Audit"
|
||||
safemethods: ["get", "list", "listByEpoch", "listByCID", "listByNode", "version"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
name: "NeoFS Balance"
|
||||
supportedstandards: ["NEP-17"]
|
||||
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "version"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
events:
|
||||
- name: Lock
|
||||
parameters:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
name: "NeoFS Container"
|
||||
safemethods: ["get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "version"]
|
||||
permissions:
|
||||
- methods: ["update", "addKey", "transferX"]
|
||||
events:
|
||||
- name: containerPut
|
||||
parameters:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
name: "NeoFS"
|
||||
safemethods: ["alphabetList", "alphabetAddress", "innerRingCandidates", "config", "listConfig", "version"]
|
||||
permissions:
|
||||
- methods: ["update", "transfer"]
|
||||
events:
|
||||
- name: Deposit
|
||||
parameters:
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
name: "NeoFS ID"
|
||||
safemethods: ["key", "version"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
name: "NeoFS Netmap"
|
||||
safemethods: ["innerRingList", "epoch", "netmap", "netmapCandidates", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
|
||||
permissions:
|
||||
- methods: ["update", "newEpoch"]
|
||||
events:
|
||||
- name: AddPeer
|
||||
parameters:
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
name: "NeoFS Multi Signature Processing"
|
||||
safemethods: ["verify", "version"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
name: "NeoFS Notary Proxy"
|
||||
safemethods: ["verify", "version"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
name: "NeoFS Reputation"
|
||||
safemethods: ["get, getByID, listByEpoch"]
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
events:
|
||||
- name: reputationPut
|
||||
parameters:
|
||||
|
|
Loading…
Reference in a new issue