bridge_ui: remove oasis from beta

This commit is contained in:
Evan Gray 2022-01-07 16:21:22 +00:00 committed by Evan Gray
parent cb7e90a701
commit 26b848d375
4 changed files with 11 additions and 13 deletions

View File

@ -151,7 +151,8 @@ function Home() {
</Typography>
<Typography variant="h6" className={classes.description}>
The Wormhole Token Bridge allows you to seamlessly transfer
tokenized assets across Solana, Ethereum, BSC, Terra, and Polygon.
tokenized assets across Solana, Ethereum, BSC, Terra, Polygon,
Avalanche, and Oasis.
</Typography>
<div className={classes.spacer} />
<Typography variant="subtitle1" className={classes.description}>

View File

@ -58,7 +58,9 @@ export default function ShowTx({
tx?.id
}`
: chainId === CHAIN_ID_OASIS
? undefined
? `https://explorer.${
CLUSTER === "testnet" ? "testnet." : ""
}oasis.updev.si/tx/${tx?.id}`
: chainId === CHAIN_ID_SOLANA
? `https://explorer.solana.com/tx/${tx?.id}${
CLUSTER === "testnet"

View File

@ -117,7 +117,9 @@ export default function SmartAddress({
CLUSTER === "testnet" ? "testnet." : ""
}snowtrace.io/address/${useableAddress}`
: chainId === CHAIN_ID_OASIS
? null
? `https://explorer.${
CLUSTER === "testnet" ? "testnet." : ""
}oasis.updev.si/address/${useableAddress}`
: chainId === CHAIN_ID_SOLANA
? `https://explorer.solana.com/address/${useableAddress}${
CLUSTER === "testnet"

View File

@ -32,7 +32,7 @@ export interface ChainInfo {
name: string;
logo: string;
}
export const CHAINS =
export const CHAINS: ChainInfo[] =
CLUSTER === "mainnet"
? [
{
@ -136,8 +136,7 @@ export const CHAINS =
logo: terraIcon,
},
];
export const BETA_CHAINS: ChainId[] =
CLUSTER === "mainnet" ? [CHAIN_ID_OASIS] : [];
export const BETA_CHAINS: ChainId[] = CLUSTER === "mainnet" ? [] : [];
export const CHAINS_WITH_NFT_SUPPORT = CHAINS.filter(
({ id }) =>
id === CHAIN_ID_AVAX ||
@ -154,13 +153,7 @@ export const CHAINS_BY_ID: ChainsById = CHAINS.reduce((obj, chain) => {
return obj;
}, {} as ChainsById);
export const COMING_SOON_CHAINS = [
{
id: CHAIN_ID_OASIS,
name: "Oasis",
logo: oasisIcon,
},
];
export const COMING_SOON_CHAINS: ChainInfo[] = [];
export const getDefaultNativeCurrencySymbol = (chainId: ChainId) =>
chainId === CHAIN_ID_SOLANA
? "SOL"