From eb92897ac6270900e42c1549d47cdd182e11cba9 Mon Sep 17 00:00:00 2001 From: John Shutt Date: Wed, 30 Aug 2023 20:57:14 +0100 Subject: [PATCH] Update OptimisticGovernorModuleModal.tsx This update recommends our standard bond of 2 WETH and challenge window of at least 1 day. --- .../OptimisticGovernorModuleModal.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/app/src/views/AddModule/wizards/OptimisticGovernorModule/OptimisticGovernorModuleModal.tsx b/packages/app/src/views/AddModule/wizards/OptimisticGovernorModule/OptimisticGovernorModuleModal.tsx index 6f53a8c7..dc4c2d3d 100644 --- a/packages/app/src/views/AddModule/wizards/OptimisticGovernorModule/OptimisticGovernorModuleModal.tsx +++ b/packages/app/src/views/AddModule/wizards/OptimisticGovernorModule/OptimisticGovernorModuleModal.tsx @@ -64,12 +64,12 @@ export const OptimisticGovernorModuleModal = ({ const [delayModule, setDelayModule] = useState( delayModules.length === 1 ? delayModules[0].address : "", ) - const [isWeth, setIsWeth] = useState(false) + const [isWeth, setIsWeth] = useState(true) const [params, setParams] = useState({ finder: getFinder(safe.chainId), owner: safe.safeAddress, collateral: getCollateral(safe.chainId, isWeth), - bond: "1500", + bond: "2", rules: "", identifier: "0x4153534552545f54525554480000000000000000000000000000000000000000", liveness: "86400", @@ -174,8 +174,8 @@ export const OptimisticGovernorModuleModal = ({ {Number(params.bond) < 1500 && !isWeth ? "Warning: A minimum bond of 1,500 is recommended for USDC" - : Number(params.bond) < 1 && isWeth - ? "Warning: A minimum bond of 1 is recommended for WETH" + : Number(params.bond) < 2 && isWeth + ? "Warning: A bond of 2 is recommended for WETH" : null} @@ -187,8 +187,8 @@ export const OptimisticGovernorModuleModal = ({ onChange={(value) => onParamChange("liveness", value)} /> - {Number(params.liveness) < 21600 - ? "Warning: The minimum recommended liveness period is 6 hours." + {Number(params.liveness) < 86400 + ? "Warning: The minimum recommended liveness period is 24 hours." : null}