Skip to content

Commit ad4265f

Browse files
author
陈志同
committed
rename
1 parent ea9cffc commit ad4265f

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

NeoContract.sln

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.27703.2035
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SGAS", "NeoContract\SGAS.csproj", "{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CGAS", "NeoContract\CGAS.csproj", "{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools", "Tools\Tools.csproj", "{A4F2D281-A2E9-4950-AA18-098BF614FD6C}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "SGAS.UnitTests\UnitTests.csproj", "{5C287CB0-FC56-482A-8C91-DB83B60C9B70}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SGAS.UnitTests", "SGAS.UnitTests\SGAS.UnitTests.csproj", "{5C287CB0-FC56-482A-8C91-DB83B60C9B70}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools", "Tools\Tools.csproj", "{A4F2D281-A2E9-4950-AA18-098BF614FD6C}"
1111
EndProject
1212
Global
1313
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -19,14 +19,14 @@ Global
1919
{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}.Debug|Any CPU.Build.0 = Debug|Any CPU
2020
{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}.Release|Any CPU.ActiveCfg = Release|Any CPU
2121
{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}.Release|Any CPU.Build.0 = Release|Any CPU
22-
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23-
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
24-
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
25-
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Release|Any CPU.Build.0 = Release|Any CPU
2622
{5C287CB0-FC56-482A-8C91-DB83B60C9B70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2723
{5C287CB0-FC56-482A-8C91-DB83B60C9B70}.Debug|Any CPU.Build.0 = Debug|Any CPU
2824
{5C287CB0-FC56-482A-8C91-DB83B60C9B70}.Release|Any CPU.ActiveCfg = Release|Any CPU
2925
{5C287CB0-FC56-482A-8C91-DB83B60C9B70}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{A4F2D281-A2E9-4950-AA18-098BF614FD6C}.Release|Any CPU.Build.0 = Release|Any CPU
3030
EndGlobalSection
3131
GlobalSection(SolutionProperties) = preSolution
3232
HideSolutionNode = FALSE

NeoContract/SGAS.cs renamed to NeoContract/CGAS.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using System.Numerics;
77
using System;
88

9-
namespace SGAS
9+
namespace CGAS
1010
{
11-
public class SGAS : SmartContract
11+
public class CGAS : SmartContract
1212
{
1313
[DisplayName("transfer")]
1414
public static event deleTransfer Transferred;

NeoContract/SGAS.csproj renamed to NeoContract/CGAS.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<ProjectGuid>{15DFB6B6-A57D-4A26-A5B7-EA1B2D102E20}</ProjectGuid>
99
<OutputType>Library</OutputType>
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>SGAS</RootNamespace>
12-
<AssemblyName>SGAS</AssemblyName>
11+
<RootNamespace>CGAS</RootNamespace>
12+
<AssemblyName>CGAS</AssemblyName>
1313
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
</PropertyGroup>
@@ -46,7 +46,7 @@
4646
<Reference Include="System.Xml" />
4747
</ItemGroup>
4848
<ItemGroup>
49-
<Compile Include="SGAS.cs" />
49+
<Compile Include="CGAS.cs" />
5050
<Compile Include="Properties\AssemblyInfo.cs" />
5151
<Compile Include="TransferInfo.cs" />
5252
</ItemGroup>

NeoContract/TransferInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Numerics;
22

3-
namespace SGAS
3+
namespace CGAS
44
{
55
public class TransferInfo
66
{

SGAS.UnitTests/SGASTest.cs renamed to SGAS.UnitTests/CGASTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
using System.Text;
1212
using System.Threading.Tasks;
1313

14-
namespace NeoContract.UnitTests
14+
namespace UnitTests
1515
{
16-
public static class SGASTest
16+
public static class CGASTest
1717
{
1818
static readonly UInt160 SgasAddress = Wallet.ToScriptHash("AJk6Ugmz2bJGhoye9EAnssvvLghf6YmptA");
1919
static readonly UInt160 ScriptHash = new UInt160("0x3cfb49c6eb5360440bdd226528ada99e8d419220".Remove(0, 2).HexToBytes().Reverse().ToArray());

SGAS.UnitTests/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Neo.Wallets;
1313
using VMArray = Neo.VM.Types.Array;
1414

15-
namespace NeoContract.UnitTests
15+
namespace UnitTests
1616
{
1717
class Program
1818
{
@@ -22,7 +22,7 @@ static void Main(string[] args)
2222
//Path of blockchain folder
2323
Blockchain.RegisterBlockchain(new LevelDBBlockchain("C:\\Users\\chenz\\Desktop\\PrivateNet\\neo-gui 2.7.6\\Chain_0001142D"));
2424

25-
SGASTest.MintTokens();
25+
CGASTest.MintTokens();
2626
//SGASTest.Refund();
2727
//SGASTest.Verify();
2828

SGAS.UnitTests/SGAS.UnitTests.csproj renamed to SGAS.UnitTests/UnitTests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{5C287CB0-FC56-482A-8C91-DB83B60C9B70}</ProjectGuid>
88
<OutputType>Exe</OutputType>
9-
<RootNamespace>SGAS.UnitTests</RootNamespace>
10-
<AssemblyName>SGAS.UnitTests</AssemblyName>
9+
<RootNamespace>UnitTests</RootNamespace>
10+
<AssemblyName>UnitTests</AssemblyName>
1111
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -222,7 +222,7 @@
222222
<ItemGroup>
223223
<Compile Include="Program.cs" />
224224
<Compile Include="Properties\AssemblyInfo.cs" />
225-
<Compile Include="SGASTest.cs" />
225+
<Compile Include="CGASTest.cs" />
226226
</ItemGroup>
227227
<ItemGroup>
228228
<None Include="App.config" />

0 commit comments

Comments
 (0)