Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/common/src/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const STADER_POOL_FEE_RECIPIENT_MAINNET = "0x9d4C3166c59412CEdBe7d901f5fD

export const STADER_POOL_FEE_RECIPIENT_PRATER = "0x34E8Fac4962AF984d6040cec240d1d12eFfac14E" as const;

export const MEV_SP_ADDRESS_PRATER = "0xF21fbbA423f3a893A2402d68240B219308AbCA46" as const;
export const MEV_SP_ADDRESS_HOODI = "0x9CDcc499D53Be0ADb5056355Be774828a593F267" as const;

export const MEV_SP_ADDRESS_MAINNET = "0xAdFb8D27671F14f297eE94135e266aAFf8752e35" as const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ export default function KeystoresDataGrid({
headerClassName: "tableHeader",
width: 360
},
// Only render Smooth column if mevSpFeeRecipient is not null (mainnet or prater)
...(mevSpFeeRecipient != null && (network === "mainnet" || network === "prater")
// Only render Smooth column if mevSpFeeRecipient is not null (mainnet or hoodi)
...(mevSpFeeRecipient != null && (network === "mainnet" || network === "hoodi")
? [
{
field: "spSubscription",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function ValidatorList({
alignItems: "left"
}}
>
{(network === "prater" || network === "mainnet") && <SmoothBanner />}
{(network === "hoodi" || network === "mainnet") && <SmoothBanner />}

<Card
sx={{
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export interface AppParams {
}

export const getSmoothUrlByNetwork = (network: Network): string => {
if (network == "prater") {
return "https://smooth-goerli.dappnode.io/";
if (network == "hoodi") {
return "https://smooth-hoodi.dappnode.io/";
} else if (network == "mainnet") {
return "https://smooth.dappnode.io/";
} else {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/utils/addresses.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { MEV_SP_ADDRESS_MAINNET, MEV_SP_ADDRESS_PRATER, Network } from "@stakingbrain/common";
import { MEV_SP_ADDRESS_MAINNET, MEV_SP_ADDRESS_HOODI, Network } from "@stakingbrain/common";

// if not in a network that has a Smooth, return null
export const getSmoothAddressByNetwork = (network: Network) => {
if (network == "prater") {
return MEV_SP_ADDRESS_PRATER;
return MEV_SP_ADDRESS_HOODI;
} else if (network == "mainnet") {
return MEV_SP_ADDRESS_MAINNET;
} else {
Expand Down