diff --git a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx
index da7cd14fdf..a7f07be196 100644
--- a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx
+++ b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx
@@ -137,6 +137,20 @@ export const AccountBalancesCard = (props: IAccountBalancesCardProps) => {
Number(accountInfo.total_value.amount),
);
+ const operatorRewardsAllocation = getAllocation(
+ Number(accountInfo.operator_rewards?.amount || 0),
+ Number(accountInfo.total_value.amount),
+ );
+
+ const operatorRewardsNYM = getNymsFormated(
+ Number(accountInfo.operator_rewards?.amount || 0),
+ );
+
+ const operatorRewardsUSD = getPriceInUSD(
+ Number(accountInfo.operator_rewards?.amount || 0),
+ nymPriceData,
+ );
+
const claimableNYM = getNymsFormated(
Number(accountInfo.claimable_rewards.amount),
);
@@ -186,10 +200,10 @@ export const AccountBalancesCard = (props: IAccountBalancesCardProps) => {
],
},
{
- type: "Self bonded",
- allocation: 0,
- amount: 0,
- value: 0,
+ type: "Operator Rewards",
+ allocation: operatorRewardsAllocation,
+ amount: operatorRewardsNYM,
+ value: operatorRewardsUSD,
},
];
diff --git a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesTable.tsx b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesTable.tsx
index 33f140293f..d91b186917 100644
--- a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesTable.tsx
+++ b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesTable.tsx
@@ -97,7 +97,7 @@ const Row = (props: IAccontStatsRowProps) => {
}}
>
- {amount} NYM
+ {amount.toFixed(4)} NYM
{
width: "45%",
}}
>
- {amount} NYM
+ {amount.toFixed(4)} NYM
$ {value}
@@ -219,7 +219,7 @@ const Row = (props: IAccontStatsRowProps) => {
}}
>
- {historyRow.amount} NYM
+ {historyRow.amount.toFixed(4)} NYM
diff --git a/explorer-nextjs/src/components/accountPageComponents/AccountInfoCard.tsx b/explorer-nextjs/src/components/accountPageComponents/AccountInfoCard.tsx
index aab7ee18e6..a252ef1ba2 100644
--- a/explorer-nextjs/src/components/accountPageComponents/AccountInfoCard.tsx
+++ b/explorer-nextjs/src/components/accountPageComponents/AccountInfoCard.tsx
@@ -22,7 +22,7 @@ export const AccountInfoCard = (props: IAccountInfoCardProps) => {
if (isLoading) {
return (
-
+
@@ -34,7 +34,7 @@ export const AccountInfoCard = (props: IAccountInfoCardProps) => {
if (isError || !data) {
return (
-
+
Failed to account data.
@@ -44,14 +44,14 @@ export const AccountInfoCard = (props: IAccountInfoCardProps) => {
}
const balance =
- data.balances.length > 0 ? Number(data.balances[0].amount) / 1000000 : 0;
- const balanceFormated = `${balance} NYM`;
+ data.balances.length > 0 ? Number(data.total_value.amount) / 1000000 : 0;
+ const balanceFormated = `${balance.toFixed(4)} NYM`;
return (
diff --git a/explorer-nextjs/src/components/footer/index.tsx b/explorer-nextjs/src/components/footer/index.tsx
index 1460c5cdc2..c671c71f8a 100644
--- a/explorer-nextjs/src/components/footer/index.tsx
+++ b/explorer-nextjs/src/components/footer/index.tsx
@@ -14,7 +14,8 @@ import { FooterLinks } from "./footer-links";
export async function Footer() {
const locale = "en";
const footerData = await getFooter(locale);
- const legalContent1 = footerData?.attributes?.legalContent1 || false;
+ const legalContent1 =
+ "Nym Noise Generating Mixnet Explorer, V 2.1.0 Public Beta release.";
const legalContent2 = footerData?.attributes?.legalContent2 || false;
const footerLinkBlocks = footerData?.attributes?.linkBlocks || [];
@@ -26,19 +27,9 @@ export async function Footer() {
title: "nym.com Privacy statement",
url: "https://nym.com/nym-com-privacy-statement",
},
- { id: 3, title: "NymVPN Terms of use", url: "https://nym.com/vpn-terms" },
+ { id: 3, title: "Nym Docs", url: "https://nym.com/docs" },
{
id: 4,
- title: "NymVPN referrals Terms",
- url: "https://nym.com/referrals-terms-and-conditions",
- },
- {
- id: 5,
- title: "NymVPN apps Privacy statement",
- url: "https://nym.com/vpn-privacy-statement",
- },
- {
- id: 6,
title: "Nym Operators and Validators Terms",
url: "https://nym.com/operators-validators-terms",
},
diff --git a/explorer-nextjs/src/components/landingPageComponents/TokenomicsCard.tsx b/explorer-nextjs/src/components/landingPageComponents/TokenomicsCard.tsx
index 62174e8183..4a7cab17e4 100644
--- a/explorer-nextjs/src/components/landingPageComponents/TokenomicsCard.tsx
+++ b/explorer-nextjs/src/components/landingPageComponents/TokenomicsCard.tsx
@@ -66,7 +66,7 @@ export const TokenomicsCard = () => {
}
const nymPriceData: NymTokenomics = nymPrice;
- const nymPriceDataFormated = Number(nymPriceData.quotes.USD.price.toFixed(2));
+ const nymPriceDataFormated = Number(nymPriceData.quotes.USD.price.toFixed(4));
const titlePrice = {
price: nymPriceDataFormated,