feat: add bridge-in command to JuiceAdapter for USDT.e → JUSD#3354
Merged
TaprootFreak merged 3 commits intodevelopfrom Mar 5, 2026
Merged
feat: add bridge-in command to JuiceAdapter for USDT.e → JUSD#3354TaprootFreak merged 3 commits intodevelopfrom
TaprootFreak merged 3 commits intodevelopfrom
Conversation
Wire up the JuiceDollar Bridge in the liquidity management adapter to support converting USDT.e to JUSD on Citrea, completing the USDT → JUSD pipeline (step 3: Citrea/USDT.e → Citrea/JUSD).
ℹ️ New TODOs/FIXMEs (1)+ // TODO: Implement bridge out (JUSD → USD stablecoins) |
Create action chain for rule 321 (JUSD/Citrea): - Juice bridge-in (USDT.e) with LiquidityPipeline buy fallback - Activate rule with deficit thresholds (min=0, optimal=1000)
davidleomay
approved these changes
Mar 5, 2026
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
bridge-in(andbridge-outstub) commands toJuiceAdapter, following theDEuroAdapterpatternJuiceService.bridgeToJusd()in the liquidity management adapter to convert USDT.e → JUSD on Citrea.esuffixed asset names inJuiceClient.getBridgeContract()(mapsUSDT.e→ USDT bridge contract)Test plan
npm run build)npm run lint)bridge-incommand with{ asset: "USDT.e" }param triggersbridgeToJusd()correctlybridge-outcommand throwsOrderNotProcessableExceptioncheckCompletion()delegates toisTxComplete()for bridge commands and falls through to base class for mint