2
0
mirror of synced 2025-01-29 01:36:16 +00:00

21 lines
489 B
C#

namespace BiblioTech
{
public class Transaction<T>
{
public Transaction(T tokenAmount, string transactionHash)
{
TokenAmount = tokenAmount;
TransactionHash = transactionHash;
}
public T TokenAmount { get; }
public string TransactionHash { get; }
public override string ToString()
{
if (TokenAmount == null) return "NULL";
return TokenAmount.ToString()!;
}
}
}