Load community funds balances from mainnet Gnosis Safe

This commit is contained in:
2020-08-13 00:27:40 +02:00
parent 52172ea065
commit dec71c6f4f
11 changed files with 375 additions and 24 deletions
@@ -0,0 +1,6 @@
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
export default class BudgetBalancesComponent extends Component {
@service communityFunds
}
@@ -0,0 +1,21 @@
<table>
<thead>
<tr>
<td>Token</td>
<td>Amount</td>
<td>Fiat value</td>
</tr>
</thead>
<tbody>
<tr>
<td>WBTC</td>
<td>{{this.communityFunds.balanceWBTC.balance}}</td>
<td>{{this.communityFunds.balanceWBTC.balanceUsd}} USD</td>
</tr>
<tr>
<td>ETH</td>
<td>{{this.communityFunds.balanceETH.balance}}</td>
<td>{{this.communityFunds.balanceETH.balanceUsd}} USD</td>
</tr>
</tbody>
</table>