From de8db692f4baf0a6318c5fab3c1ec63a9d27557a Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 10 Aug 2020 17:33:21 +0300 Subject: [PATCH] examples: add .yml configuration files --- examples/engine/engine.yml | 8 ++++++++ examples/iterator/iterator.yml | 12 ++++++++++++ examples/runtime/runtime.yml | 8 ++++++++ examples/storage/storage.yml | 4 ++++ examples/token-sale/token_sale.yml | 4 ++++ examples/token/token.yml | 12 ++++++++++++ 6 files changed, 48 insertions(+) create mode 100644 examples/engine/engine.yml create mode 100644 examples/iterator/iterator.yml create mode 100644 examples/runtime/runtime.yml create mode 100644 examples/storage/storage.yml create mode 100644 examples/token-sale/token_sale.yml create mode 100644 examples/token/token.yml diff --git a/examples/engine/engine.yml b/examples/engine/engine.yml new file mode 100644 index 000000000..1fa77b421 --- /dev/null +++ b/examples/engine/engine.yml @@ -0,0 +1,8 @@ +hasstorage: false +ispayable: false +supportedstandards: [] +events: + - name: Tx + parameters: + - name: txHash + type: ByteString diff --git a/examples/iterator/iterator.yml b/examples/iterator/iterator.yml new file mode 100644 index 000000000..af36a5660 --- /dev/null +++ b/examples/iterator/iterator.yml @@ -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 diff --git a/examples/runtime/runtime.yml b/examples/runtime/runtime.yml new file mode 100644 index 000000000..3f206d027 --- /dev/null +++ b/examples/runtime/runtime.yml @@ -0,0 +1,8 @@ +hasstorage: false +ispayable: false +supportedstandards: [] +events: + - name: Event + parameters: + - name: event + type: Any diff --git a/examples/storage/storage.yml b/examples/storage/storage.yml new file mode 100644 index 000000000..d9b6984cf --- /dev/null +++ b/examples/storage/storage.yml @@ -0,0 +1,4 @@ +hasstorage: true +ispayable: false +supportedstandards: [] +events: [] diff --git a/examples/token-sale/token_sale.yml b/examples/token-sale/token_sale.yml new file mode 100644 index 000000000..50258d5c2 --- /dev/null +++ b/examples/token-sale/token_sale.yml @@ -0,0 +1,4 @@ +hasstorage: true +ispayable: false +supportedstandards: ["NEP-5"] +events: [] diff --git a/examples/token/token.yml b/examples/token/token.yml new file mode 100644 index 000000000..f8476fbf9 --- /dev/null +++ b/examples/token/token.yml @@ -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