- {t('There is no oracle for this market.')}
-
- );
- }
const { provider } = maliciousOracle;
return (
diff --git a/libs/markets/src/lib/components/oracle-banner/oracle-statuses.ts b/libs/markets/src/lib/components/oracle-banner/oracle-statuses.ts
new file mode 100644
index 000000000..0c5acd37a
--- /dev/null
+++ b/libs/markets/src/lib/components/oracle-banner/oracle-statuses.ts
@@ -0,0 +1,16 @@
+import { t } from '@vegaprotocol/i18n';
+
+export const oracleStatuses = {
+ UNKNOWN: t(
+ "This public key's proofs have not been verified yet, or no proofs have been provided yet."
+ ),
+ GOOD: t("This public key's proofs have been verified."),
+ SUSPICIOUS: t(
+ 'This public key is suspected to be acting in bad faith, pending investigation.'
+ ),
+ MALICIOUS: t('This public key has been observed acting in bad faith.'),
+ RETIRED: t('This public key is no longer in use.'),
+ COMPROMISED: t(
+ 'This public key is no longer in the control of its original owners.'
+ ),
+};
diff --git a/libs/markets/src/lib/components/oracle-dialog/index.tsx b/libs/markets/src/lib/components/oracle-dialog/index.tsx
new file mode 100644
index 000000000..e1c0d5707
--- /dev/null
+++ b/libs/markets/src/lib/components/oracle-dialog/index.tsx
@@ -0,0 +1 @@
+export * from './oracle-dialog';
diff --git a/libs/markets/src/lib/components/oracle-dialog/oracle-dialog.tsx b/libs/markets/src/lib/components/oracle-dialog/oracle-dialog.tsx
new file mode 100644
index 000000000..4e79d743e
--- /dev/null
+++ b/libs/markets/src/lib/components/oracle-dialog/oracle-dialog.tsx
@@ -0,0 +1,35 @@
+import { Dialog } from '@vegaprotocol/ui-toolkit';
+import {
+ OracleProfileTitle,
+ OracleFullProfile,
+} from '../../components/oracle-full-profile';
+import { useOracleMarkets } from '../../hooks';
+import type { Provider } from '../../oracle-schema';
+
+export const OracleDialog = ({
+ provider,
+ dataSourceSpecId,
+ open,
+ onChange,
+}: {
+ dataSourceSpecId: string;
+ provider: Provider;
+ open: boolean;
+ onChange?: (isOpen: boolean) => void;
+}) => {
+ const oracleMarkets = useOracleMarkets(provider);
+ return (
+