forked from TrueCloudLab/frostfs-contract
Evgenii Stratonikov
6e8ae742ae
It is quite hard to navigate in a single-line list of length 10. Viewing diffs is also more pleasant when a single line has added. Also, sort everything by alphabet. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
53 lines
No EOL
1,010 B
YAML
53 lines
No EOL
1,010 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 |