+ @foreach (var project in projects)
+ {
+ Stats.TryGetValue(project.ProjectInfo.ProjectIdentifier, out var stats);
+ var nostrPubKey = project.ProjectInfo.NostrPubKey;
+ investmentRequestsMap.TryGetValue(nostrPubKey, out bool hasInvestmentRequests);
- @foreach (var project in projects)
- {
- Stats.TryGetValue(project.ProjectInfo.ProjectIdentifier, out var stats);
- var nostrPubKey = project.ProjectInfo.NostrPubKey;
- investmentRequestsMap.TryGetValue(nostrPubKey, out bool hasInvestmentRequests);
-
-
-
- @project.Metadata?.Name
- |
- @project.ProjectInfo.TargetAmount @network.CoinTicker |
- @Money.Satoshis(stats?.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker |
- @((stats?.AmountInvested ?? 0) * 100 / Money.Coins(project.ProjectInfo.TargetAmount).Satoshi) % |
-
- @if (project.ProjectInfo.StartDate < DateTime.UtcNow)
- {
- Funding
- }
- else
- {
- Live
- }
- |
-
- @Money.Satoshis(project.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker
- @if (!project.SignaturesInfo?.Signatures.Any() ?? false)
- {
-
- }
- |
- - |
- - |
- @Money.Satoshis(project.AmountInRecovery ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker |
-
- @if (hasInvestmentRequests)
- {
- Approved
- }
-
- |
-
- }
+
+
+ @project.Metadata?.Name
+ |
+ @project.ProjectInfo.TargetAmount @network.CoinTicker |
+ @Money.Satoshis(stats?.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker |
+ @((stats?.AmountInvested ?? 0) * 100 / Money.Coins(project.ProjectInfo.TargetAmount).Satoshi) % |
+
+ @if (project.ProjectInfo.StartDate < DateTime.UtcNow)
+ {
+ Funding
+ }
+ else
+ {
+ Live
+ }
+ |
+
+ @Money.Satoshis(project.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker
+ @if (!project.SignaturesInfo?.Signatures.Any() ?? false)
+ {
+
+ }
+ |
+ - |
+ - |
+ @Money.Satoshis(project.AmountInRecovery ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker |
+
+ @if (hasInvestmentRequests)
+ {
+ Approved
+ }
+ else
+ {
+ Pending
+ }
+ |
+
+ }