-
Notifications
You must be signed in to change notification settings - Fork 155
[CONTRACT] Add a mutual deadline extension entrypoint #574
Copy link
Copy link
Open
Labels
150 pointsMedium difficultyMedium difficultySorobanSoroban-specificSoroban-specificStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcontractSmart contract work (Soroban)Smart contract work (Soroban)enhancementNew feature or requestNew feature or requestescrowEscrow-related featuresEscrow-related featuresonchainapps/onchain scopeapps/onchain scope
Description
Activity
Metadata
Metadata
Assignees
Labels
150 pointsMedium difficultyMedium difficultySorobanSoroban-specificSoroban-specificStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcontractSmart contract work (Soroban)Smart contract work (Soroban)enhancementNew feature or requestNew feature or requestescrowEscrow-related featuresEscrow-related featuresonchainapps/onchain scopeapps/onchain scope
Complexity: Medium (150)
Description
deadlineis fixed atcreate_escrowand never changeable. When work legitimately runs late, the parties' only options today are to letrefund_expiredclaw everything back to the depositor or to cancel and recreate the escrow — both of which destroy the milestone history and force re-funding. Add an entrypoint that lets depositor and recipient jointly move the deadline forward.Acceptance Criteria
InvalidDeadlinevalidation as creationCompleted,Cancelled,Resolved,Expired) and while the contract is paused, consistent with the existing guard patternrefund_expired