frostfs-contract/neofs/config.yml
Pavel Karpy 8d8482a88e [#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>
2021-03-09 19:25:47 +03:00

57 lines
1.2 KiB
YAML

name: "NeoFS"
safemethods: ["innerRingList", "innerRingCandidates", "withdraw", "bind", "unbind", "isInnerRing", "config", "listConfig", "version"]
events:
- name: Deposit
parameters:
- name: from
type: Hash160
- name: amount
type: Integer
- name: receiver
type: Hash160
- name: txHash
type: Hash256
- name: Withdraw
parameters:
- name: user
type: ByteArray
- name: amount
type: Integer
- name: txHash
type: Hash256
- name: Cheque
parameters:
- name: id
type: ByteArray
- name: user
type: ByteArray
- name: amount
type: Integer
- name: lockAccount
type: ByteArray
- name: Bind
parameters:
- name: user
type: ByteArray
- name: keys
type: Array
- name: Unbind
parameters:
- name: user
type: ByteArray
- name: keys
type: Array
- name: InnerRingUpdate
parameters:
- name: id
type: ByteArray
- name: innerRingList
type: Array
- name: SetConfig
parameters:
- name: id
type: ByteArray
- name: key
type: ByteArray
- name: value
type: ByteArray