Skip to content

[NF-06] Add on-chain Guardian Multisig N-of-M threshold signer contract - #132

Merged
wumibals merged 5 commits into
LadderMine:mainfrom
devwums:feat/nf-06-guardian-multisig-contract
Jul 21, 2026
Merged

[NF-06] Add on-chain Guardian Multisig N-of-M threshold signer contract#132
wumibals merged 5 commits into
LadderMine:mainfrom
devwums:feat/nf-06-guardian-multisig-contract

Conversation

@devwums

@devwums devwums commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Introduces the guardian_multisig Soroban contract that satisfies the Guardian role expected by the Governance contract.

Changes

  • contracts/guardian_multisig/src/lib.rs — N-of-M threshold multisig contract with:
    • initialize(owners, threshold) — registers up to 10 owners and a confirmation threshold
    • confirm_veto(governance_contract, proposal_id) — collects owner confirmations and auto-executes Governance::veto once the threshold is reached
    • confirmation_count, owners, hreshold — read-only view functions
    • Full unit test suite covering initialisation, single-owner 1-of-1 path, and threshold validation
  • contracts/guardian_multisig/Cargo.toml — crate manifest with soroban-sdk = "20"
  • Cargo.toml — registers contracts/guardian_multisig in the workspace members list

closes #81

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

@devwums is attempting to deploy a commit to the wumibals' projects Team on Vercel.

A member of the Team first needs to authorize it.

devwums added 2 commits July 21, 2026 12:58
- Pin dtolnay/rust-toolchain to 1.93.1 instead of floating stable;
  a newer stable release broke ethnum v1.5.0's build (transmute
  size mismatch), which soroban-env-common pins exactly.
- Remove call to non-existent Env::mock_auths() in confirm_veto
  that was blocking compilation.
- Add missing guardian_multisig entry to Cargo.lock.
…-multisig-contract

# Conflicts:
#	.github/workflows/ci.yml
@wumibals
wumibals merged commit 1d5ec13 into LadderMine:main Jul 21, 2026
3 of 4 checks passed
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.

[NF-06] [CONTRACT] On-Chain Guardian Multisig Contract

2 participants