Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lib/contracts/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ export const HUNT = "0x37f0c2915CeCC7e977183B8543Fc0864d03E064C" as const;
/** ETH represented as address(0) in the Zap contract */
export const ETH_ADDRESS = "0x0000000000000000000000000000000000000000" as const;

/** Supported input tokens for the Zap UI selector */
/** Supported input tokens for the Zap UI selector.
* USDC disabled: ZapPlotLinkV2's multi-hop SWAP_EXACT_IN encoding reverts
* inside Universal Router's unlockCallback. The USDC/ETH V4 pool exists,
* but the contract's _executeV4MultiHopSwapExactIn ABI encoding doesn't
* match the deployed Router's expected format. Re-enable after contract
* fix + redeployment (see #464 for full investigation). */
export const SUPPORTED_ZAP_TOKENS = [
{ symbol: "ETH", address: ETH_ADDRESS as `0x${string}`, decimals: 18 },
{ symbol: "USDC", address: USDC as `0x${string}`, decimals: 6 },
{ symbol: "HUNT", address: HUNT as `0x${string}`, decimals: 18 },
] as const;

Expand Down
2 changes: 1 addition & 1 deletion src/app/token/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function TokenPage() {
<div className="flex items-start gap-3">
<span className="text-accent text-sm">&#8226;</span>
<p className="text-muted text-sm">
<span className="text-foreground font-semibold">Use the Zap</span> — buy story tokens with ETH, USDC, or HUNT and the zap contract handles PLOT conversion automatically.
<span className="text-foreground font-semibold">Use the Zap</span> — buy story tokens with ETH or HUNT and the zap contract handles PLOT conversion automatically.
</p>
</div>
</div>
Expand Down
Loading