File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
src/Neo.SmartContract.Framework/Interfaces
tests/Neo.SmartContract.Framework.TestContracts Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 33namespace Neo . SmartContract . Framework . Interfaces ;
44
55/// <summary>
6- /// Interface of method that indicate a contract receive NEP-11 Payment
6+ /// Interface of method that indicate a contract receives NEP-11 Payment
77/// </summary>
8- public interface INep11Payment
8+ public interface INep11Payable
99{
1010 /// <summary>
11- /// NonFungibleToken contracts should implement the <see cref="OnNEP11Payment"/> method
12- /// to receive assets and modify the Manifest file to trust the received asset contract .
11+ /// Contracts should implement the <see cref="OnNEP11Payment"/> method
12+ /// to receive NFT (NEP11) tokens .
1313 /// </summary>
1414 /// <param name="from">The address of the payer</param>
1515 /// <param name="amount">The amount of token to be transferred</param>
Original file line number Diff line number Diff line change 33namespace Neo . SmartContract . Framework . Interfaces ;
44
55/// <summary>
6- /// Interface of method that indicate a contract receive NEP-17 Payment
6+ /// Interface of method that indicate a contract receives NEP-17 Payment
77/// </summary>
8- public interface INep17Payment
8+ public interface INep17Payable
99{
1010 /// <summary>
11- /// The Token contract should implement the <see cref="OnNEP17Payment"/> method
12- /// to receive assets and modify the Manifest file to trust the received asset contract .
11+ /// The contract should implement the <see cref="OnNEP17Payment"/> method
12+ /// to receive NEP17 tokens .
1313 /// </summary>
1414 /// <param name="from">The address of the payer</param>
1515 /// <param name="amount">The amount of token to be transferred</param>
Original file line number Diff line number Diff line change 55namespace Neo . SmartContract . Framework . UnitTests . TestClasses
66{
77 [ SupportedStandards ( NEPStandard . NEP11 ) ]
8- public class Contract_SupportedStandard11Enum : Nep11Token < Nep11TokenState > , INep11Payment
8+ public class Contract_SupportedStandard11Enum : Nep11Token < Nep11TokenState > , INep11Payable
99 {
1010 public static bool TestStandard ( )
1111 {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace Neo.SmartContract.Framework.UnitTests.TestClasses
1313 [ ContractSourceCode ( "https://github.com/neo-project/neo-devpack-dotnet/tree/master/src/Neo.SmartContract.Template" ) ]
1414 [ ContractPermission ( "*" , "*" ) ]
1515 [ SupportedStandards ( NEPStandard . NEP17 ) ]
16- public class Contract_SupportedStandard17Enum : Nep17Token , INep17Payment
16+ public class Contract_SupportedStandard17Enum : Nep17Token , INep17Payable
1717 {
1818 public override string Symbol { [ Safe ] get ; }
1919 public override byte Decimals { [ Safe ] get ; }
You can’t perform that action at this time.
0 commit comments