Skip to content

[FEAT] Soroban: Implement cancel_stream Logic #199

@ogazboiz

Description

@ogazboiz

Description

Allow senders to proactively close a stream and recover unused funds.

Tasks

  • Verify the caller matches the stream sender.
  • Calculate and payout the final claimable amount to the recipient.
  • Refund all remaining deposited_amount back to the sender.
  • Mark the stream as is_active = false.

Context

Essential for user trust and flexibility in managing their payment commitments.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcontractsSmart contract related tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions