diff --git a/components/day-simulator/DayDeploymentInputs.tsx b/components/day-simulator/DayDeploymentInputs.tsx index b768129..bebae29 100644 --- a/components/day-simulator/DayDeploymentInputs.tsx +++ b/components/day-simulator/DayDeploymentInputs.tsx @@ -253,7 +253,7 @@ export default function DayDeploymentInputs({ { inputId: "restockHurdle", label: "Restock hurdle", unit: "bps", value: "", state: entered("restockHurdle") }, { inputId: "maximumDiscount", label: "Maximum discount", unit: "bps", value: "", state: entered("maximumDiscount") }, { inputId: "maximumPremium", label: "Maximum premium", unit: "bps", value: "", state: entered("maximumPremium") }, - { inputId: "depthAtNav", label: "Depth at NAV", value: "", state: entered("depthAtNav") }, + { inputId: "depthAtNav", label: "Depth at NAV", unit: "bps", value: "", state: entered("depthAtNav") }, { inputId: "reinvestmentSlippageTolerance", label: "Reinvestment slippage tolerance", unit: "bps", value: "", state: entered("reinvestmentSlippageTolerance") }, ]} onInputChange={onDeploymentInputChange} diff --git a/components/day-v3/DayV3Deployment.tsx b/components/day-v3/DayV3Deployment.tsx index 2eac644..44fbe1d 100644 --- a/components/day-v3/DayV3Deployment.tsx +++ b/components/day-v3/DayV3Deployment.tsx @@ -30,6 +30,10 @@ import type { } from "@/lib/day-v3/pool-design"; import type { DayV3ExpiryPolicy, DayV3Goals } from "@/lib/day-v3/types"; import type { DayV3YieldCurveDesign } from "@/lib/day-v3/yield-curves"; +import { + dayV3DepthAtNavBps, + dayV3MaximumDiscountBps, +} from "@/lib/day-v3/exit-units"; import { cn } from "@/lib/utils"; const DEPLOY_URL = "https://www.royco.org/deploy-market"; @@ -75,8 +79,8 @@ function Row({ label, value }: { label: string; value: string }) { const shown = (value: number | null, suffix = "") => value === null ? "Unresolved" : `${value.toFixed(2)}${suffix}`; -const shownDollars = (value: number | null, suffix = "") => - value === null ? "Unresolved" : `$${value.toFixed(2)}${suffix}`; +const shownBps = (value: number | null) => + value === null ? "Unresolved" : `${value.toFixed(0)} bps`; function DayV3Deployment({ exit, @@ -169,16 +173,16 @@ function DayV3Deployment({ missing: "Enter how often Senior’s value is published.", }, { - label: "Immediate exit amount", + label: "Depth at NAV", ready: goals.immediateExitSharePct !== null, scope: "v3-handoff" as const, - missing: "Choose how much of every $100 Senior can sell at once.", + missing: "Choose the Senior depth available at NAV in basis points.", }, { - label: "Minimum exit payout", + label: "Maximum discount", ready: goals.minimumProceedsPer100 !== null, scope: "v3-handoff" as const, - missing: "Choose the lowest acceptable payout per $100 sold.", + missing: "Choose the maximum discount to NAV in basis points.", }, { label: "Deployment target", @@ -281,8 +285,8 @@ function DayV3Deployment({ "External spread assumption", "Fixed-Term Grace Period", "NAV refresh cadence", - "Immediate exit amount", - "Minimum exit payout", + "Depth at NAV", + "Maximum discount", "Deployment target", "Protected Exit trigger", "Protected Exit bonus", @@ -333,8 +337,8 @@ function DayV3Deployment({ return "#day-v3-protection-inputs"; if ( [ - "Immediate exit amount", - "Minimum exit payout", + "Depth at NAV", + "Maximum discount", "Canonical pool design", "Minimum Liquidity", ].includes(label) @@ -637,12 +641,20 @@ function DayV3Deployment({ value={shown(goals.recoveryDays, " days")} /> @@ -662,9 +674,16 @@ function DayV3Deployment({ /> + - - reducing exit size + reducing depth at NAV