examples: add .yml configuration files

This commit is contained in:
Anna Shaleva 2020-08-10 17:33:21 +03:00
parent 52275bcd9c
commit de8db692f4
6 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,8 @@
hasstorage: false
ispayable: false
supportedstandards: []
events:
- name: Tx
parameters:
- name: txHash
type: ByteString

View file

@ -0,0 +1,12 @@
hasstorage: true
ispayable: false
supportedstandards: []
events:
- name: found storage values
parameters:
- name: values
type: Any
- name: found storage keys
parameters:
- name: keys
type: Any

View file

@ -0,0 +1,8 @@
hasstorage: false
ispayable: false
supportedstandards: []
events:
- name: Event
parameters:
- name: event
type: Any

View file

@ -0,0 +1,4 @@
hasstorage: true
ispayable: false
supportedstandards: []
events: []

View file

@ -0,0 +1,4 @@
hasstorage: true
ispayable: false
supportedstandards: ["NEP-5"]
events: []

12
examples/token/token.yml Normal file
View file

@ -0,0 +1,12 @@
hasstorage: true
ispayable: false
supportedstandards: ["NEP-5"]
events:
- name: transfer
parameters:
- name: from
type: ByteString
- name: to
type: ByteString
- name: amount
type: Integer