Conversation
|
Warning Review limit reached
Next review available in: 52 seconds You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
WalkthroughChangesTokenized-asset vault mode status
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
86a7be6 to
3c2ef35
Compare
f37e1bb to
30cd0f5
Compare
3c2ef35 to
fb43bb8
Compare
30cd0f5 to
1eef657
Compare
fb43bb8 to
80fe52e
Compare
ff3025c to
d3cf7ed
Compare
80fe52e to
6bb6340
Compare
e1aefa8 to
8bd41e6
Compare
767c335 to
42110bd
Compare
8bd41e6 to
d8e12f2
Compare
42110bd to
67ccbbf
Compare
d8e12f2 to
9c8ddcd
Compare
67ccbbf to
0775962
Compare
9c8ddcd to
91975f3
Compare
0775962 to
146a480
Compare
91975f3 to
f02fff2
Compare
146a480 to
d27e83d
Compare
f02fff2 to
cd867fb
Compare
d27e83d to
698f920
Compare
cd867fb to
d80069e
Compare
698f920 to
a2714d6
Compare
a2714d6 to
6ce2ad4
Compare
d80069e to
47bccc7
Compare
47bccc7 to
ae6aa7c
Compare
Merge activity
|

Motivation
The liquidity bot needs to know which minting path each asset uses — either depositing directly into the vault (
VaultDirect) or routing through the ST0xOrchestrator (Orchestrator) — so it can determine which assets require a signedMintAuthV1to be delivered before their mints can be submitted. Previously, theGET /tokenized-assets/<underlying>/statusresponse had no way to communicate this, leaving the liquidity bot without a reliable signal.Solution
A new
VaultModeTagenum (vault_direct|orchestrator) is introduced in the DTO crate and added as avault_modefield onTokenizedAssetStatusResponse. The field is additive and defaults toVaultDirectwhen absent, so responses from servers that predate the field remain valid — a server that predates the field can only ever mint vault-direct, making the default truthful.The status endpoint now reads the per-asset vault mode from the server's
Configand maps it to the tag via aFrom<VaultMode> for VaultModeTagconversion. The orchestrator address is intentionally dropped in this mapping; the liquidity bot only needs the tag, and the issuance bot's config remains the single source of truth for addresses during the cutover.VaultModeTagis also registered in the OpenAPI schema and TypeScript bindings exports, with wire format enforced assnake_case(matchingTokenizedAssetStatus).Closes RAI-1619
Checks
By submitting this for review, I'm confirming I've done the following:
Summary by CodeRabbit
New Features
vault_directororchestrator.Bug Fixes