Commit 06dc11c
fix(hood): $LOOP's page offered a Buy button that could only revert
Production had NEXT_PUBLIC_HOOD_LAUNCHER_ADDRESS set, so HoodSwapCard rendered
its full "Amount in ETH" buy/sell form — quoting OUR HoodLauncher bonding curve
for a token that launched on Pons. The curve read returns nothing for a token
it doesn't hold, so the form quoted garbage and any trade would have reverted.
That env var says the launcher contract exists; it never said this token is on
it. The previous commit's honest-Pons state was unreachable behind it.
The launcher path now also requires the token NOT be a Pons launch, so Pons
tokens fall through to the live-on-Hood state that points at paths that work.
Verified locally with the launcher env set (reproducing production): the buy
form is gone and the Pons state renders.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 400a794 commit 06dc11c
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments