Skip to content

Commit 3ac5ee7

Browse files
Merge pull request #9 from RemarkableTools/dev
Dev to main
2 parents 074f5ee + 4d02714 commit 3ac5ee7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Mx.NET.SDK.Core/Domain/ESDT.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ public class ESDT
1919

2020
public ESDT(string name, string identifier, string collection, string ticker, int decimalPrecision)
2121
{
22-
if (!_nameValidation.IsMatch(name))
23-
throw new ArgumentException("Length should be between 3 and 20 characters, alphanumeric characters only", nameof(name));
22+
//if (!_nameValidation.IsMatch(name))
23+
//throw new ArgumentException("Length should be between 3 and 20 characters, alphanumeric characters only", nameof(name));
2424
Name = name;
2525

2626
Identifier = identifier;
2727
Collection = collection;
2828

29-
if (!_tickerValidation.IsMatch(ticker))
30-
throw new ArgumentException("Length should be between 3 and 10 characters, alphanumeric UPPERCASE characters only", nameof(ticker));
29+
//if (!_tickerValidation.IsMatch(ticker))
30+
//throw new ArgumentException("Length should be between 3 and 10 characters, alphanumeric UPPERCASE characters only", nameof(ticker));
3131
Ticker = ticker;
3232

3333
if (decimalPrecision < 0 || decimalPrecision > 18)
@@ -47,7 +47,7 @@ public static ESDT EGLD()
4747

4848
public static ESDT ESDT_TOKEN(string esdtType, string name, string identifier, int decimalPrecision)
4949
{
50-
switch(esdtType)
50+
switch (esdtType)
5151
{
5252
case ESDTTokenType.FungibleESDT:
5353
return TOKEN(name, identifier, decimalPrecision);

src/Mx.NET.SDK.Core/Mx.NET.SDK.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<RepositoryUrl>https://github.com/RemarkableTools/Mx.NET.SDK/tree/main/src/Mx.NET.SDK.Core</RepositoryUrl>
1212
<RepositoryType>GitHub</RepositoryType>
1313
<Company>Remarkable Tools</Company>
14-
<Version>1.0.1</Version>
14+
<Version>1.0.2</Version>
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1616
<Title>RemarkableTools.Mx.Core</Title>
1717
<PackageReadmeFile>README.md</PackageReadmeFile>
@@ -20,7 +20,7 @@
2020
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
2121
<Copyright>Copyright © Remarkable Tools 2022</Copyright>
2222
<PackageIcon>RemarkableToolsPackage.jpg</PackageIcon>
23-
<PackageReleaseNotes>.NET SDK Release</PackageReleaseNotes>
23+
<PackageReleaseNotes>SDK updates and improvements</PackageReleaseNotes>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
2626
<WarningLevel>5</WarningLevel>

0 commit comments

Comments
 (0)