| 
									
										
										
										
											2022-09-17 01:20:08 +00:00
										 |  |  | <div | 
					
						
							|  |  |  |   #tooltip | 
					
						
							|  |  |  |   *ngIf="line" | 
					
						
							|  |  |  |   class="bowtie-graph-tooltip" | 
					
						
							|  |  |  |   [style.visibility]="line ? 'visible' : 'hidden'" | 
					
						
							|  |  |  |   [style.left]="tooltipPosition.x + 'px'" | 
					
						
							|  |  |  |   [style.top]="tooltipPosition.y + 'px'" | 
					
						
							|  |  |  | > | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |   <ng-container *ngIf="line.rest; else coinbase"> | 
					
						
							| 
									
										
										
										
											2022-09-17 01:20:08 +00:00
										 |  |  |     <span>{{ line.rest }} </span> | 
					
						
							|  |  |  |     <ng-container [ngSwitch]="line.type"> | 
					
						
							|  |  |  |       <span *ngSwitchCase="'input'" i18n="transaction.other-inputs">other inputs</span> | 
					
						
							|  |  |  |       <span *ngSwitchCase="'output'" i18n="transaction.other-outputs">other outputs</span> | 
					
						
							|  |  |  |     </ng-container> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |   </ng-container> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <ng-template #coinbase> | 
					
						
							|  |  |  |     <ng-container *ngIf="line.coinbase; else pegin"> | 
					
						
							| 
									
										
										
										
											2023-11-25 17:49:37 +09:00
										 |  |  |       <p i18n="transactions-list.coinbase">Coinbase</p> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |     </ng-container> | 
					
						
							|  |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <ng-template #pegin> | 
					
						
							|  |  |  |     <ng-container *ngIf="line.pegin; else pegout"> | 
					
						
							| 
									
										
										
										
											2022-11-22 10:05:14 +09:00
										 |  |  |       <p *ngIf="!isConnector">Peg In</p> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |     </ng-container> | 
					
						
							|  |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <ng-template #pegout> | 
					
						
							|  |  |  |     <ng-container *ngIf="line.pegout; else normal"> | 
					
						
							| 
									
										
										
										
											2022-11-22 10:05:14 +09:00
										 |  |  |       <p *ngIf="!isConnector">Peg Out</p> | 
					
						
							| 
									
										
										
										
											2023-03-29 07:41:45 +09:00
										 |  |  |       <p *ngIf="line.displayValue != null"><app-amount [satoshis]="line.displayValue"></app-amount></p> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |       <p class="address"> | 
					
						
							| 
									
										
										
										
											2023-01-05 11:01:46 -06:00
										 |  |  |         <app-truncate [text]="line.pegout"></app-truncate> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |       </p> | 
					
						
							|  |  |  |     </ng-container> | 
					
						
							| 
									
										
										
										
											2022-09-17 01:20:08 +00:00
										 |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |   <ng-template #normal> | 
					
						
							| 
									
										
										
										
											2022-11-22 10:05:14 +09:00
										 |  |  |       <p *ngIf="!isConnector"> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |         <ng-container [ngSwitch]="line.type"> | 
					
						
							|  |  |  |           <span *ngSwitchCase="'input'" i18n="transaction.input">Input</span> | 
					
						
							|  |  |  |           <span *ngSwitchCase="'output'" i18n="transaction.output">Output</span> | 
					
						
							| 
									
										
										
										
											2022-10-13 17:15:17 +04:00
										 |  |  |           <span *ngSwitchCase="'fee'" i18n="transaction.fee|Transaction fee">Fee</span> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |         </ng-container> | 
					
						
							| 
									
										
										
										
											2022-10-04 21:00:46 +00:00
										 |  |  |         <span *ngIf="line.type !== 'fee'"> #{{ line.index + 1 }}</span> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |       </p> | 
					
						
							| 
									
										
										
										
											2022-11-22 10:05:14 +09:00
										 |  |  |       <ng-container *ngIf="isConnector && line.txid"> | 
					
						
							|  |  |  |         <p> | 
					
						
							|  |  |  |           <span i18n="transaction">Transaction</span>  | 
					
						
							| 
									
										
										
										
											2023-01-05 11:01:46 -06:00
										 |  |  |           <app-truncate [text]="line.txid"></app-truncate> | 
					
						
							| 
									
										
										
										
											2022-11-22 10:05:14 +09:00
										 |  |  |         </p> | 
					
						
							|  |  |  |           <ng-container [ngSwitch]="line.type"> | 
					
						
							|  |  |  |             <p *ngSwitchCase="'input'"><span i18n="transaction.output">Output</span>  #{{ line.vout + 1 }}</p> | 
					
						
							|  |  |  |             <p *ngSwitchCase="'output'"><span i18n="transaction.input">Input</span>  #{{ line.vin + 1 }}</p> | 
					
						
							|  |  |  |           </ng-container> | 
					
						
							|  |  |  |       </ng-container> | 
					
						
							| 
									
										
										
										
											2023-03-29 07:41:45 +09:00
										 |  |  |       <p *ngIf="line.displayValue == null && line.confidential" i18n="shared.confidential">Confidential</p> | 
					
						
							|  |  |  |       <p *ngIf="line.displayValue != null"> | 
					
						
							| 
									
										
										
										
											2023-03-12 17:36:45 +09:00
										 |  |  |         <ng-template [ngIf]="line.asset && line.asset !== nativeAssetId" [ngIfElse]="defaultOutput"> | 
					
						
							|  |  |  |           <div *ngIf="assetsMinimal && assetsMinimal[line.asset] else assetNotFound"> | 
					
						
							|  |  |  |             <ng-container *ngTemplateOutlet="assetBox; context:{ $implicit: line }"></ng-container> | 
					
						
							|  |  |  |           </div> | 
					
						
							|  |  |  |           <ng-template #assetNotFound> | 
					
						
							| 
									
										
										
										
											2023-03-29 07:41:45 +09:00
										 |  |  |             {{ line.displayValue }} <span class="symbol">{{ line.asset | slice : 0 : 7 }}</span> | 
					
						
							| 
									
										
										
										
											2023-03-12 17:36:45 +09:00
										 |  |  |           </ng-template> | 
					
						
							|  |  |  |         </ng-template> | 
					
						
							|  |  |  |         <ng-template #defaultOutput> | 
					
						
							| 
									
										
										
										
											2023-03-29 07:41:45 +09:00
										 |  |  |           <app-amount [blockConversion]="blockConversion" [satoshis]="line.displayValue"></app-amount> | 
					
						
							| 
									
										
										
										
											2023-03-12 17:36:45 +09:00
										 |  |  |         </ng-template> | 
					
						
							|  |  |  |       </p> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |       <p *ngIf="line.type !== 'fee' && line.address" class="address"> | 
					
						
							| 
									
										
										
										
											2023-01-05 11:01:46 -06:00
										 |  |  |         <app-truncate [text]="line.address"></app-truncate> | 
					
						
							| 
									
										
										
										
											2022-09-17 17:23:44 +00:00
										 |  |  |       </p> | 
					
						
							|  |  |  |   </ng-template> | 
					
						
							| 
									
										
										
										
											2022-09-17 01:20:08 +00:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2023-03-12 17:36:45 +09:00
										 |  |  | 
 | 
					
						
							|  |  |  | <ng-template #assetBox let-item> | 
					
						
							| 
									
										
										
										
											2023-03-29 07:41:45 +09:00
										 |  |  |   {{ item.displayValue / pow(10, assetsMinimal[item.asset][3]) | number: '1.' + assetsMinimal[item.asset][3] + '-' + assetsMinimal[item.asset][3] }} <span class="symbol">{{ assetsMinimal[item.asset][1] }}</span> | 
					
						
							| 
									
										
										
										
											2023-03-12 17:36:45 +09:00
										 |  |  | </ng-template> |