frostfs-contract/balance/config.yml
Alex Vanin 3875003b2e [#23] balance: Support NEP-17
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-29 14:15:26 +03:00

48 lines
No EOL
988 B
YAML

hasstorage: true
ispayable: false
name: "NeoFS Balance"
supportedstandards: ["NEP-17"]
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply"]
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