import { VaultNameOptionMap , VaultOptions , VaultVersion , } from "shared/lib/constants/constants" ; export const getVaultURI = ( vaultOption , vaultVersion = "v1" ) : string => { return `/treasury/${ Object . keys ( VaultNameOptionMap ) [ Object . values ( VaultNameOptionMap ) . indexOf ( vaultOption ) ] }` ; } ; interface Announcement { color : string ; message : string ; linkText : string ; linkURI : string ; } export const ANNOUNCEMENT = { color : "#E84142" , message : "AVAX vaults have launched." , linkText : "Switch to Avalanche" , linkURI : "/" , } ;