Expand description
§jiminy-multisig
M-of-N signer threshold checks.
Verify that at least M out of N configured signers have signed the current transaction, with built-in duplicate-signer prevention. No heap allocation – the signer set is walked in-place.
Re-exports§
pub use pinocchio;
Functions§
- check_
all_ signers - Require ALL provided accounts to be signers (N-of-N).
- check_
any_ signer - Require exactly one of the provided accounts to be a signer (1-of-N).
- check_
threshold - Require at least
thresholdof the provided accounts to be signers. - count_
signers - Count how many accounts in the slice are transaction signers.