diff --git a/examples/nft-nd-nns/nns.yml b/examples/nft-nd-nns/nns.yml index 1071e15b0..01e89b72b 100644 --- a/examples/nft-nd-nns/nns.yml +++ b/examples/nft-nd-nns/nns.yml @@ -14,4 +14,6 @@ events: - name: tokenId type: ByteArray permissions: + - hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd + methods: ["update"] - methods: ["onNEP11Payment"] diff --git a/examples/nft-nd/nft.yml b/examples/nft-nd/nft.yml index c7b3a00b8..d56844578 100644 --- a/examples/nft-nd/nft.yml +++ b/examples/nft-nd/nft.yml @@ -13,4 +13,6 @@ events: - name: tokenId type: ByteArray permissions: - - methods: ["onNEP11Payment"] \ No newline at end of file + - hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd + methods: ["update", "destroy"] + - methods: ["onNEP11Payment"] diff --git a/examples/oracle/oracle.yml b/examples/oracle/oracle.yml index 6e67ec888..4554d6e67 100644 --- a/examples/oracle/oracle.yml +++ b/examples/oracle/oracle.yml @@ -1,3 +1,5 @@ name: "Oracle example" supportedstandards: [] events: +permissions: + - methods: ["request"] diff --git a/examples/timer/timer.yml b/examples/timer/timer.yml index 5e6cbed6b..13d2daad7 100644 --- a/examples/timer/timer.yml +++ b/examples/timer/timer.yml @@ -1,3 +1,5 @@ name: "Timer example" supportedstandards: [] events: [] +permissions: + - methods: '*' diff --git a/examples/token/token.yml b/examples/token/token.yml index 071976019..8c7b3d005 100644 --- a/examples/token/token.yml +++ b/examples/token/token.yml @@ -10,3 +10,5 @@ events: type: Hash160 - name: amount type: Integer +permissions: + - methods: ["onNEP17Payment"]