diff --git a/package.json b/package.json index f1cb865..a06f079 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghost-dao-interface", "private": true, - "version": "0.5.26", + "version": "0.5.27", "type": "module", "scripts": { "dev": "vite", diff --git a/src/containers/Governance/NewProposal.jsx b/src/containers/Governance/NewProposal.jsx index fdf79b2..da2680b 100644 --- a/src/containers/Governance/NewProposal.jsx +++ b/src/containers/Governance/NewProposal.jsx @@ -163,6 +163,14 @@ const NewProposal = ({ config, address, connect, chainId }) => { isVertical > + setIsModalOpened(true)} + > + Add New Function + { > {isPending ? "Submitting..." : "Submit Proposal"} - setIsModalOpened(true)} - > - Add New - diff --git a/src/containers/Governance/ProposalDetails.jsx b/src/containers/Governance/ProposalDetails.jsx index 9963b60..dfa9532 100644 --- a/src/containers/Governance/ProposalDetails.jsx +++ b/src/containers/Governance/ProposalDetails.jsx @@ -196,7 +196,7 @@ const ProposalDetails = ({ chainId, address, connect, config }) => { name={`GBP-${id.slice(-5)}`} subtitle={ - Proposal details, need more in-depth description + {`Cast $${ghstSymbol} to shape this proposal's outcome`} } /> diff --git a/src/containers/Governance/components/ProposalModal.jsx b/src/containers/Governance/components/ProposalModal.jsx index 9218b5b..8da25cd 100644 --- a/src/containers/Governance/components/ProposalModal.jsx +++ b/src/containers/Governance/components/ProposalModal.jsx @@ -103,7 +103,11 @@ const InitialStep = ({ selectedOption, handleChange, handleCalldata, handleProce return allPossibleFunctions.find(opt => opt.value === selected)?.label || selected; }} /> - {functionDescription} + + {selectedOption} + {" "} + {functionDescription} + {ready ? handleProceed()} fullWidth>Proceed : handleCalldata()} fullWidth>Create Function diff --git a/src/containers/Governance/components/functions/AuditReserves.jsx b/src/containers/Governance/components/functions/AuditReserves.jsx index f1de4a3..f7655f8 100644 --- a/src/containers/Governance/components/functions/AuditReserves.jsx +++ b/src/containers/Governance/components/functions/AuditReserves.jsx @@ -20,7 +20,7 @@ export const prepareAuditReservesCalldata = (chainId) => { return { label, target, calldata, value }; } -export const prepareAuditReservesDescription = "Audit Reserves function audits and updates the protocol's total reserve value. It sums the value of all approved reserve and liquidity tokens, then stores and logs the new total."; +export const prepareAuditReservesDescription = "function audits and updates the protocol's total reserve value. It sums the value of all approved reserve and liquidity tokens, then stores and logs the new total."; export const AuditReservesSteps = () => { return null; diff --git a/src/containers/Governance/components/functions/CreateBond.jsx b/src/containers/Governance/components/functions/CreateBond.jsx index ad1e363..04f3717 100644 --- a/src/containers/Governance/components/functions/CreateBond.jsx +++ b/src/containers/Governance/components/functions/CreateBond.jsx @@ -29,7 +29,7 @@ export const prepareCreateBondCalldata = (chainId, markets, terms, quoteToken, i return { label, target, calldata, value }; } -export const prepareCreateBondDescription = "Create Bond function creates a new bond market by processing pricing, capacity, and term inputs. It initializes and stores the new bond market's complete configuration in the protocol."; +export const prepareCreateBondDescription = "function creates a new bond market by processing pricing, capacity, and term inputs. It initializes and stores the new bond market's complete configuration in the protocol."; export const CreateBondParsed = (props) => { const [isOpened, setIsOpened] = useState(false); @@ -129,7 +129,7 @@ export const CreateBondSteps = ({ nativeCurrency, ftsoSymbol, chainId, toInitial createMode={createMode} possibleTokens={possibleTokens} setTokenAddress={createMode ? setTokenAddress : empty} - nativeCurrency={nativeCurrency} + nativeCurrency={reserveSymbol} ftsoSymbol={ftsoSymbol} capacityInQuote={capacityInQuote} setCapacityInQuote={createMode ? setCapacityInQuote : empty} diff --git a/src/containers/Governance/components/functions/SetAdjustment.jsx b/src/containers/Governance/components/functions/SetAdjustment.jsx index fd488d5..4a02f87 100644 --- a/src/containers/Governance/components/functions/SetAdjustment.jsx +++ b/src/containers/Governance/components/functions/SetAdjustment.jsx @@ -24,7 +24,7 @@ export const prepareSetAdjustmentCalldata = (chainId, rateChange, targetRate, in return { label, target, calldata, value }; } -export const prepareSetAdjustmentDescription = "Set Adjustment function schedules a gradual change to the staking APY. It increases or decreases the staking APY by a specified rate per epoch until a target rate reached."; +export const prepareSetAdjustmentDescription = "function schedules a gradual change to the staking APY. It increases or decreases the staking APY by a specified rate per epoch until a target rate reached."; export const SetAdjustmentParsed = (props) => { const [isOpened, setIsOpened] = useState(false); diff --git a/src/containers/Stake/components/Metric.jsx b/src/containers/Stake/components/Metric.jsx index b30cc62..ec09d93 100644 --- a/src/containers/Stake/components/Metric.jsx +++ b/src/containers/Stake/components/Metric.jsx @@ -52,7 +52,7 @@ export const TotalDeposit = props => { const _props = { ...props, label: "Total Deposit", - tooltip: `The total native coin reserves in the ghostDAO treasury backing the entire circulating supply of ${props.stnkSymbol}.`, + tooltip: `Total reserves of native coins, LP tokens, and other assets in the ghostDAO treasury backing the entire circulating supply of ${props.stnkSymbol}.`, }; if (deposit) _props.metric = `${formatCurrency(deposit, 2)}`; diff --git a/src/containers/TreasuryDashboard/components/Metric.jsx b/src/containers/TreasuryDashboard/components/Metric.jsx index 20252c2..0f4ada0 100644 --- a/src/containers/TreasuryDashboard/components/Metric.jsx +++ b/src/containers/TreasuryDashboard/components/Metric.jsx @@ -84,7 +84,7 @@ export const FatsoBacking = props => { const _props = { ...props, label: `Backing per ${props.ftsoSymbol}`, - tooltip: `The total amount of native coins held by the ghostDAO treasury to support the value of each ${props.ftsoSymbol} in circulation.` + tooltip: `The total amount of native coins, LP tokens, and other assets held by the ghostDAO treasury to support the value of each ${props.ftsoSymbol} in circulation.` }; if (backing) _props.metric = formatCurrency(backing, 2);