forked from TrueCloudLab/frostfs-contract
d8031f8f59
Add "version" to `safemethods` balance contract field. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
46 lines
No EOL
965 B
YAML
46 lines
No EOL
965 B
YAML
name: "NeoFS Balance"
|
|
supportedstandards: ["NEP-17"]
|
|
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "version"]
|
|
events:
|
|
- name: Lock
|
|
parameters:
|
|
- name: txID
|
|
type: ByteArray
|
|
- name: from
|
|
type: Hash160
|
|
- name: to
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer
|
|
- name: until
|
|
type: Integer
|
|
- name: Transfer
|
|
parameters:
|
|
- name: from
|
|
type: Hash160
|
|
- name: to
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer
|
|
- name: TransferX
|
|
parameters:
|
|
- name: from
|
|
type: Hash160
|
|
- name: to
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer
|
|
- name: details
|
|
type: ByteArray
|
|
- name: Mint
|
|
parameters:
|
|
- name: from
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer
|
|
- name: Burn
|
|
parameters:
|
|
- name: to
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer |