Added Logic types for bitcoin hotwallet
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Basic.Types.Financial;
|
||||
|
||||
namespace Swarmops.Logic.Financial
|
||||
{
|
||||
public class HotBitcoinAddress: BasicHotBitcoinAddress
|
||||
{
|
||||
private HotBitcoinAddress(BasicHotBitcoinAddress basic): base (basic)
|
||||
{
|
||||
// private ctor
|
||||
}
|
||||
|
||||
public static HotBitcoinAddress FromBasic (BasicHotBitcoinAddress basic)
|
||||
{
|
||||
return new HotBitcoinAddress (basic); // invoke private ctor
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Basic.Types.Financial;
|
||||
|
||||
namespace Swarmops.Logic.Financial
|
||||
{
|
||||
public class HotBitcoinAddressUnspent: BasicHotBitcoinAddressUnspent
|
||||
{
|
||||
private HotBitcoinAddressUnspent (BasicHotBitcoinAddressUnspent basic): base (basic)
|
||||
{
|
||||
// private ctor
|
||||
}
|
||||
|
||||
public static HotBitcoinAddressUnspent FromBasic (BasicHotBitcoinAddressUnspent basic)
|
||||
{
|
||||
return new HotBitcoinAddressUnspent (basic);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Basic.Types.Financial;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Swarmops.Logic.Financial
|
||||
{
|
||||
public class HotBitcoinAddressUnspents: PluralBase<HotBitcoinAddressUnspents, HotBitcoinAddressUnspent, BasicHotBitcoinAddressUnspent>
|
||||
{
|
||||
// unfilled for now
|
||||
}
|
||||
}
|
||||
@@ -119,6 +119,9 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Financial\BitcoinUtility.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddress.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddressUnspent.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddressUnspents.cs" />
|
||||
<Compile Include="Financial\IPayable.cs" />
|
||||
<Compile Include="Resources\Logic.Financial.FinancialAccount.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
|
||||
Reference in New Issue
Block a user