Repository navigation
zapper: heads-up that off-hours pricing on Ondo AI DTFs is worse (RES-2234) - #1102
Closed
devin-ai-integration[bot] wants to merge 2 commits into
Closed
devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Adds a pre-quote closed-heads-up variant to the large mint prompt so users see why AI DTF pricing is bad outside US market hours before they read a 90% price-impact quote as a broken product. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Deploying register-app with
|
| Latest commit: |
832ec4f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bb52ee1e.register-app.pages.dev |
| Branch Preview URL: | https://devin-1788279867-ondo-off-ho.register-app.pages.dev |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When the US market is closed, Ondo-backed AI DTFs can only be bought through secondary liquidity, so quotes come back with huge price impact (a user interview participant saw 90–93% on
BUILDOUTat every size and gave up). Today the only explanation arrives after a quote — this adds a pre-quote heads-up on the market-closed signal alone, so the expectation is set before the user types an amount.New lowest-priority variant in the existing prompt state machine:
Priority does the interesting work: the heads-up shows immediately, is replaced (and un-dismissed) by any real quote-derived warning, never downgrades back, and dismissal sticks while the same variant stays active. Market reopening clears stale closed-market state.
Presentation is deliberately not a warning — it's unprompted, and warning styling on an unprompted notice trains users past the real >8% impact warning. Neutral icon/eyebrow, headline, one sentence of cause-and-cost, then the timing facts as a labelled list instead of a paragraph:
Desktop renders it as the side card next to the zapper; mobile uses a bottom banner rather than the modal the quote-derived variants use, so the zapper stays usable before the user has entered anything.
Verification: RED-verified (disabling
rawClosedHeadsUpfails the new closed-market spec, open-market still passes), scope gate green (lint, typecheck, 905 unit, e2e helper units, smoke 60), plus a new stricte2e/tests/index-dtf/issuance/ondo-market-closed.spec.tscovering closed and open/dtf/ondostates on desktop and mobile.Copy is a first pass and the part most worth product/copy review; the split market-hours sentence leaves the
closed-impactretry line untranslated in es/ko/zh until a Crowdin pass.Link to Devin session: https://app.devin.ai/sessions/dd8180123ec44dfd86cc6b4e35c6cebd
Open in Devin Desktop: https://app.devin.ai/desktop/session/dd8180123ec44dfd86cc6b4e35c6cebd?variant=devin