frostfs-contract/balance/config.yml
Alex Vanin a1a04f8a87 [#105] balance: Add docs and fix naming
`CreateToken` method should not be public.
Fixed notification field names in `Mint` and `Burn`.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-22 14:59:05 +03:00

48 lines
No EOL
1,002 B
YAML

name: "NeoFS Balance"
supportedstandards: ["NEP-17"]
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "version"]
permissions:
- methods: ["update"]
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: to
type: Hash160
- name: amount
type: Integer
- name: Burn
parameters:
- name: from
type: Hash160
- name: amount
type: Integer