*: 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>
pull/38/head
Evgenii Stratonikov 2023-08-08 09:08:08 +03:00 committed by Evgenii Stratonikov
parent 077823ee84
commit 6e8ae742ae
5 changed files with 55 additions and 9 deletions

View File

@ -1,6 +1,11 @@
name: "Balance" name: "Balance"
supportedstandards: ["NEP-17"] supportedstandards: ["NEP-17"]
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "version"] safemethods:
- "balanceOf"
- "decimals"
- "symbol"
- "totalSupply"
- "version"
permissions: permissions:
- methods: ["update"] - methods: ["update"]
events: events:

View File

@ -1,8 +1,24 @@
name: "Container" 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: permissions:
- methods: ["update", "addKey", "transferX", - methods:
"register", "addRecord", "deleteRecords"] - "addKey"
- "addRecord"
- "deleteRecords"
- "register"
- "transferX"
- "update"
events: events:
- name: PutSuccess - name: PutSuccess
parameters: parameters:

View File

@ -1,5 +1,10 @@
name: "FrostFS" name: "FrostFS"
safemethods: ["alphabetAddress", "innerRingCandidates", "config", "listConfig", "version"] safemethods:
- "alphabetAddress"
- "config"
- "innerRingCandidates"
- "listConfig"
- "version"
permissions: permissions:
- methods: ["update", "transfer"] - methods: ["update", "transfer"]
events: events:

View File

@ -1,5 +1,13 @@
name: "Netmap" name: "Netmap"
safemethods: ["epoch", "netmap", "netmapCandidates", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"] safemethods:
- "config"
- "epoch"
- "listConfig"
- "netmap"
- "netmapCandidates"
- "snapshot"
- "snapshotByEpoch"
- "version"
permissions: permissions:
- methods: ["update", "newEpoch"] - methods: ["update", "newEpoch"]
events: events:

View File

@ -1,8 +1,20 @@
name: "NameService" name: "NameService"
supportedstandards: ["NEP-11"] supportedstandards: ["NEP-11"]
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "tokensOf", "ownerOf", safemethods:
"tokens", "properties", "roots", "getPrice", "isAvailable", "getRecord", - "balanceOf"
"resolve", "getAllRecords"] - "decimals"
- "getAllRecords"
- "getPrice"
- "getRecord"
- "isAvailable"
- "ownerOf"
- "properties"
- "symbol"
- "totalSupply"
- "tokensOf"
- "tokens"
- "resolve"
- "roots"
events: events:
- name: Transfer - name: Transfer
parameters: parameters: