frostfs-contract/balance/config.yml
Alex Vanin e9ba1f5f6d [#12] Use non-specific contract names
Allows easier project name updates in the future.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-01 13:51:29 +03:00

48 lines
No EOL
996 B
YAML

name: "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