mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
Merge pull request #2023 from alexvanin/fix/example-permissions
Fix permissions in example manifests
This commit is contained in:
commit
16a8edaa17
5 changed files with 12 additions and 2 deletions
|
@ -14,4 +14,6 @@ events:
|
|||
- name: tokenId
|
||||
type: ByteArray
|
||||
permissions:
|
||||
- methods: ["onNEP11Transfer"]
|
||||
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
||||
methods: ["update"]
|
||||
- methods: ["onNEP11Payment"]
|
||||
|
|
|
@ -13,4 +13,6 @@ events:
|
|||
- name: tokenId
|
||||
type: ByteArray
|
||||
permissions:
|
||||
- methods: ["onNEP11Transfer"]
|
||||
- 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