Skip to content

Commit

Permalink
Smart Contract balance (#54)
Browse files Browse the repository at this point in the history
* Display the sc balance

* fix change
  • Loading branch information
dangershony authored May 4, 2022
1 parent 3de2af6 commit daaeeff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ <h3><i class="fas fa-receipt"></i>&nbsp;&nbsp;Smart Contract Details</h3>
<span>Amount</span>
<span>{{transaction.amount | amount}}</span>
</div>
<div>
<span>Contract Balance</span>
<span>{{transaction.contractBalance | amount}}</span>
</div>
<div>
<span>From Address</span>
<span>{{transaction.fromAddress}}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ <h3><i class="fas fa-receipt"></i>&nbsp;&nbsp;Smart Contract Transaction Details
<span>Amount</span>
<span>{{transaction.amount | amount}}</span>
</div>
<div>
<span>Contract Balance</span>
<span>{{transaction.contractBalance | amount}}</span>
</div>
<div *ngIf="transaction.newContractAddress">
<span>From Address</span>
<span><a [routerLink]="['../../contract-address', transaction.newContractAddress, transaction.fromAddress ]">{{transaction.fromAddress}}</a></span>
Expand Down

0 comments on commit daaeeff

Please sign in to comment.