Skip to content

Add N-of-M cosigner approval flow for invoice release - #551

Open
adeshi105 wants to merge 1 commit into
Stellar-split:mainfrom
adeshi105:feat/cosigner-approval-flow
Open

Add N-of-M cosigner approval flow for invoice release#551
adeshi105 wants to merge 1 commit into
Stellar-split:mainfrom
adeshi105:feat/cosigner-approval-flow

Conversation

@adeshi105

Copy link
Copy Markdown

Adds InvoiceOptions.cosigners / cosigner_threshold, an approve_release entry point, and CosignerApproved / CosignerThresholdReached events. Gates release_invoice, trigger_scheduled_release, and every auto-release-on-full-funding path behind the configured quorum, independent of the pre-existing co_signers / sign_release mechanism.

Note: contracts/split/src/lib.rs and events.rs have pre-existing syntax errors on main unrelated to this change (duplicated/interleaved function bodies from prior merges), and this sandbox has no working Rust linker, so none of this has been compiled or test-run locally.
closes #346

Adds InvoiceOptions.cosigners / cosigner_threshold, an approve_release
entry point, and CosignerApproved / CosignerThresholdReached events.
Gates release_invoice, trigger_scheduled_release, and every
auto-release-on-full-funding path behind the configured quorum,
independent of the pre-existing co_signers / sign_release mechanism.

Note: contracts/split/src/lib.rs and events.rs have pre-existing
syntax errors on main unrelated to this change (duplicated/interleaved
function bodies from prior merges), and this sandbox has no working
Rust linker, so none of this has been compiled or test-run locally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

Implement N-of-M co-signer approval gate before invoice release

2 participants