forked from TrueCloudLab/neoneo-go
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
|
- name: tokenId
|
||||||
type: ByteArray
|
type: ByteArray
|
||||||
permissions:
|
permissions:
|
||||||
|
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
||||||
|
methods: ["update"]
|
||||||
- methods: ["onNEP11Payment"]
|
- methods: ["onNEP11Payment"]
|
||||||
|
|
|
@ -13,4 +13,6 @@ events:
|
||||||
- name: tokenId
|
- name: tokenId
|
||||||
type: ByteArray
|
type: ByteArray
|
||||||
permissions:
|
permissions:
|
||||||
- methods: ["onNEP11Payment"]
|
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
||||||
|
methods: ["update", "destroy"]
|
||||||
|
- methods: ["onNEP11Payment"]
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
name: "Oracle example"
|
name: "Oracle example"
|
||||||
supportedstandards: []
|
supportedstandards: []
|
||||||
events:
|
events:
|
||||||
|
permissions:
|
||||||
|
- methods: ["request"]
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
name: "Timer example"
|
name: "Timer example"
|
||||||
supportedstandards: []
|
supportedstandards: []
|
||||||
events: []
|
events: []
|
||||||
|
permissions:
|
||||||
|
- methods: '*'
|
||||||
|
|
|
@ -10,3 +10,5 @@ events:
|
||||||
type: Hash160
|
type: Hash160
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
|
permissions:
|
||||||
|
- methods: ["onNEP17Payment"]
|
||||||
|
|
Loading…
Reference in a new issue