Merge pull request #2023 from alexvanin/fix/example-permissions

Fix permissions in example manifests
This commit is contained in:
Roman Khimov 2021-06-25 10:43:14 +03:00 committed by GitHub
commit 16a8edaa17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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

View file

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