bridge_ui: remove oasis from beta
This commit is contained in:
parent
cb7e90a701
commit
26b848d375
|
@ -151,7 +151,8 @@ function Home() {
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="h6" className={classes.description}>
|
<Typography variant="h6" className={classes.description}>
|
||||||
The Wormhole Token Bridge allows you to seamlessly transfer
|
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>
|
</Typography>
|
||||||
<div className={classes.spacer} />
|
<div className={classes.spacer} />
|
||||||
<Typography variant="subtitle1" className={classes.description}>
|
<Typography variant="subtitle1" className={classes.description}>
|
||||||
|
|
|
@ -58,7 +58,9 @@ export default function ShowTx({
|
||||||
tx?.id
|
tx?.id
|
||||||
}`
|
}`
|
||||||
: chainId === CHAIN_ID_OASIS
|
: chainId === CHAIN_ID_OASIS
|
||||||
? undefined
|
? `https://explorer.${
|
||||||
|
CLUSTER === "testnet" ? "testnet." : ""
|
||||||
|
}oasis.updev.si/tx/${tx?.id}`
|
||||||
: chainId === CHAIN_ID_SOLANA
|
: chainId === CHAIN_ID_SOLANA
|
||||||
? `https://explorer.solana.com/tx/${tx?.id}${
|
? `https://explorer.solana.com/tx/${tx?.id}${
|
||||||
CLUSTER === "testnet"
|
CLUSTER === "testnet"
|
||||||
|
|
|
@ -117,7 +117,9 @@ export default function SmartAddress({
|
||||||
CLUSTER === "testnet" ? "testnet." : ""
|
CLUSTER === "testnet" ? "testnet." : ""
|
||||||
}snowtrace.io/address/${useableAddress}`
|
}snowtrace.io/address/${useableAddress}`
|
||||||
: chainId === CHAIN_ID_OASIS
|
: chainId === CHAIN_ID_OASIS
|
||||||
? null
|
? `https://explorer.${
|
||||||
|
CLUSTER === "testnet" ? "testnet." : ""
|
||||||
|
}oasis.updev.si/address/${useableAddress}`
|
||||||
: chainId === CHAIN_ID_SOLANA
|
: chainId === CHAIN_ID_SOLANA
|
||||||
? `https://explorer.solana.com/address/${useableAddress}${
|
? `https://explorer.solana.com/address/${useableAddress}${
|
||||||
CLUSTER === "testnet"
|
CLUSTER === "testnet"
|
||||||
|
|
|
@ -32,7 +32,7 @@ export interface ChainInfo {
|
||||||
name: string;
|
name: string;
|
||||||
logo: string;
|
logo: string;
|
||||||
}
|
}
|
||||||
export const CHAINS =
|
export const CHAINS: ChainInfo[] =
|
||||||
CLUSTER === "mainnet"
|
CLUSTER === "mainnet"
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
|
@ -136,8 +136,7 @@ export const CHAINS =
|
||||||
logo: terraIcon,
|
logo: terraIcon,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
export const BETA_CHAINS: ChainId[] =
|
export const BETA_CHAINS: ChainId[] = CLUSTER === "mainnet" ? [] : [];
|
||||||
CLUSTER === "mainnet" ? [CHAIN_ID_OASIS] : [];
|
|
||||||
export const CHAINS_WITH_NFT_SUPPORT = CHAINS.filter(
|
export const CHAINS_WITH_NFT_SUPPORT = CHAINS.filter(
|
||||||
({ id }) =>
|
({ id }) =>
|
||||||
id === CHAIN_ID_AVAX ||
|
id === CHAIN_ID_AVAX ||
|
||||||
|
@ -154,13 +153,7 @@ export const CHAINS_BY_ID: ChainsById = CHAINS.reduce((obj, chain) => {
|
||||||
return obj;
|
return obj;
|
||||||
}, {} as ChainsById);
|
}, {} as ChainsById);
|
||||||
|
|
||||||
export const COMING_SOON_CHAINS = [
|
export const COMING_SOON_CHAINS: ChainInfo[] = [];
|
||||||
{
|
|
||||||
id: CHAIN_ID_OASIS,
|
|
||||||
name: "Oasis",
|
|
||||||
logo: oasisIcon,
|
|
||||||
},
|
|
||||||
];
|
|
||||||
export const getDefaultNativeCurrencySymbol = (chainId: ChainId) =>
|
export const getDefaultNativeCurrencySymbol = (chainId: ChainId) =>
|
||||||
chainId === CHAIN_ID_SOLANA
|
chainId === CHAIN_ID_SOLANA
|
||||||
? "SOL"
|
? "SOL"
|
||||||
|
|
Loading…
Reference in New Issue