jb-cash-out-curve
Installation
SKILL.md
Juicebox V5 Cash Out Bonding Curve
Problem
When displaying cash out / redemption values in Juicebox V5 UIs, it's tempting to show a simple message like "Cashing out returns 90% of proportional treasury share" (for a 10% tax rate). This is incorrect and misleading to users.
The actual redemption amount depends on a bonding curve formula where the percentage of supply being cashed out affects the return.
Context / Trigger Conditions
- Building UI that shows cash out / redemption values
- Explaining to users what they'll receive when cashing out
- Any display of
cashOutTaxRateimpact on redemptions - When you see code like
retainedPercent = 100 - cashOutTax- this is WRONG