From 0c6aed3dbaca5738b87d6b3eb02d3c8ebed6f220 Mon Sep 17 00:00:00 2001
From: superboyiii <573504781@qq.com>
Date: Wed, 21 Apr 2021 18:59:05 +0800
Subject: [PATCH] Fix and remove event
---
nep-19.mediawiki | 55 +-----------------------------------------------
1 file changed, 1 insertion(+), 54 deletions(-)
diff --git a/nep-19.mediawiki b/nep-19.mediawiki
index 9d728b84..f31b37e0 100644
--- a/nep-19.mediawiki
+++ b/nep-19.mediawiki
@@ -55,8 +55,6 @@ The parameter data
can be any type of supported parameters for addi
The function SHOULD check whether the signer
address equals the owner
hash of contract. The function SHOULD use the SYSCALL Neo.Runtime.CheckWitness
to verify the signer
.
-At the end of this function MUST trigger an InitialDeploy
event to show success state if it's executed successfully.
-
====update====
@@ -97,57 +95,6 @@ The function SHOULD check whether thesigner
address equals the- This function can delete all the storage of this contract. -At the end of this function MUST trigger a destroy
event to show success state if it's executed successfully. - -===Events=== - -====InitialDeploy==== - --{ - "name": "InitialDeploy", - "parameters": [ - { - "name": "success", - "type": "Boolean" - } - ] -} -- -MUST trigger anInitialDeploy
event at the end of_deploy
method and set it to betrue
. - -====Update==== - --{ - "name": "Update", - "parameters": [ - { - "name": "success", - "type": "Boolean" - } - ] -} -- -MUST trigger aUpdate
event at the end ofupdate
method and set it to betrue
. - -====Destroy==== - --{ - "name": "Destroy", - "parameters": [ - { - "name": "success", - "type": "Boolean" - } - ] -} -- -MUST trigger aDestroy
event at the end ofdestroy
method and set it to betrue
. +The function SHOULD check whether thesigner
address equals theowner
hash of contract. The function SHOULD use the SYSCALLNeo.Runtime.CheckWitness
to verify thesigner
. \ No newline at end of file