mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 01:36:18 +00:00
c2b3ee3d8e
This allows to reuse it across different packages. testchain can't be used because of circular dependencies. Init() is not changed except for filepath.Join() use instead of direct string appends which is a better approach anyway. rootpath is required because current directory will change from package to package.
17 lines
444 B
YAML
17 lines
444 B
YAML
name: "Rubl"
|
|
sourceurl: https://github.com/nspcc-dev/neo-go/
|
|
supportedstandards: ["NEP-17"]
|
|
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply"]
|
|
events:
|
|
- name: Transfer
|
|
parameters:
|
|
- name: from
|
|
type: Hash160
|
|
- name: to
|
|
type: Hash160
|
|
- name: amount
|
|
type: Integer
|
|
permissions:
|
|
- hash: ef4073a0f2b305a38ec4050e4d3d28bc40ea63f5
|
|
methods: ["transfer"]
|
|
- methods: ["onNEP17Payment"]
|