examples: add missing permission methods in manifests

This commit is contained in:
Alex Vanin 2021-06-23 20:56:09 +03:00
parent 5fa000cbae
commit 90400d951a
5 changed files with 11 additions and 1 deletions

View file

@ -14,4 +14,6 @@ events:
- name: tokenId - name: tokenId
type: ByteArray type: ByteArray
permissions: permissions:
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
methods: ["update"]
- methods: ["onNEP11Payment"] - methods: ["onNEP11Payment"]

View file

@ -13,4 +13,6 @@ events:
- name: tokenId - name: tokenId
type: ByteArray type: ByteArray
permissions: permissions:
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
methods: ["update", "destroy"]
- methods: ["onNEP11Payment"] - methods: ["onNEP11Payment"]

View file

@ -1,3 +1,5 @@
name: "Oracle example" name: "Oracle example"
supportedstandards: [] supportedstandards: []
events: events:
permissions:
- methods: ["request"]

View file

@ -1,3 +1,5 @@
name: "Timer example" name: "Timer example"
supportedstandards: [] supportedstandards: []
events: [] events: []
permissions:
- methods: '*'

View file

@ -10,3 +10,5 @@ events:
type: Hash160 type: Hash160
- name: amount - name: amount
type: Integer type: Integer
permissions:
- methods: ["onNEP17Payment"]