feat(presale): update conversion rate to 1 wUSDT = 20 PEZ

- Update calculatePezReceived() to use 20x multiplier
- Update UI displays in Pre-Sale Terms section
- Update "not started" page conversion rate display
- Keep all other presale functionality intact

Aligns frontend with pallet configuration (ConversionRate = 20).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-20 09:47:28 +03:00
parent 3b377ea857
commit fd12aaf306
+3 -3
View File
@@ -150,7 +150,7 @@ export default function Presale() {
const calculatePezReceived = (wusdtAmount: string): number => {
const amount = parseFloat(wusdtAmount);
return isNaN(amount) ? 0 : amount * 100; // 1 wUSDT = 100 PEZ
return isNaN(amount) ? 0 : amount * 20; // 1 wUSDT = 20 PEZ
};
const progressPercentage = () => {
@@ -182,7 +182,7 @@ export default function Presale() {
</div>
<div className="flex justify-between">
<span className="text-muted-foreground">Conversion Rate:</span>
<span className="font-medium">1 wUSDT = 100 PEZ</span>
<span className="font-medium">1 wUSDT = 20 PEZ</span>
</div>
<div className="flex justify-between">
<span className="text-muted-foreground">Accepted Token:</span>
@@ -318,7 +318,7 @@ export default function Presale() {
<div className="space-y-2 text-sm">
<div className="flex justify-between">
<span className="text-muted-foreground">Conversion Rate:</span>
<span className="font-medium">1 wUSDT = 100 PEZ</span>
<span className="font-medium">1 wUSDT = 20 PEZ</span>
</div>
<div className="flex justify-between">
<span className="text-muted-foreground">Distribution:</span>