forked from TrueCloudLab/frostfs-contract
8d8482a88e
Fill in `safemethods` fields in contract config files with methods that do not change contract storages. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
57 lines
1.2 KiB
YAML
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
|