*: Use multiline lists in yaml config
It is quite hard to navigate in a single-line list of length 10. Viewing diffs is also more pleasant when a single line has added. Also, sort everything by alphabet. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
077823ee84
commit
6e8ae742ae
5 changed files with 55 additions and 9 deletions
|
@ -1,6 +1,11 @@
|
|||
name: "Balance"
|
||||
supportedstandards: ["NEP-17"]
|
||||
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "version"]
|
||||
safemethods:
|
||||
- "balanceOf"
|
||||
- "decimals"
|
||||
- "symbol"
|
||||
- "totalSupply"
|
||||
- "version"
|
||||
permissions:
|
||||
- methods: ["update"]
|
||||
events:
|
||||
|
|
|
@ -1,8 +1,24 @@
|
|||
name: "Container"
|
||||
safemethods: ["count", "containersOf", "get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "iterateContainerSizes", "version"]
|
||||
safemethods:
|
||||
- "count"
|
||||
- "containersOf"
|
||||
- "eACL"
|
||||
- "get"
|
||||
- "getContainerSize"
|
||||
- "iterateContainerSizes"
|
||||
- "list"
|
||||
- "listContainerSizes"
|
||||
- "owner"
|
||||
- "version"
|
||||
permissions:
|
||||
- methods: ["update", "addKey", "transferX",
|
||||
"register", "addRecord", "deleteRecords"]
|
||||
- methods:
|
||||
- "addKey"
|
||||
- "addRecord"
|
||||
- "deleteRecords"
|
||||
- "register"
|
||||
- "transferX"
|
||||
- "update"
|
||||
|
||||
events:
|
||||
- name: PutSuccess
|
||||
parameters:
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
name: "FrostFS"
|
||||
safemethods: ["alphabetAddress", "innerRingCandidates", "config", "listConfig", "version"]
|
||||
safemethods:
|
||||
- "alphabetAddress"
|
||||
- "config"
|
||||
- "innerRingCandidates"
|
||||
- "listConfig"
|
||||
- "version"
|
||||
permissions:
|
||||
- methods: ["update", "transfer"]
|
||||
events:
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
name: "Netmap"
|
||||
safemethods: ["epoch", "netmap", "netmapCandidates", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
|
||||
safemethods:
|
||||
- "config"
|
||||
- "epoch"
|
||||
- "listConfig"
|
||||
- "netmap"
|
||||
- "netmapCandidates"
|
||||
- "snapshot"
|
||||
- "snapshotByEpoch"
|
||||
- "version"
|
||||
permissions:
|
||||
- methods: ["update", "newEpoch"]
|
||||
events:
|
||||
|
|
18
nns/nns.yml
18
nns/nns.yml
|
@ -1,8 +1,20 @@
|
|||
name: "NameService"
|
||||
supportedstandards: ["NEP-11"]
|
||||
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "tokensOf", "ownerOf",
|
||||
"tokens", "properties", "roots", "getPrice", "isAvailable", "getRecord",
|
||||
"resolve", "getAllRecords"]
|
||||
safemethods:
|
||||
- "balanceOf"
|
||||
- "decimals"
|
||||
- "getAllRecords"
|
||||
- "getPrice"
|
||||
- "getRecord"
|
||||
- "isAvailable"
|
||||
- "ownerOf"
|
||||
- "properties"
|
||||
- "symbol"
|
||||
- "totalSupply"
|
||||
- "tokensOf"
|
||||
- "tokens"
|
||||
- "resolve"
|
||||
- "roots"
|
||||
events:
|
||||
- name: Transfer
|
||||
parameters:
|
||||
|
|
Loading…
Reference in a new issue