Skip to content

Commit

Permalink
SOV-2105: add mynt aggregator contract tvl (#2513)
Browse files Browse the repository at this point in the history
feat: add mynt aggregator contract tvl
  • Loading branch information
creed-victor authored Apr 4, 2023
1 parent 7cae806 commit 0c4c993
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/containers/StatsPage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export type TvlData = {
totalBtc: number;
totalUsd: number;
};
tvlMynt: {
totalBtc: number;
totalUsd: number;
};
total_btc: number;
total_usd: number;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export const TotalValueLocked: React.FC<ITotalValueLockedProps> = ({
btcValue: data?.tvlSubprotocols?.totalBtc || 0,
usdValue: data?.tvlSubprotocols?.totalUsd || 0,
},
{
contract: t(translations.landingPage.tvl.myntAggregator),
btcValue: data?.tvlMynt?.totalBtc || 0,
usdValue: data?.tvlMynt?.totalUsd || 0,
},
],
[data, t],
);
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2656,6 +2656,7 @@
"zero": "Zero Contracts",
"staked": "Bitocracy Staking Contract",
"subProtocol": "MYNT Bonding Curve Contract",
"myntAggregator": "MYNT Aggregator Contract",
"subtotal": "Sub total",
"total": "Total"
},
Expand Down

0 comments on commit 0c4c993

Please sign in to comment.