Skip to content

feat(sdk-core): surface pendingApproval ids in defi vault results - #10227

Draft
mullapudipruthvik wants to merge 1 commit into
pruthvikpruthvik/DEFI-1357-defi-earn-bitgojsfrom
pruthvikpruthvik/DEFI-1358-defi-earn-bitgojs
Draft

mullapudipruthvik wants to merge 1 commit into
pruthvikpruthvik/DEFI-1357-defi-earn-bitgojsfrom
pruthvikpruthvik/DEFI-1358-defi-earn-bitgojs

Conversation

@mullapudipruthvik

Copy link
Copy Markdown
Contributor

Summary

depositToVault and withdrawFromVault now return the per-leg pendingApprovalId(s) when a wallet policy gates a leg, so clients can route users to approvals and later resume signing — a resumed deposit that issues a new gated leg is indistinguishable from a fresh one. Fields are only set when an id exists, so un-gated results keep their exact previous shape. Optional fields, backward compatible.

Verification

Unit suite green incl. per-leg gating (only-one-leg-gated pins the per-leg contract). Live E2E on test env: gated deposit/withdraw results carried the PA ids used to drive the recovery flows (DEFI-1362).

Stack

Stacked on #10226; rebase up the stack as lower PRs land.

Ticket: DEFI-1358

@linear-code

linear-code Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

DEFI-1358

depositToVault and withdrawFromVault now return the per-leg
pendingApproval id when a wallet policy gates a leg, so clients can
route users to approvals and later resume signing — a resumed deposit
that issues a new gated leg is indistinguishable from a fresh one.
Fields are only set when an id exists, so un-gated results keep their
exact previous shape. Optional fields, backward compatible.

Ticket: DEFI-1358
@mullapudipruthvik
mullapudipruthvik force-pushed the pruthvikpruthvik/DEFI-1358-defi-earn-bitgojs branch from f23b90f to c9fef92 Compare November 25, 2026 17:02
@mullapudipruthvik
mullapudipruthvik force-pushed the pruthvikpruthvik/DEFI-1357-defi-earn-bitgojs branch from 2bf5f71 to 7b70697 Compare November 25, 2026 17:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant