*: 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"
|
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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
18
nns/nns.yml
18
nns/nns.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue