From 24a14d10169319d5c8c2a467a5d45f9609e0dcfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Wed, 16 Aug 2023 22:45:09 +0200 Subject: [PATCH] adjust forceReportPeriod prop in oracle create --- components/modals/CreateSwitchboardOracleModal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/modals/CreateSwitchboardOracleModal.tsx b/components/modals/CreateSwitchboardOracleModal.tsx index f1fb57ff..d5fe0269 100644 --- a/components/modals/CreateSwitchboardOracleModal.tsx +++ b/components/modals/CreateSwitchboardOracleModal.tsx @@ -55,7 +55,7 @@ const CreateSwitchboardOracleModal = ({ const { t } = useTranslation(['governance']) const connection = mangoStore((s) => s.connection) const wallet = useWallet() - const quoteTokenName = 'USDC' + const quoteTokenName = 'USD' const pythUsdOracle = 'Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD' const tierToSwapValue: { [key: string]: string } = { PREMIUM: '10000', @@ -122,7 +122,7 @@ const CreateSwitchboardOracleModal = ({ minRequiredOracleResults: 3, minRequiredJobResults: 2, minUpdateDelaySeconds: 6, - forceReportPeriod: 3600, + forceReportPeriod: 24 * 60 * 60, withdrawAuthority: MANGO_DAO_WALLET, authority: payer, crankDataBuffer: crankAccount.dataBuffer?.publicKey, @@ -330,7 +330,7 @@ const CreateSwitchboardOracleModal = ({

- {t('create-switch-oracle')} {baseTokenName}/USDC + {t('create-switch-oracle')} {baseTokenName}/USD

{t('estimated-oracle-cost')} {tierSettings[tier].fundAmount} SOL