Skip to content

Commit

Permalink
fix: Change urls from fetchub to mintscan (#338)
Browse files Browse the repository at this point in the history
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: agent-dominatrix <[email protected]>
  • Loading branch information
3 people authored Nov 20, 2023
1 parent 81e0245 commit 97e018d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/fetch-extension/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const EmbedChainInfos: ChainInfo[] = [
],
features: ["cosmwasm"],
walletUrlForStaking: "https://browse-fetchhub.fetch.ai/validators",
govUrl: "https://fetchstation.azoyalabs.com/mainnet/governance/",
govUrl: "https://www.mintscan.io/fetchai/proposals/",
},
{
rpc: "https://mainnet.infura.io/v3/f40158f0c03842f5a18e409ffe09192c",
Expand Down Expand Up @@ -2695,7 +2695,7 @@ export const EmbedChainInfos: ChainInfo[] = [
],
features: ["cosmwasm"],
walletUrlForStaking: "https://browse-dorado.fetch.ai/validators",
govUrl: "https://fetchstation.azoyalabs.com/dorado/governance/",
govUrl: "https://explore-dorado.fetch.ai/proposals/",
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export const ActivityRow = ({ node }: { node: any }) => {
const { status, id } = node.transaction;
return (
<a
href={
"https://fetchstation.azoyalabs.com/mainnet/explorer/transactions/" + id
}
href={`https://www.mintscan.io/fetchai/tx/${id}`}
target="_blank"
rel="noreferrer"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,7 @@ export const ActivityRow = ({ node }: { node: any }) => {
const { typeUrl } = node.transaction.messages.nodes[0];
return (
<a
href={
"https://fetchstation.azoyalabs.com/mainnet/explorer/transactions/" +
node.transaction.id
}
href={`https://www.mintscan.io/fetchai/tx/${node.transaction.id}`}
target="_blank"
rel="noreferrer"
>
Expand Down
3 changes: 1 addition & 2 deletions packages/fetch-extension/src/pages/bridge/bridge-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export const proposalOptions = {
ProposalFailed: "PROPOSAL_STATUS_FAILED",
};

const FETCHSTATION_TXN_URL =
"https://fetchstation.azoyalabs.com/mainnet/explorer/transactions/";
const FETCHSTATION_TXN_URL = "https://www.mintscan.io/fetchai/tx/";
const ETHERSCAN_TXN_URL = "https://etherscan.io/tx/";

export const BridgeHistoryView: FunctionComponent = observer(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { CHAIN_ID_DORADO, CHAIN_ID_FETCHHUB } from "../../../config.ui.var";
import styleValidators from "./validators.module.scss";

export const URL: { [key in string]: string } = {
[CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators",
[CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators",
[CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators",
[CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators",
};

export const MyValidatorCard = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { CHAIN_ID_DORADO, CHAIN_ID_FETCHHUB } from "../../../config.ui.var";
import { CoinPretty } from "@keplr-wallet/unit";

export const URL: { [key in string]: string } = {
[CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators",
[CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators",
[CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators",
[CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators",
};

export const ValidatorCard = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { useNavigate } from "react-router";
import { useNotification } from "@components/notification";

export const URL: { [key in string]: string } = {
[CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators",
[CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators",
[CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators",
[CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators",
};

export const ValidatorDetails = ({
Expand Down

0 comments on commit 97e018d

Please sign in to comment.