mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
examples: add missing permission methods in manifests
This commit is contained in:
parent
5fa000cbae
commit
90400d951a
5 changed files with 11 additions and 1 deletions
|
@ -14,4 +14,6 @@ events:
|
|||
- name: tokenId
|
||||
type: ByteArray
|
||||
permissions:
|
||||
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
||||
methods: ["update"]
|
||||
- methods: ["onNEP11Payment"]
|
||||
|
|
|
@ -13,4 +13,6 @@ events:
|
|||
- name: tokenId
|
||||
type: ByteArray
|
||||
permissions:
|
||||
- methods: ["onNEP11Payment"]
|
||||
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
||||
methods: ["update", "destroy"]
|
||||
- methods: ["onNEP11Payment"]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
name: "Oracle example"
|
||||
supportedstandards: []
|
||||
events:
|
||||
permissions:
|
||||
- methods: ["request"]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
name: "Timer example"
|
||||
supportedstandards: []
|
||||
events: []
|
||||
permissions:
|
||||
- methods: '*'
|
||||
|
|
|
@ -10,3 +10,5 @@ events:
|
|||
type: Hash160
|
||||
- name: amount
|
||||
type: Integer
|
||||
permissions:
|
||||
- methods: ["onNEP17Payment"]
|
||||
|
|
Loading…
Reference in a new issue