diff --git a/neo-cli/CLI/MainService.NEP5.cs b/neo-cli/CLI/MainService.NEP17.cs similarity index 93% rename from neo-cli/CLI/MainService.NEP5.cs rename to neo-cli/CLI/MainService.NEP17.cs index 6801c7590..10eeadb0b 100644 --- a/neo-cli/CLI/MainService.NEP5.cs +++ b/neo-cli/CLI/MainService.NEP17.cs @@ -19,7 +19,7 @@ partial class MainService /// Ammount /// From /// Signer's accounts - [ConsoleCommand("transfer", Category = "NEP5 Commands")] + [ConsoleCommand("transfer", Category = "NEP17 Commands")] private void OnTransferCommand(UInt160 tokenHash, UInt160 to, decimal amount, string data = null, UInt160 from = null, UInt160[] signersAccounts = null) { var asset = new AssetDescriptor(tokenHash); @@ -64,7 +64,7 @@ private void OnTransferCommand(UInt160 tokenHash, UInt160 to, decimal amount, st /// /// Script hash /// Address - [ConsoleCommand("balanceOf", Category = "NEP5 Commands")] + [ConsoleCommand("balanceOf", Category = "NEP17 Commands")] private void OnBalanceOfCommand(UInt160 tokenHash, UInt160 address) { var arg = new JObject(); @@ -85,7 +85,7 @@ private void OnBalanceOfCommand(UInt160 tokenHash, UInt160 address) /// Process "name" command /// /// Script hash - [ConsoleCommand("name", Category = "NEP5 Commands")] + [ConsoleCommand("name", Category = "NEP17 Commands")] private void OnNameCommand(UInt160 tokenHash) { if (!OnInvokeWithResult(tokenHash, "name", out StackItem result, null)) return; @@ -97,7 +97,7 @@ private void OnNameCommand(UInt160 tokenHash) /// Process "decimals" command /// /// Script hash - [ConsoleCommand("decimals", Category = "NEP5 Commands")] + [ConsoleCommand("decimals", Category = "NEP17 Commands")] private void OnDecimalsCommand(UInt160 tokenHash) { if (!OnInvokeWithResult(tokenHash, "decimals", out StackItem result, null)) return;