diff --git a/nep-5.mediawiki b/nep-5.mediawiki index 03d78b26..c1c43ca9 100755 --- a/nep-5.mediawiki +++ b/nep-5.mediawiki @@ -1,7 +1,7 @@
NEP: 5 Title: Token Standard - Author: Tyler Adams, luodanwg , tanyuan , Alan Fong + Author: Tyler Adams , luodanwg , tanyuan , Alan Fong , Jaime Kindelán Type: Standard Status: Final Created: 2017-08-10 @@ -93,6 +93,12 @@ If the to
address is a deployed contract, the function SHOULD check If the transfer is not processed, the function SHOULD returnfalse
. +The function MUST callonPayment
method AFTER fire theTransfer
event if the receiver is a deployed contract. If the receiver doesn't want to receive this transfer it MUST callABORT
. + ++public static void onPayment(BigInteger amount) ++ ===Events=== ====transfer====